public class JavaFXAction
extends java.lang.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 |
graphicStyleClass |
javafx.beans.property.StringProperty |
graphicStyle |
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 |
javafx.beans.property.StringProperty |
styleClass |
javafx.beans.property.StringProperty |
style |
javafx.beans.property.BooleanProperty |
visible |
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.
|
java.lang.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.
|
java.lang.String |
getGraphicStyle()
Gets the value of the property graphicStyle.
|
java.lang.String |
getGraphicStyleClass()
Gets the value of the property graphicStyleClass.
|
java.lang.String |
getIcon()
Gets the value of the property icon.
|
javafx.scene.image.Image |
getImage()
Gets the value of the property image.
|
java.lang.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.
|
java.lang.String |
getStyle()
Gets the value of the property style.
|
java.lang.String |
getStyleClass()
Gets the value of the property styleClass.
|
boolean |
getVisible()
Gets the value of the property visible.
|
javafx.beans.property.ObjectProperty<javafx.scene.Node> |
graphicProperty() |
javafx.beans.property.StringProperty |
graphicStyleClassProperty() |
javafx.beans.property.StringProperty |
graphicStyleProperty() |
javafx.beans.property.StringProperty |
iconProperty() |
javafx.beans.property.ObjectProperty<javafx.scene.image.Image> |
imageProperty() |
boolean |
isEnabled() |
boolean |
isSelected() |
boolean |
isVisible() |
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(java.lang.String accelerator)
Sets the value of the property accelerator.
|
void |
setDescription(java.lang.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 |
setGraphicStyle(java.lang.String graphicStyle)
Sets the value of the property graphicStyle.
|
void |
setGraphicStyleClass(java.lang.String graphicStyleClass)
Sets the value of the property graphicStyleClass.
|
void |
setIcon(java.lang.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(java.lang.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.
|
void |
setStyle(java.lang.String style)
Sets the value of the property style.
|
void |
setStyleClass(java.lang.String styleClass)
Sets the value of the property styleClass.
|
void |
setVisible(boolean visible)
Sets the value of the property visible.
|
javafx.beans.property.StringProperty |
styleClassProperty() |
javafx.beans.property.StringProperty |
styleProperty() |
javafx.beans.property.BooleanProperty |
visibleProperty() |
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.BooleanProperty visibleProperty
getVisible()
,
setVisible(boolean)
public final javafx.beans.property.StringProperty styleClassProperty
getStyleClass()
,
setStyleClass(String)
public final javafx.beans.property.StringProperty styleProperty
getStyle()
,
setStyle(String)
public final javafx.beans.property.StringProperty graphicStyleClassProperty
public final javafx.beans.property.StringProperty graphicStyleProperty
getGraphicStyle()
,
setGraphicStyle(String)
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(java.lang.String name)
public java.lang.String getName()
public final javafx.beans.property.StringProperty descriptionProperty()
getDescription()
,
setDescription(String)
public void setDescription(java.lang.String description)
public java.lang.String getDescription()
public final javafx.beans.property.BooleanProperty enabledProperty()
getEnabled()
,
setEnabled(boolean)
public void setEnabled(boolean enabled)
public boolean getEnabled()
public boolean isEnabled()
public void setAccelerator(java.lang.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(java.lang.String icon)
public java.lang.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()
public boolean isSelected()
public final javafx.beans.property.BooleanProperty visibleProperty()
getVisible()
,
setVisible(boolean)
public void setVisible(boolean visible)
public boolean getVisible()
public boolean isVisible()
public final javafx.beans.property.StringProperty styleClassProperty()
getStyleClass()
,
setStyleClass(String)
public void setStyleClass(java.lang.String styleClass)
public java.lang.String getStyleClass()
public final javafx.beans.property.StringProperty styleProperty()
getStyle()
,
setStyle(String)
public void setStyle(java.lang.String style)
public java.lang.String getStyle()
public final javafx.beans.property.StringProperty graphicStyleClassProperty()
public void setGraphicStyleClass(java.lang.String graphicStyleClass)
public java.lang.String getGraphicStyleClass()
public final javafx.beans.property.StringProperty graphicStyleProperty()
getGraphicStyle()
,
setGraphicStyle(String)
public void setGraphicStyle(java.lang.String graphicStyle)
public java.lang.String getGraphicStyle()