public class JavaFXAction extends Object
Type | Property and Description |
---|---|
javafx.beans.property.ObjectProperty<javafx.scene.input.KeyCombination> |
accelerator |
javafx.beans.property.StringProperty |
description |
javafx.beans.property.BooleanProperty |
enabled |
javafx.beans.property.ObjectProperty<javafx.scene.Node> |
graphic |
javafx.beans.property.StringProperty |
icon |
javafx.beans.property.ObjectProperty<javafx.scene.image.Image> |
image |
javafx.beans.property.StringProperty |
name |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<javafx.event.ActionEvent>> |
onAction |
javafx.beans.property.BooleanProperty |
selected |
Constructor and Description |
---|
JavaFXAction() |
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ObjectProperty<javafx.scene.input.KeyCombination> |
acceleratorProperty() |
javafx.beans.property.StringProperty |
descriptionProperty() |
javafx.beans.property.BooleanProperty |
enabledProperty() |
javafx.scene.input.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.
|
javafx.scene.Node |
getGraphic()
Gets the value of the property graphic.
|
String |
getIcon()
Gets the value of the property icon.
|
javafx.scene.image.Image |
getImage()
Gets the value of the property image.
|
String |
getName()
Gets the value of the property name.
|
javafx.event.EventHandler<javafx.event.ActionEvent> |
getOnAction()
Gets the value of the property onAction.
|
boolean |
getSelected()
Gets the value of the property selected.
|
javafx.beans.property.ObjectProperty<javafx.scene.Node> |
graphicProperty() |
javafx.beans.property.StringProperty |
iconProperty() |
javafx.beans.property.ObjectProperty<javafx.scene.image.Image> |
imageProperty() |
javafx.beans.property.StringProperty |
nameProperty() |
javafx.beans.property.ObjectProperty<javafx.event.EventHandler<javafx.event.ActionEvent>> |
onActionProperty() |
javafx.beans.property.BooleanProperty |
selectedProperty() |
void |
setAccelerator(javafx.scene.input.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(javafx.scene.Node graphic)
Sets the value of the property graphic.
|
void |
setIcon(String icon)
Sets the value of the property icon.
|
void |
setImage(javafx.scene.image.Image image)
Sets the value of the property image.
|
void |
setName(String name)
Sets the value of the property name.
|
void |
setOnAction(javafx.event.EventHandler<javafx.event.ActionEvent> value)
Sets the value of the property onAction.
|
void |
setSelected(boolean selected)
Sets the value of the property selected.
|
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<javafx.event.ActionEvent>> onActionProperty
getOnAction()
,
setOnAction(EventHandler)
public final javafx.beans.property.StringProperty nameProperty
getName()
,
setName(String)
public final javafx.beans.property.StringProperty descriptionProperty
getDescription()
,
setDescription(String)
public final javafx.beans.property.BooleanProperty enabledProperty
getEnabled()
,
setEnabled(boolean)
public final javafx.beans.property.ObjectProperty<javafx.scene.input.KeyCombination> acceleratorProperty
getAccelerator()
,
setAccelerator(String)
public final javafx.beans.property.StringProperty iconProperty
getIcon()
,
setIcon(String)
public final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> imageProperty
getImage()
,
setImage(Image)
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> graphicProperty
getGraphic()
,
setGraphic(Node)
public final javafx.beans.property.BooleanProperty selectedProperty
getSelected()
,
setSelected(boolean)
public final javafx.beans.property.ObjectProperty<javafx.event.EventHandler<javafx.event.ActionEvent>> onActionProperty()
getOnAction()
,
setOnAction(EventHandler)
public void setOnAction(javafx.event.EventHandler<javafx.event.ActionEvent> value)
public javafx.event.EventHandler<javafx.event.ActionEvent> getOnAction()
public final javafx.beans.property.StringProperty nameProperty()
getName()
,
setName(String)
public void setName(String name)
public String getName()
public final javafx.beans.property.StringProperty descriptionProperty()
getDescription()
,
setDescription(String)
public void setDescription(String description)
public String getDescription()
public final javafx.beans.property.BooleanProperty enabledProperty()
getEnabled()
,
setEnabled(boolean)
public void setEnabled(boolean enabled)
public boolean getEnabled()
public void setAccelerator(String accelerator)
public final void setAccelerator(javafx.scene.input.KeyCombination value)
public final javafx.scene.input.KeyCombination getAccelerator()
public final javafx.beans.property.ObjectProperty<javafx.scene.input.KeyCombination> acceleratorProperty()
getAccelerator()
,
setAccelerator(String)
public final javafx.beans.property.StringProperty iconProperty()
getIcon()
,
setIcon(String)
public void setIcon(String icon)
public String getIcon()
public final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> imageProperty()
getImage()
,
setImage(Image)
public void setImage(javafx.scene.image.Image image)
public javafx.scene.image.Image getImage()
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> graphicProperty()
getGraphic()
,
setGraphic(Node)
public void setGraphic(javafx.scene.Node graphic)
public javafx.scene.Node getGraphic()
public final javafx.beans.property.BooleanProperty selectedProperty()
getSelected()
,
setSelected(boolean)
public void setSelected(boolean selected)
public boolean getSelected()