public class FToggleButton extends FBooleanInputComponent implements java.beans.PropertyChangeListener
myActionsXMLConfigureInfoinhibitFocusChange, SCROLLING_MODE_ANY, SCROLLING_MODE_HORIZONTAL_ONLY, SCROLLING_MODE_VERTICAL_ONLY, TEXTURE_CENTERED, TEXTURE_REPEATTOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTALL_ACTIONS, AVAILABLE_ACTION_KIND, CONTEXTMENU_ACTION_KIND, LOCAL_ACTION_KIND, MENU_ACTION_KIND, NO_LOCAL_ACTION_KIND, NO_TOPMDI_ONLY_ACTION_KIND, NOT_AVAILABLE_ACTION_KIND, REFRESH_FROM_TRANSACTION, REFRESH_FROM_USER, SHORTCUT_ACTION_KIND, TOOLBAR_ACTION_KIND, TOPMDI_ONLY_ACTION_KIND| Constructor and Description |
|---|
FToggleButton(FormContextI ftx,
electric.xml.Element confroot) |
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JToggleButton |
createGUIElement(java.lang.Class<? extends javax.swing.JToggleButton> clazz) |
FormAction |
getAction() |
java.lang.String |
getActionName() |
java.util.HashMap |
getAttributeMap()
Returns the map of attributes supported by this component.
|
java.awt.Color |
getBackground() |
java.util.HashMap |
getElementMap()
Returns the map of elements supported by this component.
|
java.lang.String |
getFalseIcon() |
java.lang.String |
getFalseText() |
java.lang.String |
getFontSize() |
java.lang.String |
getFontStyle() |
java.awt.Color |
getForeground() |
int |
getHAlign() |
java.awt.Dimension |
getMaxSize() |
java.awt.Dimension |
getMinSize() |
int |
getMultiClickThreshold() |
java.awt.Dimension |
getPrefSize() |
java.awt.Color |
getSelectedColor() |
java.lang.String |
getTrueIcon() |
int |
getVAlign() |
void |
handleActionA(electric.xml.Attribute a) |
void |
handleBackgroundA(electric.xml.Attribute a) |
void |
handleFontSizeA(electric.xml.Attribute a) |
void |
handleFontStyleA(electric.xml.Attribute a) |
void |
handleForegroundA(electric.xml.Attribute a) |
void |
handleHAlignA(electric.xml.Attribute a) |
void |
handleSelectedColorA(electric.xml.Attribute a) |
void |
handleTrueTextA(electric.xml.Attribute a) |
void |
handleVAlignA(electric.xml.Attribute a) |
void |
propertyChange(java.beans.PropertyChangeEvent e) |
void |
refresh(int from) |
void |
setAction(FormAction $15) |
void |
setActionName(java.lang.String $14) |
void |
setBackground(java.awt.Color $8) |
void |
setFalseIcon(java.lang.String $4) |
void |
setFalseText(java.lang.String $2) |
void |
setFontSize(java.lang.String $12) |
void |
setFontStyle(java.lang.String $11) |
void |
setForeground(java.awt.Color $9) |
void |
setHAlign(int $16) |
void |
setMaxSize(java.awt.Dimension $7) |
void |
setMinSize(java.awt.Dimension $5) |
void |
setMultiClickThreshold(int $13) |
void |
setPrefSize(java.awt.Dimension $6) |
void |
setSelectedColor(java.awt.Color $10) |
void |
setSelectStateDependentDataOnRefresh(BO bo) |
void |
setTrueIcon(java.lang.String $3) |
void |
setVAlign(int $17) |
void |
syncImpl() |
actionPerformed, buildGUI, close, disable, enable, getBaseline, getDisplayProperty, getInitialFocus, getJComponent, getText, handleClassA, handlePropertyA, setDisplayProperty, setEditable, setEnabled, setEnabled, setTextcalculateMandatory, getAlsoMandatoryIf, getDefaultActionMap, handleAlsoMandatoryIfE_refreshActions, action_editForm_available, action_editForm_enabled, action_editForm, action_refreshView_available, action_refreshView, action_reopenView_available, action_reopenView_enabled, action_reopenView, addBeanA, addFormElementListener, addHandleA, addHandleE, afterSave, afterSetValue, assureTransferHandler, beforeSave, beforeSetValue, calculationMightBeExpensive, callLog, cancelPendingRefreshRequests, checkEditable, checkVisible, evalScript, evalScript, evalScript, evalScript, evalScript, fhide, focusNextComponent, focusPreviousComponent, fshow, getActions, getActionsOfKind, getActionsOfKind, getBO, getConfRoot, getCtx, getDebugName, getFormActions, getFtx, getInstrumentedSchema, getLastRefreshRequest, getMaximumSize, getMinimumSize, getMissingPropertiesPolicy, getPreferredSize, getRefreshRequestsPending, getSchema, handleActionE, handleAttributes, handleDropAllowedIfE, handleEditableA, handleEditableIfE, handleElement, handleElements, handleElements, handleElements, handleImpliedA, handleMaximumSizeA, handleMaxSizeA, handleMinimumSizeA, handleMinSizeA, handleMissingPropertiesPolicyA, handleNameA, handleNewElement, handleNewElement, handleNewElement, handleOnAfterSaveE, handleOnAfterSetValueE, handleOnBeforeSaveE, handleOnBeforeSetValueE, handleOnConstructionE, handleOnDropE, handleOnFocusGainedE, handleOnFocusLostE, handleOnMDIActivateE, handleOnMDICloseE, handleOnMDIDeactivateE, handleOnMDIOpenE, handleOnRefreshE, handleOnSyncE, handlePreferredSizeA, handlePrefSizeA, handleScriptE, handleVirtualPropertyE, handleVisibleIfE, hasPreferredSizeOverride, invokeAction, invokeAction, isClosed, isDebug, isDefinedEditable, isEditable, isExplicitEditable, isGUIBuilt, isImpliedElement, isInputPossible, isShown, mdiActivate, mdiClose, mdiDeactivate, mdiOpen, postConstructor, postInit, postRefresh, postRefresh, postRefresh, processFocusVeto, processFocusVeto, queueDelayedRefresh, queueDelayedRefresh, reallyHandleVirtualPropertyE, refresh, refreshActions, refreshActions, registerActionImpl, registerFormAction, removeFormElementListener, requestFocus, requestFocusInWindow, requestFocusInWindow, runAndDeclare, runAndDeclare, setConfRoot, setDebug, setFtx, setGUIBuilt, setMissingPropertiesPolicy, setShown, shouldShow, sync, waitForAsyncRefreshes, willCareForChildActions, willCareForChildRefreshgetPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getScrollingMode, grabFocus, init, init, init, paintComponent, setScrollingMode, setTexturegetAccessibleContext, getUI, getUIClassID, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validateaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddFormElementListener, afterSave, afterSetValue, beforeSave, beforeSetValue, getActions, getActionsOfKind, getConfRoot, getCtx, getDebugName, getFtx, getName, getSchema, handleAttributes, handleElement, handleElements, handleNewElement, isClosed, isDebug, isEditable, isGUIBuilt, isInputPossible, isShown, mdiActivate, mdiClose, mdiDeactivate, mdiOpen, postInit, postRefresh, refresh, removeFormElementListener, requestFocus, sync, toDebugName, willCareForChildActions, willCareForChildRefreshpublic FToggleButton(FormContextI ftx, electric.xml.Element confroot)
public javax.swing.JToggleButton createGUIElement(java.lang.Class<? extends javax.swing.JToggleButton> clazz)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
createGUIElement in class FBooleanInputComponentjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionpublic void refresh(int from)
refresh in interface FormElementIrefresh in class FBooleanInputComponentpublic void setSelectStateDependentDataOnRefresh(BO bo)
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenerpublic void handleTrueTextA(electric.xml.Attribute a)
public void handleBackgroundA(electric.xml.Attribute a)
public void handleForegroundA(electric.xml.Attribute a)
public void handleSelectedColorA(electric.xml.Attribute a)
public void handleFontStyleA(electric.xml.Attribute a)
public void handleFontSizeA(electric.xml.Attribute a)
public void handleHAlignA(electric.xml.Attribute a)
public void handleVAlignA(electric.xml.Attribute a)
public void handleActionA(electric.xml.Attribute a)
public java.util.HashMap getAttributeMap()
FInputPanelgetAttributeMap in interface FormElementIgetAttributeMap in class FBooleanInputComponentpublic java.util.HashMap getElementMap()
FInputPanelgetElementMap in interface FormElementIgetElementMap in class FBooleanInputComponentpublic java.lang.String getFalseText()
public void setFalseText(java.lang.String $2)
public java.lang.String getTrueIcon()
public void setTrueIcon(java.lang.String $3)
public java.lang.String getFalseIcon()
public void setFalseIcon(java.lang.String $4)
public java.awt.Dimension getMinSize()
public void setMinSize(java.awt.Dimension $5)
public java.awt.Dimension getPrefSize()
public void setPrefSize(java.awt.Dimension $6)
public java.awt.Dimension getMaxSize()
public void setMaxSize(java.awt.Dimension $7)
public java.awt.Color getBackground()
getBackground in class java.awt.Componentpublic void setBackground(java.awt.Color $8)
setBackground in class javax.swing.JComponentpublic java.awt.Color getForeground()
getForeground in class java.awt.Componentpublic void setForeground(java.awt.Color $9)
setForeground in class javax.swing.JComponentpublic java.awt.Color getSelectedColor()
public void setSelectedColor(java.awt.Color $10)
public java.lang.String getFontStyle()
public void setFontStyle(java.lang.String $11)
public java.lang.String getFontSize()
public void setFontSize(java.lang.String $12)
public int getMultiClickThreshold()
public void setMultiClickThreshold(int $13)
public java.lang.String getActionName()
public void setActionName(java.lang.String $14)
public FormAction getAction()
public void setAction(FormAction $15)
public int getHAlign()
public void setHAlign(int $16)
public int getVAlign()
public void setVAlign(int $17)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.