public class JavaFXGriffonControllerAction extends AbstractAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_ACCELERATOR |
static java.lang.String |
KEY_DESCRIPTION |
static java.lang.String |
KEY_GRAPHIC |
static java.lang.String |
KEY_GRAPHICSTYLE |
static java.lang.String |
KEY_GRAPHICSTYLECLASS |
static java.lang.String |
KEY_ICON |
static java.lang.String |
KEY_IMAGE |
static java.lang.String |
KEY_SELECTED |
static java.lang.String |
KEY_STYLE |
static java.lang.String |
KEY_STYLECLASS |
static java.lang.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,
java.lang.String actionName) |
protected void |
doExecute(java.lang.Object... args) |
protected void |
doInitialize() |
java.lang.String |
getAccelerator() |
java.lang.String |
getDescription() |
javafx.scene.Node |
getGraphic() |
java.lang.String |
getGraphicStyle() |
java.lang.String |
getGraphicStyleClass() |
java.lang.String |
getIcon() |
javafx.scene.image.Image |
getImage() |
java.lang.String |
getStyle() |
java.lang.String |
getStyleClass() |
java.lang.Object |
getToolkitAction() |
protected void |
handlePropertyChange(java.beans.PropertyChangeEvent evt) |
boolean |
isSelected() |
boolean |
isVisible() |
void |
setAccelerator(java.lang.String accelerator) |
void |
setDescription(java.lang.String description) |
void |
setGraphic(javafx.scene.Node graphic) |
void |
setGraphicStyle(java.lang.String graphicStyle) |
void |
setGraphicStyleClass(java.lang.String graphicStyleClass) |
void |
setIcon(java.lang.String icon) |
void |
setImage(java.lang.String image) |
void |
setSelected(boolean selected) |
void |
setStyle(java.lang.String style) |
void |
setStyleClass(java.lang.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 java.lang.String KEY_DESCRIPTION
public static final java.lang.String KEY_ICON
public static final java.lang.String KEY_IMAGE
public static final java.lang.String KEY_GRAPHIC
public static final java.lang.String KEY_SELECTED
public static final java.lang.String KEY_VISIBLE
public static final java.lang.String KEY_ACCELERATOR
public static final java.lang.String KEY_STYLECLASS
public static final java.lang.String KEY_STYLE
public static final java.lang.String KEY_GRAPHICSTYLECLASS
public static final java.lang.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 java.lang.String actionName)
protected void handlePropertyChange(@Nonnull java.beans.PropertyChangeEvent evt)
@Nullable public java.lang.String getStyleClass()
public void setStyleClass(@Nullable java.lang.String styleClass)
@Nullable public java.lang.String getStyle()
public void setStyle(@Nullable java.lang.String style)
@Nullable public java.lang.String getGraphicStyleClass()
public void setGraphicStyleClass(@Nullable java.lang.String graphicStyleClass)
@Nullable public java.lang.String getGraphicStyle()
public void setGraphicStyle(@Nullable java.lang.String graphicStyle)
@Nullable public java.lang.String getAccelerator()
public void setAccelerator(@Nullable java.lang.String accelerator)
public boolean isSelected()
public void setSelected(boolean selected)
public boolean isVisible()
public void setVisible(boolean visible)
@Nullable public java.lang.String getDescription()
public void setDescription(@Nullable java.lang.String description)
@Nullable public java.lang.String getIcon()
public void setIcon(@Nullable java.lang.String icon)
@Nullable public javafx.scene.image.Image getImage()
public void setImage(@Nullable java.lang.String image)
@Nullable public javafx.scene.Node getGraphic()
public void setGraphic(@Nullable javafx.scene.Node graphic)
@Nonnull public java.lang.Object getToolkitAction()
protected void doExecute(java.lang.Object... args)
doExecute
in class AbstractAction
protected void doInitialize()
doInitialize
in class AbstractAction