public interface XAction extends Action
Modifier and Type | Field and Description |
---|---|
static String |
LARGE_DISABLED_ICON
The key used for storing a large icon for the disabled action.
|
static String |
LARGE_DISABLED_SELECTED_ICON
The key used for storing a large icon for the disabled and selected action.
|
static String |
LARGE_ICON
The key used for storing a large icon for the action.
|
static String |
LARGE_PRESSED_ICON
The key used for storing a large icon for the pressed action.
|
static String |
LARGE_ROLLOVER_ICON
The key used for storing a large icon for the action duricng rollover.
|
static String |
LARGE_ROLLOVER_SELECTED_ICON
The key used for storing a large icon for the selected action during
rollover.
|
static String |
LARGE_SELECTED_ICON
The key used for storing a large icon for the selected action.
|
static String |
SMALL_DISABLED_ICON
The key used for storing a small icon for the disabled action.
|
static String |
SMALL_DISABLED_SELECTED_ICON
The key used for storing a small icon for the disabled and selected action.
|
static String |
SMALL_PRESSED_ICON
The key used for storing a small icon for the pressed action.
|
static String |
SMALL_ROLLOVER_ICON
The key used for storing a small icon for the action during rollover.
|
static String |
SMALL_ROLLOVER_SELECTED_ICON
The key used for storing a small icon for the selected action during
rollover.
|
static String |
SMALL_SELECTED_ICON
The key used for storing a small icon for the selected action.
|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
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 accelerator)
Sets the value for the key Action.ACCELERATOR_KEY
|
void |
setActionCommand(String actionCommand)
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 longDescription)
Sets the value for the key Action.LONG_DESCRIPTION
|
void |
setMnemonicKey(int menmonicKey)
Sets the value for the key Action.MNEMONIC_KEY
|
void |
setName(String name)
Sets the value for the key Action.NAME
|
void |
setShortDescription(String shortDescription)
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
static final String LARGE_DISABLED_ICON
static final String LARGE_DISABLED_SELECTED_ICON
static final String LARGE_ICON
static final String LARGE_PRESSED_ICON
static final String LARGE_ROLLOVER_ICON
static final String LARGE_ROLLOVER_SELECTED_ICON
static final String LARGE_SELECTED_ICON
static final String SMALL_DISABLED_ICON
static final String SMALL_DISABLED_SELECTED_ICON
static final String SMALL_PRESSED_ICON
static final String SMALL_ROLLOVER_ICON
static final String SMALL_ROLLOVER_SELECTED_ICON
static final String SMALL_SELECTED_ICON
KeyStroke getAccelerator()
void setAccelerator(KeyStroke accelerator)
accelerator
- The new accelerator valueString getActionCommand()
void setActionCommand(String actionCommand)
actionCommand
- the action commandIcon getLargeDisabledIcon()
void setLargeDisabledIcon(Icon icon)
icon
- the large disabled iconIcon getLargeDisabledSelectedIcon()
void setLargeDisabledSelectedIcon(Icon icon)
icon
- the large disabled selected iconIcon getLargeIcon()
void setLargeIcon(Icon icon)
icon
- the large iconIcon getLargePressedIcon()
void setLargePressedIcon(Icon icon)
icon
- the large pressed iconIcon getLargeRolloverIcon()
void setLargeRolloverIcon(Icon icon)
icon
- the large rollover iconIcon getLargeRolloverSelectedIcon()
void setLargeRolloverSelectedIcon(Icon icon)
icon
- the large rollover selected iconIcon getLargeSelectedIcon()
void setLargeSelectedIcon(Icon icon)
icon
- the large selected iconString getLongDescription()
void setLongDescription(String longDescription)
longDescription
- the long descriptionint getMnemonicKey()
void setMnemonicKey(int menmonicKey)
menmonicKey
- The new mnemonicKey valueString getName()
void setName(String name)
name
- the nameString getShortDescription()
void setShortDescription(String shortDescription)
shortDescription
- the short descriptionIcon getSmallDisabledIcon()
void setSmallDisabledIcon(Icon icon)
icon
- the small disabled iconIcon getSmallDisabledSelectedIcon()
void setSmallDisabledSelectedIcon(Icon icon)
icon
- the small disabled selected iconIcon getSmallIcon()
void setSmallIcon(Icon icon)
icon
- the small iconIcon getSmallPressedIcon()
void setSmallPressedIcon(Icon icon)
icon
- the small pressed iconIcon getSmallRolloverIcon()
void setSmallRolloverIcon(Icon icon)
icon
- the small rollover iconIcon getSmallRolloverSelectedIcon()
void setSmallRolloverSelectedIcon(Icon icon)
icon
- the small rollover selected iconIcon getSmallSelectedIcon()
void setSmallSelectedIcon(Icon icon)
icon
- the small selected iconCopyright © 2002–2016 SoftSmithy. All rights reserved.