public class JavaFXAction extends Object
| Constructor and Description |
|---|
JavaFXAction() |
| Modifier and Type | Method and Description |
|---|---|
ObjectProperty<KeyCombination> |
acceleratorProperty() |
StringProperty |
descriptionProperty() |
BooleanProperty |
enabledProperty() |
KeyCombination |
getAccelerator()
Gets the value of the property accelerator.
|
String |
getDescription()
Gets the value of the property description.
|
boolean |
getEnabled()
Gets the value of the property enabled.
|
Node |
getGraphic()
Gets the value of the property graphic.
|
String |
getIcon()
Gets the value of the property icon.
|
Image |
getImage()
Gets the value of the property image.
|
String |
getName()
Gets the value of the property name.
|
EventHandler<ActionEvent> |
getOnAction()
Gets the value of the property onAction.
|
boolean |
getSelected()
Gets the value of the property selected.
|
String |
getStyleClass()
Gets the value of the property styleClass.
|
boolean |
getVisible()
Gets the value of the property visible.
|
ObjectProperty<Node> |
graphicProperty() |
StringProperty |
iconProperty() |
ObjectProperty<Image> |
imageProperty() |
boolean |
isEnabled() |
boolean |
isSelected() |
boolean |
isVisible() |
StringProperty |
nameProperty() |
ObjectProperty<EventHandler<ActionEvent>> |
onActionProperty() |
BooleanProperty |
selectedProperty() |
void |
setAccelerator(KeyCombination value) |
void |
setAccelerator(String accelerator)
Sets the value of the property accelerator.
|
void |
setDescription(String description)
Sets the value of the property description.
|
void |
setEnabled(boolean enabled)
Sets the value of the property enabled.
|
void |
setGraphic(Node graphic)
Sets the value of the property graphic.
|
void |
setIcon(String icon)
Sets the value of the property icon.
|
void |
setImage(Image image)
Sets the value of the property image.
|
void |
setName(String name)
Sets the value of the property name.
|
void |
setOnAction(EventHandler<ActionEvent> value)
Sets the value of the property onAction.
|
void |
setSelected(boolean selected)
Sets the value of the property selected.
|
void |
setStyleClass(String styleClass)
Sets the value of the property styleClass.
|
void |
setVisible(boolean visible)
Sets the value of the property visible.
|
StringProperty |
styleClassProperty() |
BooleanProperty |
visibleProperty() |
public final ObjectProperty<EventHandler<ActionEvent>> onActionProperty
getOnAction(),
setOnAction(EventHandler)public final StringProperty nameProperty
getName(),
setName(String)public final StringProperty descriptionProperty
getDescription(),
setDescription(String)public final BooleanProperty enabledProperty
getEnabled(),
setEnabled(boolean)public final ObjectProperty<KeyCombination> acceleratorProperty
getAccelerator(),
setAccelerator(String)public final StringProperty iconProperty
getIcon(),
setIcon(String)public final ObjectProperty<Image> imageProperty
getImage(),
setImage(Image)public final ObjectProperty<Node> graphicProperty
getGraphic(),
setGraphic(Node)public final BooleanProperty selectedProperty
getSelected(),
setSelected(boolean)public final BooleanProperty visibleProperty
getVisible(),
setVisible(boolean)public final StringProperty styleClassProperty
getStyleClass(),
setStyleClass(String)public final ObjectProperty<EventHandler<ActionEvent>> onActionProperty()
getOnAction(),
setOnAction(EventHandler)public void setOnAction(EventHandler<ActionEvent> value)
public EventHandler<ActionEvent> getOnAction()
public final StringProperty nameProperty()
getName(),
setName(String)public void setName(String name)
public String getName()
public final StringProperty descriptionProperty()
getDescription(),
setDescription(String)public void setDescription(String description)
public String getDescription()
public final BooleanProperty enabledProperty()
getEnabled(),
setEnabled(boolean)public void setEnabled(boolean enabled)
public boolean getEnabled()
public boolean isEnabled()
public void setAccelerator(String accelerator)
public final void setAccelerator(KeyCombination value)
public final KeyCombination getAccelerator()
public final ObjectProperty<KeyCombination> acceleratorProperty()
getAccelerator(),
setAccelerator(String)public final StringProperty iconProperty()
getIcon(),
setIcon(String)public void setIcon(String icon)
public String getIcon()
public final ObjectProperty<Image> imageProperty()
getImage(),
setImage(Image)public void setImage(Image image)
public Image getImage()
public final ObjectProperty<Node> graphicProperty()
getGraphic(),
setGraphic(Node)public void setGraphic(Node graphic)
public Node getGraphic()
public final BooleanProperty selectedProperty()
getSelected(),
setSelected(boolean)public void setSelected(boolean selected)
public boolean getSelected()
public boolean isSelected()
public final BooleanProperty visibleProperty()
getVisible(),
setVisible(boolean)public void setVisible(boolean visible)
public boolean getVisible()
public boolean isVisible()
public final StringProperty styleClassProperty()
getStyleClass(),
setStyleClass(String)public void setStyleClass(String styleClass)
public String getStyleClass()