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 |
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 void |
doExecute(Object... args) |
protected void |
doInitialize() |
String |
getAccelerator() |
String |
getDescription() |
javafx.scene.Node |
getGraphic() |
String |
getIcon() |
javafx.scene.image.Image |
getImage() |
Object |
getToolkitAction() |
boolean |
isSelected() |
void |
setAccelerator(String accelerator) |
void |
setDescription(String description) |
void |
setGraphic(javafx.scene.Node graphic) |
void |
setIcon(String icon) |
void |
setImage(String image) |
void |
setSelected(boolean selected) |
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_ACCELERATOR
public JavaFXGriffonControllerAction(@Nonnull UIThreadManager uiThreadManager, @Nonnull ActionManager actionManager, @Nonnull GriffonController controller, @Nonnull String actionName)
public boolean isSelected()
public void setSelected(boolean selected)
@Nullable public javafx.scene.image.Image getImage()
@Nullable public javafx.scene.Node getGraphic()
public void setGraphic(@Nullable javafx.scene.Node graphic)
protected void doExecute(Object... args)
doExecute
in class AbstractAction
protected void doInitialize()
doInitialize
in class AbstractAction