public abstract class AbstractXAction extends AbstractAction implements XAction
changeSupport, enabledLARGE_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 |
|---|
AbstractXAction()
Creates an empty AbstractXAction.
|
| 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 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 mnemonicKey)
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, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledactionPerformedpublic KeyStroke getAccelerator()
getAccelerator in interface XActionpublic void setAccelerator(KeyStroke keyStroke)
setAccelerator in interface XActionkeyStroke - The new accelerator valuepublic String getActionCommand()
getActionCommand in interface XActionpublic void setActionCommand(String actionCommand)
setActionCommand in interface XActionactionCommand - the action commandpublic Icon getLargeDisabledIcon()
getLargeDisabledIcon in interface XActionpublic void setLargeDisabledIcon(Icon icon)
setLargeDisabledIcon in interface XActionicon - the large disabled iconpublic Icon getLargeDisabledSelectedIcon()
getLargeDisabledSelectedIcon in interface XActionpublic void setLargeDisabledSelectedIcon(Icon icon)
setLargeDisabledSelectedIcon in interface XActionicon - the large disabled selected iconpublic Icon getLargeIcon()
getLargeIcon in interface XActionpublic void setLargeIcon(Icon icon)
setLargeIcon in interface XActionicon - the large iconpublic Icon getLargePressedIcon()
getLargePressedIcon in interface XActionpublic void setLargePressedIcon(Icon icon)
setLargePressedIcon in interface XActionicon - the large pressed iconpublic Icon getLargeRolloverIcon()
getLargeRolloverIcon in interface XActionpublic void setLargeRolloverIcon(Icon icon)
setLargeRolloverIcon in interface XActionicon - the large rollover iconpublic Icon getLargeRolloverSelectedIcon()
getLargeRolloverSelectedIcon in interface XActionpublic void setLargeRolloverSelectedIcon(Icon icon)
setLargeRolloverSelectedIcon in interface XActionicon - the large rollover selected iconpublic Icon getLargeSelectedIcon()
getLargeSelectedIcon in interface XActionpublic void setLargeSelectedIcon(Icon icon)
setLargeSelectedIcon in interface XActionicon - the large selected iconpublic String getLongDescription()
getLongDescription in interface XActionpublic void setLongDescription(String longDescription)
setLongDescription in interface XActionlongDescription - the long descriptionpublic int getMnemonicKey()
getMnemonicKey in interface XActionpublic void setMnemonicKey(int mnemonicKey)
setMnemonicKey in interface XActionmnemonicKey - The new mnemonicKey valuepublic String getName()
public void setName(String name)
public String getShortDescription()
getShortDescription in interface XActionpublic void setShortDescription(String shortDescription)
setShortDescription in interface XActionshortDescription - the short descriptionpublic Icon getSmallDisabledIcon()
getSmallDisabledIcon in interface XActionpublic void setSmallDisabledIcon(Icon icon)
setSmallDisabledIcon in interface XActionicon - the small disabled iconpublic Icon getSmallDisabledSelectedIcon()
getSmallDisabledSelectedIcon in interface XActionpublic void setSmallDisabledSelectedIcon(Icon icon)
setSmallDisabledSelectedIcon in interface XActionicon - the small disabled selected iconpublic Icon getSmallIcon()
getSmallIcon in interface XActionpublic void setSmallIcon(Icon icon)
setSmallIcon in interface XActionicon - the small iconpublic Icon getSmallPressedIcon()
getSmallPressedIcon in interface XActionpublic void setSmallPressedIcon(Icon icon)
setSmallPressedIcon in interface XActionicon - the small pressed iconpublic Icon getSmallRolloverIcon()
getSmallRolloverIcon in interface XActionpublic void setSmallRolloverIcon(Icon icon)
setSmallRolloverIcon in interface XActionicon - the small rollover iconpublic Icon getSmallRolloverSelectedIcon()
getSmallRolloverSelectedIcon in interface XActionpublic void setSmallRolloverSelectedIcon(Icon icon)
setSmallRolloverSelectedIcon in interface XActionicon - the small rollover selected iconpublic Icon getSmallSelectedIcon()
getSmallSelectedIcon in interface XActionpublic void setSmallSelectedIcon(Icon icon)
setSmallSelectedIcon in interface XActionicon - the small selected iconCopyright © 2002–2017 SoftSmithy. All rights reserved.