public class FButton extends FPanel implements java.awt.event.ActionListener, InitialFocusCandidateI
myActions, XMLConfigureInfoinhibitFocusChange, 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 | 
|---|
| FButton(FormContextI _ftx,
       electric.xml.Element _confroot) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | actionPerformed(java.awt.event.ActionEvent a) | 
| void | close() | 
| void | disable() | 
| void | enable() | 
| FormAction | getAction() | 
| java.lang.String | getActionName() | 
| java.util.HashMap | getAttributeMap()Returns the map of attributes supported by this FPanel. | 
| java.awt.Color | getBackground() | 
| int | getBaseline(int width,
           int height) | 
| java.lang.String | getDebugName() | 
| java.util.HashMap | getElementMap()Returns the map of elements supported by this FPanel. | 
| java.lang.String | getFontSize() | 
| java.lang.String | getFontStyle() | 
| java.awt.Color | getForeground() | 
| int | getHAlign() | 
| java.lang.String | getIcon() | 
| javax.swing.JComponent | getInitialFocus() | 
| javax.swing.JComponent | getJComponent() | 
| java.awt.Dimension | getMaxSize() | 
| java.awt.Dimension | getMinSize() | 
| int | getMultiClickThreshold() | 
| java.awt.Dimension | getPrefSize() | 
| java.lang.String | getText() | 
| int | getVAlign() | 
| void | handleActionA(electric.xml.Attribute a) | 
| void | handleBackgroundA(electric.xml.Attribute a) | 
| void | handleDefaultButtonA(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 | handleIconA(electric.xml.Attribute a) | 
| void | handleOnClickE(electric.xml.Element e) | 
| void | handleTextA(electric.xml.Attribute a) | 
| void | handleVAlignA(electric.xml.Attribute a) | 
| boolean | isDefaultButton() | 
| void | mdiOpen(MDIElementI me) | 
| void | postBuildGUI() | 
| void | refresh(int from)"refresh" possibly attached action as well as doing the normal refresh of the super-class | 
| boolean | requestFocusInWindow()Requests that this component gets the keyboard focus, specifically within its own window. | 
| void | setAction(FormAction $12) | 
| void | setActionName(java.lang.String $11) | 
| void | setBackground(java.awt.Color $5) | 
| void | setDefaultButton(boolean $7) | 
| void | setEnabled(boolean b) | 
| void | setFontSize(java.lang.String $9) | 
| void | setFontStyle(java.lang.String $8) | 
| void | setForeground(java.awt.Color $6) | 
| void | setHAlign(int $13) | 
| void | setIcon(java.lang.String s) | 
| void | setMaxSize(java.awt.Dimension $4) | 
| void | setMinSize(java.awt.Dimension $2) | 
| void | setMultiClickThreshold(int $10) | 
| void | setPrefSize(java.awt.Dimension $3) | 
| void | setText(java.lang.String s) | 
| void | setVAlign(int $14) | 
_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, getDefaultActionMap, 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, postConstructor, postInit, postRefresh, postRefresh, postRefresh, processFocusVeto, processFocusVeto, queueDelayedRefresh, queueDelayedRefresh, reallyHandleVirtualPropertyE, refresh, refreshActions, refreshActions, registerActionImpl, registerFormAction, removeFormElementListener, requestFocus, requestFocusInWindow, runAndDeclare, runAndDeclare, setConfRoot, setDebug, setEditable, setFtx, setGUIBuilt, setMissingPropertiesPolicy, setShown, shouldShow, sync, syncImpl, 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, waitgetName, toDebugNamepublic FButton(FormContextI _ftx, electric.xml.Element _confroot)
public void close()
close in interface FormElementIclose in class FPanelpublic void postBuildGUI()
public void refresh(int from)
refresh in interface FormElementIrefresh in class FPanelpublic void setText(java.lang.String s)
public void setIcon(java.lang.String s)
public void mdiOpen(MDIElementI me)
mdiOpen in interface FormElementImdiOpen in class FPanelpublic void handleTextA(electric.xml.Attribute a)
public void handleIconA(electric.xml.Attribute a)
public void handleBackgroundA(electric.xml.Attribute a)
public void handleForegroundA(electric.xml.Attribute a)
public void handleDefaultButtonA(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 void handleOnClickE(electric.xml.Element e)
public java.util.HashMap getAttributeMap()
FPanelSubclasses can and should override this method to provide their own attribute map.
getAttributeMap in interface FormElementIgetAttributeMap in class FPanelpublic java.util.HashMap getElementMap()
FPanelSubclasses can and should override this method to provide their own element map.
getElementMap in interface FormElementIgetElementMap in class FPanelpublic void actionPerformed(java.awt.event.ActionEvent a)
actionPerformed in interface java.awt.event.ActionListenerpublic void setEnabled(boolean b)
setEnabled in class javax.swing.JComponentpublic void enable()
enable in class javax.swing.JComponentpublic void disable()
disable in class javax.swing.JComponentpublic javax.swing.JComponent getJComponent()
public int getBaseline(int width,
                       int height)
getBaseline in class javax.swing.JComponentpublic boolean requestFocusInWindow()
FPanelThis method overrides JComponent.requestFocusInWindow() and delegates
 to the more specific FPanel.requestFocusInWindow(boolean) with "temporary" set to false.
requestFocusInWindow in class FPaneltrue if the focus request is likely to be granted, false otherwise.public javax.swing.JComponent getInitialFocus()
getInitialFocus in interface InitialFocusCandidateIpublic java.lang.String getDebugName()
getDebugName in interface FormElementIgetDebugName in class FPanelpublic java.lang.String getText()
public java.lang.String getIcon()
public java.awt.Dimension getMinSize()
public void setMinSize(java.awt.Dimension $2)
public java.awt.Dimension getPrefSize()
public void setPrefSize(java.awt.Dimension $3)
public java.awt.Dimension getMaxSize()
public void setMaxSize(java.awt.Dimension $4)
public java.awt.Color getBackground()
getBackground in class java.awt.Componentpublic void setBackground(java.awt.Color $5)
setBackground in class javax.swing.JComponentpublic java.awt.Color getForeground()
getForeground in class java.awt.Componentpublic void setForeground(java.awt.Color $6)
setForeground in class javax.swing.JComponentpublic boolean isDefaultButton()
public void setDefaultButton(boolean $7)
public java.lang.String getFontStyle()
public void setFontStyle(java.lang.String $8)
public java.lang.String getFontSize()
public void setFontSize(java.lang.String $9)
public int getMultiClickThreshold()
public void setMultiClickThreshold(int $10)
public java.lang.String getActionName()
public void setActionName(java.lang.String $11)
public FormAction getAction()
public void setAction(FormAction $12)
public int getHAlign()
public void setHAlign(int $13)
public int getVAlign()
public void setVAlign(int $14)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.