public class IcyCommandMenuButton extends org.pushingpixels.flamingo.api.common.JCommandMenuButton
org.pushingpixels.flamingo.api.common.JCommandButton.CommandButtonKind, org.pushingpixels.flamingo.api.common.JCommandButton.CommandButtonPopupOrientationKind
org.pushingpixels.flamingo.api.common.AbstractCommandButton.CommandButtonLocationOrderKind
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
IcyCommandMenuButton() |
IcyCommandMenuButton(IcyAbstractAction action) |
IcyCommandMenuButton(IcyAbstractAction action)
Deprecated.
User
IcyCommandMenuButton(IcyAbstractAction) instead. |
IcyCommandMenuButton(IcyIcon icon) |
IcyCommandMenuButton(java.lang.String title) |
IcyCommandMenuButton(java.lang.String title,
IcyIcon icon) |
IcyCommandMenuButton(java.lang.String title,
java.lang.String iconName)
Deprecated.
Use
IcyCommandMenuButton(String, IcyIcon) instead. |
Modifier and Type | Method and Description |
---|---|
IcyAbstractAction |
getAction()
Returns the
IcyAbstractAction attached to this button. |
java.lang.String |
getIconName() |
IcyIcon |
getIcyIcon()
Return the icon as IcyIcon
|
void |
setAction(IcyAbstractAction value)
Sets the
IcyAbstractAction attached to this button. |
void |
setEnabled(boolean b) |
void |
setIconName(java.lang.String iconName) |
addRolloverActionListener, doActionRollover, getUIClassID, removeRolloverActionListener, updateUI
doPopupClick, getAutoRepeatInitialInterval, getAutoRepeatSubsequentInterval, getCommandButtonKind, getPopupCallback, getPopupKeyTip, getPopupModel, getPopupOrientationKind, getRichTooltip, isAutoRepeatAction, isFireActionOnRollover, setActionKeyTip, setAutoRepeatAction, setAutoRepeatActionIntervals, setCommandButtonKind, setFireActionOnRollover, setPopupCallback, setPopupKeyTip, setPopupModel, setPopupOrientationKind, setPopupRichTooltip
addActionListener, addChangeListener, doActionClick, getActionKeyTip, getActionModel, getCustomDimension, getDisabledIcon, getDisplayState, getExtraText, getHGapScaleFactor, getHorizontalAlignment, getIcon, getLocationOrderKind, getText, getUI, getVGapScaleFactor, isFlat, removeActionListener, removeChangeListener, setActionModel, setActionRichTooltip, setDisabledIcon, setDisplayState, setExtraText, setFlat, setGapScaleFactor, setHGapScaleFactor, setHorizontalAlignment, setIcon, setLocationOrderKind, setText, setToolTipText, setUI, setVGapScaleFactor, updateCustomDimension
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, 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, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, 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, validate
action, 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, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, 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, transferFocusUpCycle
public IcyCommandMenuButton(java.lang.String title, IcyIcon icon)
@Deprecated public IcyCommandMenuButton(java.lang.String title, java.lang.String iconName)
IcyCommandMenuButton(String, IcyIcon)
instead.public IcyCommandMenuButton(IcyIcon icon)
public IcyCommandMenuButton(java.lang.String title)
public IcyCommandMenuButton(IcyAbstractAction action)
@Deprecated public IcyCommandMenuButton(IcyAbstractAction action)
IcyCommandMenuButton(IcyAbstractAction)
instead.public IcyCommandMenuButton()
public IcyIcon getIcyIcon()
public java.lang.String getIconName()
public void setIconName(java.lang.String iconName)
iconName
- the icon name to setpublic void setEnabled(boolean b)
setEnabled
in class org.pushingpixels.flamingo.api.common.JCommandButton
public void setAction(IcyAbstractAction value)
IcyAbstractAction
attached to this button.public IcyAbstractAction getAction()
IcyAbstractAction
attached to this button.