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_ICON
ACCELERATOR_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, setEnabled
actionPerformed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
actionPerformed
public XActionWrapper(XAction XAction)
public String getName()
XAction
public void setName(String string)
XAction
public KeyStroke getAccelerator()
XAction
getAccelerator
in interface XAction
public void setAccelerator(KeyStroke keyStroke)
XAction
setAccelerator
in interface XAction
keyStroke
- The new accelerator valuepublic String getActionCommand()
XAction
getActionCommand
in interface XAction
public void setActionCommand(String string)
XAction
setActionCommand
in interface XAction
string
- the action commandpublic Icon getLargeDisabledIcon()
XAction
getLargeDisabledIcon
in interface XAction
public void setLargeDisabledIcon(Icon icon)
XAction
setLargeDisabledIcon
in interface XAction
icon
- the large disabled iconpublic Icon getLargeDisabledSelectedIcon()
XAction
getLargeDisabledSelectedIcon
in interface XAction
public void setLargeDisabledSelectedIcon(Icon icon)
XAction
setLargeDisabledSelectedIcon
in interface XAction
icon
- the large disabled selected iconpublic Icon getLargeIcon()
XAction
getLargeIcon
in interface XAction
public void setLargeIcon(Icon icon)
XAction
setLargeIcon
in interface XAction
icon
- the large iconpublic Icon getLargePressedIcon()
XAction
getLargePressedIcon
in interface XAction
public void setLargePressedIcon(Icon icon)
XAction
setLargePressedIcon
in interface XAction
icon
- the large pressed iconpublic Icon getLargeRolloverIcon()
XAction
getLargeRolloverIcon
in interface XAction
public void setLargeRolloverIcon(Icon icon)
XAction
setLargeRolloverIcon
in interface XAction
icon
- the large rollover iconpublic Icon getLargeRolloverSelectedIcon()
XAction
getLargeRolloverSelectedIcon
in interface XAction
public void setLargeRolloverSelectedIcon(Icon icon)
XAction
setLargeRolloverSelectedIcon
in interface XAction
icon
- the large rollover selected iconpublic Icon getLargeSelectedIcon()
XAction
getLargeSelectedIcon
in interface XAction
public void setLargeSelectedIcon(Icon icon)
XAction
setLargeSelectedIcon
in interface XAction
icon
- the large selected iconpublic String getLongDescription()
XAction
getLongDescription
in interface XAction
public void setLongDescription(String string)
XAction
setLongDescription
in interface XAction
string
- the long descriptionpublic int getMnemonicKey()
XAction
getMnemonicKey
in interface XAction
public void setMnemonicKey(int mnemonicKey)
XAction
setMnemonicKey
in interface XAction
mnemonicKey
- The new mnemonicKey valuepublic String getShortDescription()
XAction
getShortDescription
in interface XAction
public void setShortDescription(String string)
XAction
setShortDescription
in interface XAction
string
- the short descriptionpublic Icon getSmallDisabledIcon()
XAction
getSmallDisabledIcon
in interface XAction
public void setSmallDisabledIcon(Icon icon)
XAction
setSmallDisabledIcon
in interface XAction
icon
- the small disabled iconpublic Icon getSmallDisabledSelectedIcon()
XAction
getSmallDisabledSelectedIcon
in interface XAction
public void setSmallDisabledSelectedIcon(Icon icon)
XAction
setSmallDisabledSelectedIcon
in interface XAction
icon
- the small disabled selected iconpublic Icon getSmallIcon()
XAction
getSmallIcon
in interface XAction
public void setSmallIcon(Icon icon)
XAction
setSmallIcon
in interface XAction
icon
- the small iconpublic Icon getSmallPressedIcon()
XAction
getSmallPressedIcon
in interface XAction
public void setSmallPressedIcon(Icon icon)
XAction
setSmallPressedIcon
in interface XAction
icon
- the small pressed iconpublic Icon getSmallRolloverIcon()
XAction
getSmallRolloverIcon
in interface XAction
public void setSmallRolloverIcon(Icon icon)
XAction
setSmallRolloverIcon
in interface XAction
icon
- the small rollover iconpublic Icon getSmallRolloverSelectedIcon()
XAction
getSmallRolloverSelectedIcon
in interface XAction
public void setSmallRolloverSelectedIcon(Icon icon)
XAction
setSmallRolloverSelectedIcon
in interface XAction
icon
- the small rollover selected iconpublic Icon getSmallSelectedIcon()
XAction
getSmallSelectedIcon
in interface XAction
public void setSmallSelectedIcon(Icon icon)
XAction
setSmallSelectedIcon
in interface XAction
icon
- the small selected iconCopyright © 2002–2017 SoftSmithy. All rights reserved.