public class XActionWrapper extends ActionWrapper implements XAction
LARGE_DISABLED_ICON, LARGE_DISABLED_SELECTED_ICON, LARGE_ICON, LARGE_PRESSED_ICON, LARGE_ROLLOVER_ICON, LARGE_ROLLOVER_SELECTED_ICON, LARGE_SELECTED_ICON, SMALL_DISABLED_ICON, SMALL_DISABLED_SELECTED_ICON, SMALL_PRESSED_ICON, SMALL_ROLLOVER_ICON, SMALL_ROLLOVER_SELECTED_ICON, SMALL_SELECTED_ICONACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
XActionWrapper(XAction XAction) |
| Modifier and Type | Method and Description |
|---|---|
KeyStroke |
getAccelerator()
Gets the value from the key Action.ACCELERATOR_KEY
|
String |
getActionCommand()
Gets the value from the key Action.ACTION_COMMAND_KEY
|
Icon |
getLargeDisabledIcon()
Gets the value from the key XAction.LARGE_DISABLED_ICON
|
Icon |
getLargeDisabledSelectedIcon()
Gets the value from the key XAction.LARGE_DISABLED_SELECTED_ICON
|
Icon |
getLargeIcon()
Gets the value from the key XAction.LARGE_ICON
|
Icon |
getLargePressedIcon()
Gets the value from the key XAction.LARGE_PRESSED_ICON
|
Icon |
getLargeRolloverIcon()
Gets the value from the key XAction.LARGE_ROLLOVER_ICON
|
Icon |
getLargeRolloverSelectedIcon()
Gets the value from the key XAction.LARGE_ROLLOVER_SELECTED_ICON
|
Icon |
getLargeSelectedIcon()
Gets the value from the key XAction.LARGE_SELECTED_ICON
|
String |
getLongDescription()
Gets the value from the key Action.LONG_DESCRIPTION
|
int |
getMnemonicKey()
Gets the value from the key Action.MNEMONIC_KEY
|
String |
getName()
Gets the value from the key Action.NAME
|
String |
getShortDescription()
Gets the value from the key Action.SHORT_DESCRIPTION
|
Icon |
getSmallDisabledIcon()
Gets the value from the key XAction.SMALL_DISABLED_ICON
|
Icon |
getSmallDisabledSelectedIcon()
Gets the value from the key XAction.SMALL_DISABLED_SELECTED_ICON
|
Icon |
getSmallIcon()
Gets the value from the key Action.SMALL_ICON
|
Icon |
getSmallPressedIcon()
Gets the value from the key XAction.SMALL_PRESSED_ICON
|
Icon |
getSmallRolloverIcon()
Gets the value from the key XAction.SMALL_ROLLOVER_ICON
|
Icon |
getSmallRolloverSelectedIcon()
Gets the value from the key XAction.SMALL_ROLLOVER_SELECTED_ICON
|
Icon |
getSmallSelectedIcon()
Gets the value from the key XAction.SMALL_SELECTED_ICON
|
void |
setAccelerator(KeyStroke keyStroke)
Sets the value for the key Action.ACCELERATOR_KEY
|
void |
setActionCommand(String string)
Sets the value for the key Action.ACTION_COMMAND_KEY
|
void |
setLargeDisabledIcon(Icon icon)
Sets the value for the key XAction.LARGE_DISABLED_ICON
|
void |
setLargeDisabledSelectedIcon(Icon icon)
Sets the value for the key XAction.LARGE_DISABLED_SELECTED_ICON
|
void |
setLargeIcon(Icon icon)
Sets the value for the key XAction.LARGE_ICON
|
void |
setLargePressedIcon(Icon icon)
Sets the value for the key XAction.LARGE_PRESSED_ICON
|
void |
setLargeRolloverIcon(Icon icon)
Sets the value for the key XAction.LARGE_ROLLOVER_ICON
|
void |
setLargeRolloverSelectedIcon(Icon icon)
Sets the value for the key XAction.LARGE_ROLLOVER_SELECTED_ICON
|
void |
setLargeSelectedIcon(Icon icon)
Sets the value for the key XAction.LARGE_SELECTED_ICON
|
void |
setLongDescription(String string)
Sets the value for the key Action.LONG_DESCRIPTION
|
void |
setMnemonicKey(int mnemonicKey)
Sets the value for the key Action.MNEMONIC_KEY
|
void |
setName(String string)
Sets the value for the key Action.NAME
|
void |
setShortDescription(String string)
Sets the value for the key Action.SHORT_DESCRIPTION
|
void |
setSmallDisabledIcon(Icon icon)
Sets the value for the key XAction.SMALL_DISABLED_ICON
|
void |
setSmallDisabledSelectedIcon(Icon icon)
Sets the value for the key XAction.SMALL_DISABLED_SELECTED_ICON
|
void |
setSmallIcon(Icon icon)
Sets the value for the key Action.SMALL_ICON
|
void |
setSmallPressedIcon(Icon icon)
Sets the value for the key XAction.SMALL_PRESSED_ICON
|
void |
setSmallRolloverIcon(Icon icon)
Sets the value for the key XAction.SMALL_ROLLOVER_ICON
|
void |
setSmallRolloverSelectedIcon(Icon icon)
Sets the value for the key XAction.SMALL_ROLLOVER_SELECTED_ICON
|
void |
setSmallSelectedIcon(Icon icon)
Sets the value for the key XAction.SMALL_SELECTED_ICON
|
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledactionPerformedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledactionPerformedpublic XActionWrapper(XAction XAction)
public String getName()
XActionpublic void setName(String string)
XActionpublic KeyStroke getAccelerator()
XActiongetAccelerator in interface XActionpublic void setAccelerator(KeyStroke keyStroke)
XActionsetAccelerator in interface XActionkeyStroke - The new accelerator valuepublic String getActionCommand()
XActiongetActionCommand in interface XActionpublic void setActionCommand(String string)
XActionsetActionCommand in interface XActionstring - the action commandpublic Icon getLargeDisabledIcon()
XActiongetLargeDisabledIcon in interface XActionpublic void setLargeDisabledIcon(Icon icon)
XActionsetLargeDisabledIcon in interface XActionicon - the large disabled iconpublic Icon getLargeDisabledSelectedIcon()
XActiongetLargeDisabledSelectedIcon in interface XActionpublic void setLargeDisabledSelectedIcon(Icon icon)
XActionsetLargeDisabledSelectedIcon in interface XActionicon - the large disabled selected iconpublic Icon getLargeIcon()
XActiongetLargeIcon in interface XActionpublic void setLargeIcon(Icon icon)
XActionsetLargeIcon in interface XActionicon - the large iconpublic Icon getLargePressedIcon()
XActiongetLargePressedIcon in interface XActionpublic void setLargePressedIcon(Icon icon)
XActionsetLargePressedIcon in interface XActionicon - the large pressed iconpublic Icon getLargeRolloverIcon()
XActiongetLargeRolloverIcon in interface XActionpublic void setLargeRolloverIcon(Icon icon)
XActionsetLargeRolloverIcon in interface XActionicon - the large rollover iconpublic Icon getLargeRolloverSelectedIcon()
XActiongetLargeRolloverSelectedIcon in interface XActionpublic void setLargeRolloverSelectedIcon(Icon icon)
XActionsetLargeRolloverSelectedIcon in interface XActionicon - the large rollover selected iconpublic Icon getLargeSelectedIcon()
XActiongetLargeSelectedIcon in interface XActionpublic void setLargeSelectedIcon(Icon icon)
XActionsetLargeSelectedIcon in interface XActionicon - the large selected iconpublic String getLongDescription()
XActiongetLongDescription in interface XActionpublic void setLongDescription(String string)
XActionsetLongDescription in interface XActionstring - the long descriptionpublic int getMnemonicKey()
XActiongetMnemonicKey in interface XActionpublic void setMnemonicKey(int mnemonicKey)
XActionsetMnemonicKey in interface XActionmnemonicKey - The new mnemonicKey valuepublic String getShortDescription()
XActiongetShortDescription in interface XActionpublic void setShortDescription(String string)
XActionsetShortDescription in interface XActionstring - the short descriptionpublic Icon getSmallDisabledIcon()
XActiongetSmallDisabledIcon in interface XActionpublic void setSmallDisabledIcon(Icon icon)
XActionsetSmallDisabledIcon in interface XActionicon - the small disabled iconpublic Icon getSmallDisabledSelectedIcon()
XActiongetSmallDisabledSelectedIcon in interface XActionpublic void setSmallDisabledSelectedIcon(Icon icon)
XActionsetSmallDisabledSelectedIcon in interface XActionicon - the small disabled selected iconpublic Icon getSmallIcon()
XActiongetSmallIcon in interface XActionpublic void setSmallIcon(Icon icon)
XActionsetSmallIcon in interface XActionicon - the small iconpublic Icon getSmallPressedIcon()
XActiongetSmallPressedIcon in interface XActionpublic void setSmallPressedIcon(Icon icon)
XActionsetSmallPressedIcon in interface XActionicon - the small pressed iconpublic Icon getSmallRolloverIcon()
XActiongetSmallRolloverIcon in interface XActionpublic void setSmallRolloverIcon(Icon icon)
XActionsetSmallRolloverIcon in interface XActionicon - the small rollover iconpublic Icon getSmallRolloverSelectedIcon()
XActiongetSmallRolloverSelectedIcon in interface XActionpublic void setSmallRolloverSelectedIcon(Icon icon)
XActionsetSmallRolloverSelectedIcon in interface XActionicon - the small rollover selected iconpublic Icon getSmallSelectedIcon()
XActiongetSmallSelectedIcon in interface XActionpublic void setSmallSelectedIcon(Icon icon)
XActionsetSmallSelectedIcon in interface XActionicon - the small selected iconCopyright © 2002–2017 SoftSmithy. All rights reserved.