public class JavaFXGriffonControllerAction extends AbstractAction
Modifier and Type | Field and Description |
---|---|
static String |
KEY_ACCELERATOR |
static String |
KEY_DESCRIPTION |
static String |
KEY_GRAPHIC |
static String |
KEY_ICON |
static String |
KEY_IMAGE |
static String |
KEY_SELECTED |
static String |
KEY_VISIBLE |
pcs
KEY_ACTION_NAME, KEY_ENABLED, KEY_NAME
Constructor and Description |
---|
JavaFXGriffonControllerAction(UIThreadManager uiThreadManager,
ActionManager actionManager,
GriffonController controller,
String actionName) |
Modifier and Type | Method and Description |
---|---|
protected JavaFXAction |
createAction(ActionManager actionManager,
GriffonController controller,
String actionName) |
protected void |
doExecute(Object... args) |
protected void |
doInitialize() |
String |
getAccelerator() |
String |
getDescription() |
Node |
getGraphic() |
String |
getIcon() |
Image |
getImage() |
Object |
getToolkitAction() |
protected void |
handlePropertyChange(PropertyChangeEvent evt) |
boolean |
isSelected() |
boolean |
isVisible() |
void |
setAccelerator(String accelerator) |
void |
setDescription(String description) |
void |
setGraphic(Node graphic) |
void |
setIcon(String icon) |
void |
setImage(String image) |
void |
setSelected(boolean selected) |
void |
setVisible(boolean visible) |
execute, getActionManager, getActionName, getController, getFullyQualifiedName, getName, initialize, isEnabled, setEnabled, setName
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
public static final String KEY_DESCRIPTION
public static final String KEY_ICON
public static final String KEY_IMAGE
public static final String KEY_GRAPHIC
public static final String KEY_SELECTED
public static final String KEY_VISIBLE
public static final String KEY_ACCELERATOR
public JavaFXGriffonControllerAction(@Nonnull UIThreadManager uiThreadManager, @Nonnull ActionManager actionManager, @Nonnull GriffonController controller, @Nonnull String actionName)
protected JavaFXAction createAction(@Nonnull ActionManager actionManager, @Nonnull GriffonController controller, @Nonnull String actionName)
protected void handlePropertyChange(@Nonnull PropertyChangeEvent evt)
public boolean isSelected()
public void setSelected(boolean selected)
public boolean isVisible()
public void setVisible(boolean visible)
protected void doExecute(Object... args)
doExecute
in class AbstractAction
protected void doInitialize()
doInitialize
in class AbstractAction