public class SwingGriffonControllerAction extends AbstractAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_ACCELERATOR |
static java.lang.String |
KEY_COMMAND |
static java.lang.String |
KEY_LARGE_ICON |
static java.lang.String |
KEY_LONG_DESCRIPTION |
static java.lang.String |
KEY_MNEMONIC |
static java.lang.String |
KEY_SELECTED |
static java.lang.String |
KEY_SHORT_DESCRIPTION |
static java.lang.String |
KEY_SMALL_ICON |
pcs
KEY_ACTION_NAME, KEY_ENABLED, KEY_NAME
Constructor and Description |
---|
SwingGriffonControllerAction(UIThreadManager uiThreadManager,
ActionManager actionManager,
GriffonController controller,
ActionMetadata actionMetadata) |
Modifier and Type | Method and Description |
---|---|
protected SwingAction |
createAction(ActionManager actionManager,
GriffonController controller,
java.lang.String actionName) |
protected void |
doExecute(java.lang.Object... args) |
protected void |
doInitialize() |
java.lang.String |
getAccelerator() |
java.lang.String |
getCommand() |
java.lang.String |
getLargeIcon() |
java.lang.String |
getLongDescription() |
java.lang.String |
getMnemonic() |
java.lang.String |
getShortDescription() |
java.lang.String |
getSmallIcon() |
java.lang.Object |
getToolkitAction() |
protected void |
handleIcon(java.lang.Object value,
java.lang.String key) |
protected void |
handlePropertyChange(java.beans.PropertyChangeEvent evt) |
boolean |
isSelected() |
void |
setAccelerator(java.lang.String accelerator) |
void |
setCommand(java.lang.String command) |
void |
setLargeIcon(java.lang.String largeIcon) |
void |
setLongDescription(java.lang.String longDescription) |
void |
setMnemonic(java.lang.String mnemonic) |
void |
setSelected(boolean selected) |
void |
setShortDescription(java.lang.String shortDescription) |
void |
setSmallIcon(java.lang.String smallIcon) |
execute, getActionManager, getActionMetadata, getActionName, getController, getFullyQualifiedName, getName, initialize, isEnabled, setEnabled, setName
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
public static final java.lang.String KEY_SHORT_DESCRIPTION
public static final java.lang.String KEY_LONG_DESCRIPTION
public static final java.lang.String KEY_SMALL_ICON
public static final java.lang.String KEY_LARGE_ICON
public static final java.lang.String KEY_SELECTED
public static final java.lang.String KEY_ACCELERATOR
public static final java.lang.String KEY_MNEMONIC
public static final java.lang.String KEY_COMMAND
public SwingGriffonControllerAction(@Nonnull UIThreadManager uiThreadManager, @Nonnull ActionManager actionManager, @Nonnull GriffonController controller, @Nonnull ActionMetadata actionMetadata)
@Nonnull protected SwingAction createAction(@Nonnull ActionManager actionManager, @Nonnull GriffonController controller, @Nonnull java.lang.String actionName)
protected void handlePropertyChange(@Nonnull java.beans.PropertyChangeEvent evt)
protected void handleIcon(@Nullable java.lang.Object value, @Nonnull java.lang.String key)
protected void doInitialize()
doInitialize
in class AbstractAction
@Nullable public java.lang.String getAccelerator()
public void setAccelerator(@Nullable java.lang.String accelerator)
@Nullable public java.lang.String getLargeIcon()
public void setLargeIcon(@Nullable java.lang.String largeIcon)
@Nullable public java.lang.String getLongDescription()
public void setLongDescription(@Nullable java.lang.String longDescription)
@Nullable public java.lang.String getMnemonic()
public void setMnemonic(@Nullable java.lang.String mnemonic)
public boolean isSelected()
public void setSelected(boolean selected)
@Nullable public java.lang.String getShortDescription()
public void setShortDescription(@Nullable java.lang.String shortDescription)
@Nullable public java.lang.String getSmallIcon()
public void setSmallIcon(@Nullable java.lang.String smallIcon)
@Nullable public java.lang.String getCommand()
public void setCommand(@Nullable java.lang.String command)
@Nonnull public java.lang.Object getToolkitAction()
protected void doExecute(java.lang.Object... args)
doExecute
in class AbstractAction