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()
Gets the value of the property enabled.
|
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()
Gets the value of the property selected.
|
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
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.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.BooleanProperty selectedProperty()
getSelected()
,
setSelected(boolean)
public void setSelected(boolean selected)
public boolean getSelected()