Package | Description |
---|---|
javafx.animation |
Provides the set of classes for ease of use transition based animations.
|
javafx.event |
Provides basic framework for FX events, their delivery and handling.
|
javafx.scene.control |
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
|
javafx.scene.media |
Provides the set of classes for integrating audio and video into Java FX
Applications.
|
Modifier and Type | Method and Description |
---|---|
EventHandler<ActionEvent> |
Animation.getOnFinished()
Gets the value of the property onFinished.
|
EventHandler<ActionEvent> |
KeyFrame.getOnFinished()
Returns the
onFinished event handler of this KeyFrame . |
ObjectProperty<EventHandler<ActionEvent>> |
Animation.onFinishedProperty()
The action to be executed at the conclusion of this
Animation . |
Modifier and Type | Method and Description |
---|---|
void |
Animation.setOnFinished(EventHandler<ActionEvent> value)
Sets the value of the property onFinished.
|
Constructor and Description |
---|
KeyFrame(Duration time,
EventHandler<ActionEvent> onFinished,
KeyValue... values)
Constructor of
KeyFrame |
KeyFrame(Duration time,
String name,
EventHandler<ActionEvent> onFinished,
Collection<KeyValue> values)
Constructor of
KeyFrame |
KeyFrame(Duration time,
String name,
EventHandler<ActionEvent> onFinished,
KeyValue... values)
Constructor of
KeyFrame |
Modifier and Type | Field and Description |
---|---|
static EventType<ActionEvent> |
ActionEvent.ACTION
The only valid EventType for the ActionEvent.
|
static EventType<ActionEvent> |
ActionEvent.ANY
Common supertype for all action event types.
|
Modifier and Type | Method and Description |
---|---|
ActionEvent |
ActionEvent.copyFor(Object newSource,
EventTarget newTarget) |
Modifier and Type | Method and Description |
---|---|
EventType<? extends ActionEvent> |
ActionEvent.getEventType() |
Modifier and Type | Method and Description |
---|---|
EventHandler<ActionEvent> |
ButtonBase.getOnAction()
Gets the value of the property onAction.
|
EventHandler<ActionEvent> |
ChoiceBox.getOnAction()
Gets the value of the property onAction.
|
EventHandler<ActionEvent> |
ComboBoxBase.getOnAction()
Gets the value of the property onAction.
|
EventHandler<ActionEvent> |
ContextMenu.getOnAction()
Gets the value of the property onAction.
|
EventHandler<ActionEvent> |
MenuItem.getOnAction()
Gets the value of the property onAction.
|
EventHandler<ActionEvent> |
TextField.getOnAction()
Gets the value of the property onAction.
|
ObjectProperty<EventHandler<ActionEvent>> |
ButtonBase.onActionProperty()
The button's action, which is invoked whenever the button is fired.
|
ObjectProperty<EventHandler<ActionEvent>> |
ChoiceBox.onActionProperty()
The ChoiceBox action, which is invoked whenever the ChoiceBox
value property is changed. |
ObjectProperty<EventHandler<ActionEvent>> |
ComboBoxBase.onActionProperty()
The ComboBox action, which is invoked whenever the ComboBox
value property is changed. |
ObjectProperty<EventHandler<ActionEvent>> |
ContextMenu.onActionProperty()
Callback function to be informed when an item contained within this
ContextMenu has been activated. |
ObjectProperty<EventHandler<ActionEvent>> |
MenuItem.onActionProperty()
The action, which is invoked whenever the MenuItem is fired.
|
ObjectProperty<EventHandler<ActionEvent>> |
TextField.onActionProperty()
The action handler associated with this text field, or
null if no action handler is assigned.
|
Modifier and Type | Method and Description |
---|---|
void |
ButtonBase.setOnAction(EventHandler<ActionEvent> value)
Sets the value of the property onAction.
|
void |
ChoiceBox.setOnAction(EventHandler<ActionEvent> value)
Sets the value of the property onAction.
|
void |
ComboBoxBase.setOnAction(EventHandler<ActionEvent> value)
Sets the value of the property onAction.
|
void |
ContextMenu.setOnAction(EventHandler<ActionEvent> value)
Sets the value of the property onAction.
|
void |
MenuItem.setOnAction(EventHandler<ActionEvent> value)
Sets the value of the property onAction.
|
void |
TextField.setOnAction(EventHandler<ActionEvent> value)
Sets the value of the property onAction.
|
Modifier and Type | Class and Description |
---|---|
class |
MediaMarkerEvent
An
ActionEvent representing a media marker. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.