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.StringProperty |
icon |
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() |
String |
getIcon()
Gets the value of the property icon.
|
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() |
javafx.beans.property.StringProperty |
iconProperty() |
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 |
setIcon(String icon)
Sets the value of the property icon.
|
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()
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()
public void setName(String name)
public String getName()
public final javafx.beans.property.StringProperty descriptionProperty()
public void setDescription(String description)
public String getDescription()
public final javafx.beans.property.BooleanProperty enabledProperty()
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()
public final javafx.beans.property.StringProperty iconProperty()
public void setIcon(String icon)
public String getIcon()
public final javafx.beans.property.BooleanProperty selectedProperty()
public void setSelected(boolean selected)
public boolean getSelected()