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_GRAPHICSTYLE |
static String |
KEY_GRAPHICSTYLECLASS |
static String |
KEY_ICON |
static String |
KEY_IMAGE |
static String |
KEY_SELECTED |
static String |
KEY_STYLE |
static String |
KEY_STYLECLASS |
static String |
KEY_VISIBLE |
pcs
KEY_ACTION_NAME, KEY_ENABLED, KEY_NAME
Constructor and Description |
---|
JavaFXGriffonControllerAction(UIThreadManager uiThreadManager,
ActionManager actionManager,
GriffonController controller,
ActionMetadata actionMetadata) |
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 |
getGraphicStyle() |
String |
getGraphicStyleClass() |
String |
getIcon() |
Image |
getImage() |
String |
getStyle() |
String |
getStyleClass() |
Object |
getToolkitAction() |
protected void |
handlePropertyChange(PropertyChangeEvent evt) |
boolean |
isSelected() |
boolean |
isVisible() |
void |
setAccelerator(String accelerator) |
void |
setDescription(String description) |
void |
setGraphic(Node graphic) |
void |
setGraphicStyle(String graphicStyle) |
void |
setGraphicStyleClass(String graphicStyleClass) |
void |
setIcon(String icon) |
void |
setImage(String image) |
void |
setSelected(boolean selected) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
void |
setVisible(boolean visible) |
execute, getActionManager, getActionMetadata, 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 static final String KEY_STYLECLASS
public static final String KEY_STYLE
public static final String KEY_GRAPHICSTYLECLASS
public static final String KEY_GRAPHICSTYLE
public JavaFXGriffonControllerAction(@Nonnull UIThreadManager uiThreadManager, @Nonnull ActionManager actionManager, @Nonnull GriffonController controller, @Nonnull ActionMetadata actionMetadata)
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