public class IcyCommandButton extends org.pushingpixels.flamingo.api.common.JCommandButton
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 |
---|
IcyCommandButton() |
IcyCommandButton(IcyAbstractAction action) |
IcyCommandButton(IcyAbstractAction action)
Deprecated.
User
IcyCommandButton(IcyAbstractAction) instead. |
IcyCommandButton(IcyIcon icon) |
IcyCommandButton(java.lang.String title) |
IcyCommandButton(java.lang.String title,
IcyIcon icon) |
IcyCommandButton(java.lang.String title,
java.awt.Image icon)
Deprecated.
Use
IcyCommandButton(String, IcyIcon) instead. |
IcyCommandButton(java.lang.String title,
java.lang.String iconName)
Deprecated.
Use
IcyCommandButton(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) |
void |
setPopup(org.pushingpixels.flamingo.api.common.popup.PopupPanelCallback cb,
org.pushingpixels.flamingo.api.common.RichTooltip toolTip)
Sets the button in Popup mode with specified Popup panel callback and tool tip
|
doPopupClick, getAutoRepeatInitialInterval, getAutoRepeatSubsequentInterval, getCommandButtonKind, getPopupCallback, getPopupKeyTip, getPopupModel, getPopupOrientationKind, getRichTooltip, getUIClassID, isAutoRepeatAction, isFireActionOnRollover, setActionKeyTip, setAutoRepeatAction, setAutoRepeatActionIntervals, setCommandButtonKind, setFireActionOnRollover, setPopupCallback, setPopupKeyTip, setPopupModel, setPopupOrientationKind, setPopupRichTooltip, updateUI
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 IcyCommandButton(java.lang.String title, IcyIcon icon)
@Deprecated public IcyCommandButton(java.lang.String title, java.awt.Image icon)
IcyCommandButton(String, IcyIcon)
instead.@Deprecated public IcyCommandButton(java.lang.String title, java.lang.String iconName)
IcyCommandButton(String, IcyIcon)
instead.public IcyCommandButton(IcyIcon icon)
public IcyCommandButton(java.lang.String title)
public IcyCommandButton(IcyAbstractAction action)
@Deprecated public IcyCommandButton(IcyAbstractAction action)
IcyCommandButton(IcyAbstractAction)
instead.public IcyCommandButton()
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 IcyAbstractAction getAction()
IcyAbstractAction
attached to this button.public void setAction(IcyAbstractAction value)
IcyAbstractAction
attached to this button.public void setPopup(org.pushingpixels.flamingo.api.common.popup.PopupPanelCallback cb, org.pushingpixels.flamingo.api.common.RichTooltip toolTip)