Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
javafx.concurrent |
Provides the set of classes for javafx.task.
|
javafx.event |
Provides basic framework for FX events, their delivery and handling.
|
javafx.fxml |
Contains classes for loading an object hierarchy from markup.
|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
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.input |
Provides the set of classes for mouse and keyboard input event handling.
|
javafx.scene.media |
Provides the set of classes for integrating audio and video into Java FX
Applications.
|
javafx.scene.web |
This package provides means for loading and displaying Web content.
|
javafx.stage |
Provides the top-level container classes for JavaFX content.
|
Modifier and Type | Class and Description |
---|---|
class |
WorkerStateEvent
An event which occurs whenever the state changes on a Worker.
|
Modifier and Type | Method and Description |
---|---|
<T extends Event> |
Task.addEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Registers an event filter to this task.
|
<T extends Event> |
Service.addEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Registers an event filter to this task.
|
(package private) <T extends Event> |
EventHelper.addEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Registers an event filter to this task.
|
<T extends Event> |
Task.addEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Registers an event handler to this task.
|
<T extends Event> |
Service.addEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Registers an event handler to this task.
|
(package private) <T extends Event> |
EventHelper.addEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Registers an event handler to this task.
|
<T extends Event> |
Task.removeEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Unregisters a previously registered event filter from this task.
|
<T extends Event> |
Service.removeEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Unregisters a previously registered event filter from this task.
|
(package private) <T extends Event> |
EventHelper.removeEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Unregisters a previously registered event filter from this task.
|
<T extends Event> |
Task.removeEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Unregisters a previously registered event handler from this task.
|
<T extends Event> |
Service.removeEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Unregisters a previously registered event handler from this task.
|
(package private) <T extends Event> |
EventHelper.removeEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Unregisters a previously registered event handler from this task.
|
protected <T extends Event> |
Task.setEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Sets the handler to use for this event type.
|
protected <T extends Event> |
Service.setEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Sets the handler to use for this event type.
|
(package private) <T extends Event> |
EventHelper.setEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Sets the handler to use for this event type.
|
Modifier and Type | Method and Description |
---|---|
void |
Task.fireEvent(Event event)
Fires the specified event.
|
protected void |
Service.fireEvent(Event event)
Fires the specified event.
|
(package private) void |
EventHelper.fireEvent(Event event)
Fires the specified event.
|
Modifier and Type | Interface and Description |
---|---|
interface |
EventHandler<T extends Event>
Handler for events of a specific class / type.
|
class |
EventType<T extends Event>
This class represents a specific event type associated with an
Event . |
Modifier and Type | Class and Description |
---|---|
class |
ActionEvent
An
Event representing some type of action. |
Modifier and Type | Field and Description |
---|---|
static EventType<Event> |
Event.ANY
Common supertype for all event types.
|
protected EventType<? extends Event> |
Event.eventType
Type of the event.
|
static EventType<Event> |
EventType.ROOT
The root event type.
|
Modifier and Type | Method and Description |
---|---|
Event |
Event.copyFor(java.lang.Object newSource,
EventTarget newTarget)
Creates and returns a copy of this event with the specified event source
and target.
|
Event |
EventDispatchChain.dispatchEvent(Event event)
Dispatches the specified event through this
EventDispatchChain . |
Event |
EventDispatcher.dispatchEvent(Event event,
EventDispatchChain tail)
Dispatches the specified event by this
EventDispatcher . |
Modifier and Type | Method and Description |
---|---|
EventType<? extends Event> |
Event.getEventType()
Gets the event type of this event.
|
Modifier and Type | Method and Description |
---|---|
Event |
EventDispatchChain.dispatchEvent(Event event)
Dispatches the specified event through this
EventDispatchChain . |
Event |
EventDispatcher.dispatchEvent(Event event,
EventDispatchChain tail)
Dispatches the specified event by this
EventDispatcher . |
static void |
Event.fireEvent(EventTarget eventTarget,
Event event)
Fires the specified event.
|
Constructor and Description |
---|
Event(EventType<? extends Event> eventType)
Construct a new
Event with the specified event type. |
Event(java.lang.Object source,
EventTarget target,
EventType<? extends Event> eventType)
Construct a new
Event with the specified event source, target
and type. |
Modifier and Type | Method and Description |
---|---|
void |
FXMLLoader.ControllerMethodEventHandler.handle(Event event) |
void |
FXMLLoader.ScriptEventHandler.handle(Event event) |
Modifier and Type | Method and Description |
---|---|
private void |
FXMLLoader.Element.addEventHandler(FXMLLoader.Attribute attribute,
EventHandler<? extends Event> eventHandler) |
Modifier and Type | Method and Description |
---|---|
<T extends Event> |
Scene.addEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Registers an event filter to this scene.
|
<T extends Event> |
Node.addEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Registers an event filter to this node.
|
<T extends Event> |
Scene.addEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Registers an event handler to this scene.
|
<T extends Event> |
Node.addEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Registers an event handler to this node.
|
<T extends Event> |
Scene.removeEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Unregisters a previously registered event filter from this scene.
|
<T extends Event> |
Node.removeEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Unregisters a previously registered event filter from this node.
|
<T extends Event> |
Scene.removeEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Unregisters a previously registered event handler from this scene.
|
<T extends Event> |
Node.removeEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Unregisters a previously registered event handler from this node.
|
protected <T extends Event> |
Scene.setEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Sets the handler to use for this event type.
|
protected <T extends Event> |
Node.setEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Sets the handler to use for this event type.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.fireEvent(Event event)
Fires the specified event.
|
private void |
Scene.DnDGesture.fireEvent(EventTarget target,
Event e)
Fires event on a given target or on scene if the node is null
|
Modifier and Type | Class and Description |
---|---|
static class |
CheckBoxTreeItem.TreeModificationEvent<T>
A TreeModificationEvent class that works in a similar vein to the
TreeItem.TreeModificationEvent class, in that
this event will bubble up the CheckBoxTreeItem hierarchy, until the parent
node is null. |
static class |
ListView.EditEvent<T>
An
Event subclass used specifically in ListView for representing
edit-related events. |
static class |
TableColumn.CellEditEvent<S,T>
An event that is fired when a user performs an edit on a table cell.
|
static class |
TreeItem.TreeModificationEvent<T>
An
Event that contains relevant information for all forms of
TreeItem modifications. |
static class |
TreeView.EditEvent<T>
An
Event subclass used specifically in TreeView for representing
edit-related events. |
Modifier and Type | Field and Description |
---|---|
static EventType<Event> |
Tab.CLOSED_EVENT
Called when a user closes this tab.
|
EventType<Event> |
MenuItem.MENU_VALIDATION_EVENT
Called when a accelerator for the Menuitem is invoked
|
static EventType<Event> |
Menu.ON_HIDDEN
Called when the contentMenu for this menu is hidden.
|
static EventType<Event> |
ComboBoxBase.ON_HIDDEN
Called when the ComboBox popup/display has been hidden.
|
static EventType<Event> |
Menu.ON_HIDING
Called when the contentMenu for this menu will be hidden.
|
static EventType<Event> |
ComboBoxBase.ON_HIDING
Called when the ComboBox popup/display will be hidden.
|
static EventType<Event> |
Menu.ON_SHOWING
Called when the contentMenu for this menu will be shown.
|
static EventType<Event> |
ComboBoxBase.ON_SHOWING
Called prior to the ComboBox showing its popup/display after the user
has clicked or otherwise interacted with the ComboBox.
|
static EventType<Event> |
Menu.ON_SHOWN
Called when the contentMenu for this menu shows.
|
static EventType<Event> |
ComboBoxBase.ON_SHOWN
Called after the ComboBox has shown its popup/display.
|
private ObjectProperty<EventHandler<Event>> |
Tab.onClosed |
private EventHandler<Event> |
TabBuilder.onClosed |
private ObjectProperty<EventHandler<Event>> |
Menu.onHidden |
private ObjectProperty<EventHandler<Event>> |
ComboBoxBase.onHidden |
private EventHandler<Event> |
MenuBuilder.onHidden |
private EventHandler<Event> |
ComboBoxBaseBuilder.onHidden |
private ObjectProperty<EventHandler<Event>> |
Menu.onHiding |
private ObjectProperty<EventHandler<Event>> |
ComboBoxBase.onHiding |
private EventHandler<Event> |
MenuBuilder.onHiding |
private EventHandler<Event> |
ComboBoxBaseBuilder.onHiding |
private ObjectProperty<EventHandler<Event>> |
MenuItem.onMenuValidation
The event handler that is associated with invocation of an accelerator for a MenuItem.
|
private EventHandler<Event> |
MenuItemBuilder.onMenuValidation |
private ObjectProperty<EventHandler<Event>> |
Tab.onSelectionChanged |
private EventHandler<Event> |
TabBuilder.onSelectionChanged |
private ObjectProperty<EventHandler<Event>> |
Menu.onShowing |
private ObjectProperty<EventHandler<Event>> |
ComboBoxBase.onShowing |
private EventHandler<Event> |
MenuBuilder.onShowing |
private EventHandler<Event> |
ComboBoxBaseBuilder.onShowing |
private ObjectProperty<EventHandler<Event>> |
Menu.onShown |
private ObjectProperty<EventHandler<Event>> |
ComboBoxBase.onShown |
private EventHandler<Event> |
MenuBuilder.onShown |
private EventHandler<Event> |
ComboBoxBaseBuilder.onShown |
static EventType<Event> |
Tab.SELECTION_CHANGED_EVENT
Called when the tab becomes selected or unselected.
|
Modifier and Type | Method and Description |
---|---|
<E extends Event> |
TreeItem.addEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler)
Registers an event handler to this TreeItem.
|
<E extends Event> |
TableColumn.addEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler)
Registers an event handler to this TableColumn.
|
<E extends Event> |
MenuItem.addEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler)
Registers an event handler to this MenuItem.
|
<E extends Event> |
Menu.addEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler) |
<E extends Event> |
TreeItem.removeEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler)
Unregisters a previously registered event handler from this TreeItem.
|
<E extends Event> |
TableColumn.removeEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler)
Unregisters a previously registered event handler from this TableColumn.
|
<E extends Event> |
MenuItem.removeEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler)
Unregisters a previously registered event handler from this MenuItem.
|
<E extends Event> |
Menu.removeEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler) |
protected <E extends Event> |
Tab.setEventHandler(EventType<E> eventType,
EventHandler<E> eventHandler)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Modifier and Type | Method and Description |
---|---|
EventHandler<Event> |
Tab.getOnClosed()
The event handler that is associated with the tab when the tab is closed.
|
EventHandler<Event> |
Menu.getOnHidden()
Gets the value of the property onHidden.
|
EventHandler<Event> |
ComboBoxBase.getOnHidden()
Gets the value of the property onHidden.
|
EventHandler<Event> |
Menu.getOnHiding()
Gets the value of the property onHiding.
|
EventHandler<Event> |
ComboBoxBase.getOnHiding()
Gets the value of the property onHiding.
|
EventHandler<Event> |
MenuItem.getOnMenuValidation()
Gets the value of the property onMenuValidation.
|
EventHandler<Event> |
Tab.getOnSelectionChanged()
The event handler that is associated with a selection on the tab.
|
EventHandler<Event> |
Menu.getOnShowing()
Gets the value of the property onShowing.
|
EventHandler<Event> |
ComboBoxBase.getOnShowing()
Gets the value of the property onShowing.
|
EventHandler<Event> |
Menu.getOnShown()
Gets the value of the property onShown.
|
EventHandler<Event> |
ComboBoxBase.getOnShown()
Gets the value of the property onShown.
|
ObjectProperty<EventHandler<Event>> |
Tab.onClosedProperty()
The event handler that is associated with the tab when the tab is closed.
|
ObjectProperty<EventHandler<Event>> |
Menu.onHiddenProperty() |
ObjectProperty<EventHandler<Event>> |
ComboBoxBase.onHiddenProperty() |
ObjectProperty<EventHandler<Event>> |
Menu.onHidingProperty() |
ObjectProperty<EventHandler<Event>> |
ComboBoxBase.onHidingProperty() |
ObjectProperty<EventHandler<Event>> |
MenuItem.onMenuValidationProperty()
The event handler that is associated with invocation of an accelerator for a MenuItem.
|
ObjectProperty<EventHandler<Event>> |
Tab.onSelectionChangedProperty()
The event handler that is associated with a selection on the tab.
|
ObjectProperty<EventHandler<Event>> |
Menu.onShowingProperty() |
ObjectProperty<EventHandler<Event>> |
ComboBoxBase.onShowingProperty() |
ObjectProperty<EventHandler<Event>> |
Menu.onShownProperty() |
ObjectProperty<EventHandler<Event>> |
ComboBoxBase.onShownProperty() |
Modifier and Type | Method and Description |
---|---|
B |
TabBuilder.onClosed(EventHandler<Event> x)
Set the value of the
onClosed property for the instance constructed by this builder. |
B |
MenuBuilder.onHidden(EventHandler<Event> x)
Set the value of the
onHidden property for the instance constructed by this builder. |
B |
ComboBoxBaseBuilder.onHidden(EventHandler<Event> x)
Set the value of the
onHidden property for the instance constructed by this builder. |
B |
MenuBuilder.onHiding(EventHandler<Event> x)
Set the value of the
onHiding property for the instance constructed by this builder. |
B |
ComboBoxBaseBuilder.onHiding(EventHandler<Event> x)
Set the value of the
onHiding property for the instance constructed by this builder. |
B |
MenuItemBuilder.onMenuValidation(EventHandler<Event> x)
Set the value of the
onMenuValidation property for the instance constructed by this builder. |
B |
TabBuilder.onSelectionChanged(EventHandler<Event> x)
Set the value of the
onSelectionChanged property for the instance constructed by this builder. |
B |
MenuBuilder.onShowing(EventHandler<Event> x)
Set the value of the
onShowing property for the instance constructed by this builder. |
B |
ComboBoxBaseBuilder.onShowing(EventHandler<Event> x)
Set the value of the
onShowing property for the instance constructed by this builder. |
B |
MenuBuilder.onShown(EventHandler<Event> x)
Set the value of the
onShown property for the instance constructed by this builder. |
B |
ComboBoxBaseBuilder.onShown(EventHandler<Event> x)
Set the value of the
onShown property for the instance constructed by this builder. |
void |
Tab.setOnClosed(EventHandler<Event> value)
Defines a function to be called when the tab is closed.
|
void |
Menu.setOnHidden(EventHandler<Event> value)
Called just after the
ContextMenu has been hidden. |
void |
ComboBoxBase.setOnHidden(EventHandler<Event> value)
Called just after the
ComboBoxBase popup/display has been hidden. |
void |
Menu.setOnHiding(EventHandler<Event> value)
Called just prior to the
ContextMenu being hidden. |
void |
ComboBoxBase.setOnHiding(EventHandler<Event> value)
Called just prior to the
ComboBox popup/display being hidden. |
void |
MenuItem.setOnMenuValidation(EventHandler<Event> value)
Sets the value of the property onMenuValidation.
|
void |
Tab.setOnSelectionChanged(EventHandler<Event> value)
Defines a function to be called when a selection changed has occurred on the tab.
|
void |
Menu.setOnShowing(EventHandler<Event> value)
Called just prior to the
ContextMenu being shown, even if the menu has
no items to show. |
void |
ComboBoxBase.setOnShowing(EventHandler<Event> value)
Called just prior to the
ComboBoxBase popup/display being shown, |
void |
Menu.setOnShown(EventHandler<Event> value)
Called just after the
ContextMenu is shown. |
void |
ComboBoxBase.setOnShown(EventHandler<Event> value)
Called just after the
ComboBoxBase popup/display is shown. |
Constructor and Description |
---|
CheckBoxTreeItem.TreeModificationEvent(EventType<? extends Event> eventType,
CheckBoxTreeItem<T> treeItem,
boolean selectionChanged)
Creates a default TreeModificationEvent instance to represent the
change in selection/indeterminate states for the given CheckBoxTreeItem
instance.
|
TreeItem.TreeModificationEvent(EventType<? extends Event> eventType,
TreeItem<T> treeItem)
Constructs a basic TreeModificationEvent - this is useful in situations
where the tree item has not received a new value, has not changed
between expanded/collapsed states, and whose children has not changed.
|
TreeItem.TreeModificationEvent(EventType<? extends Event> eventType,
TreeItem<T> treeItem,
boolean expanded)
Constructs a TreeModificationEvent for when the TreeItem has had its
TreeItem.expandedProperty() changed. |
TreeItem.TreeModificationEvent(EventType<? extends Event> eventType,
TreeItem<T> treeItem,
java.util.List<? extends TreeItem<T>> added,
java.util.List<? extends TreeItem<T>> removed)
Constructs a TreeModificationEvent for when the TreeItem has had its
children list changed.
|
TreeItem.TreeModificationEvent(EventType<? extends Event> eventType,
TreeItem<T> treeItem,
T newValue)
Constructs a TreeModificationEvent for when the TreeItem has had its
TreeItem.valueProperty() changed. |
Modifier and Type | Class and Description |
---|---|
class |
ContextMenuEvent
When the user requests a context menu, this event occurs.
|
class |
DragEvent
Drag events replace mouse events during drag-and-drop gesture.
|
class |
GestureEvent
An event indicating gesture input.
|
class |
InputEvent
An event indicating a user input.
|
class |
InputMethodEvent
An event which indicates that the underlying input method notifies its
text change in a
Node . |
class |
KeyEvent
An event which indicates that a keystroke occurred in a
Node . |
class |
MouseDragEvent
Mouse drag events are delivered to potential gesture targets during
full press-drag-release gestures.
|
class |
MouseEvent
When mouse event occurs, the top-most node under cursor is picked and
the event is delivered to it through capturing and bubbling phases
described at
EventDispatcher . |
class |
RotateEvent
Rotate event indicates that user performed rotating gesture such as
dragging two fingers around each other on track pad,
touch screen or other similar device.
|
class |
ScrollEvent
Scroll event indicates that user performed scrolling by mouse wheel,
track pad, touch screen or other similar device.
|
class |
SwipeEvent
Swipe event indicates that user performed a swipe gesture such as
dragging a finger in one direction on touch screen.
|
class |
TouchEvent
Touch event indicates a touch screen action.
|
class |
ZoomEvent
Zoom event indicates that user performed zooming gesture such as
dragging two fingers apart on track pad, touch screen or other
similar device.
|
Modifier and Type | Method and Description |
---|---|
Event |
TouchEvent.copyFor(java.lang.Object newSource,
EventTarget newTarget) |
Event |
MouseEvent.copyFor(java.lang.Object newSource,
EventTarget newTarget)
Copies this event for a different source and target.
|
Event |
GestureEvent.copyFor(java.lang.Object newSource,
EventTarget newTarget) |
Event |
DragEvent.copyFor(java.lang.Object newSource,
EventTarget newTarget) |
Event |
ContextMenuEvent.copyFor(java.lang.Object newSource,
EventTarget newTarget) |
Modifier and Type | Class and Description |
---|---|
class |
MediaErrorEvent
An
Event representing the occurrence of an error in handling media. |
class |
MediaMarkerEvent
An
ActionEvent representing a media marker. |
Modifier and Type | Class and Description |
---|---|
class |
WebEvent<T>
WebEvent instances are passed into EventHandler s registered
with a WebEngine by JavaScript running on a Web page. |
Modifier and Type | Class and Description |
---|---|
class |
WindowEvent
Event related to window showing/hiding actions.
|
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<EventHandler<Event>> |
PopupWindow.onAutoHide
Called after autoHide is run.
|
private EventHandler<Event> |
PopupWindowBuilder.onAutoHide |
Modifier and Type | Method and Description |
---|---|
<T extends Event> |
Window.addEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Registers an event filter to this node.
|
<T extends Event> |
Window.addEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Registers an event handler to this node.
|
<T extends Event> |
Window.removeEventFilter(EventType<T> eventType,
EventHandler<? super T> eventFilter)
Unregisters a previously registered event filter from this node.
|
<T extends Event> |
Window.removeEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Unregisters a previously registered event handler from this node.
|
protected <T extends Event> |
Window.setEventHandler(EventType<T> eventType,
EventHandler<? super T> eventHandler)
Sets the handler to use for this event type.
|
Modifier and Type | Method and Description |
---|---|
EventHandler<Event> |
PopupWindow.getOnAutoHide()
Gets the value of the property onAutoHide.
|
ObjectProperty<EventHandler<Event>> |
PopupWindow.onAutoHideProperty()
Called after autoHide is run.
|
Modifier and Type | Method and Description |
---|---|
void |
Window.fireEvent(Event event)
Fires the specified event.
|
private void |
PopupWindow.PopupEventRedirector.handleEscapeKeyPressedEvent(Event event) |
private void |
PopupWindow.PopupEventRedirector.handleMousePressedEvent(java.lang.Object eventSource,
Event event) |
protected void |
PopupWindow.PopupEventRedirector.handleRedirectedEvent(java.lang.Object eventSource,
Event event) |
private boolean |
PopupWindow.PopupEventRedirector.isOwnerNodeEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
B |
PopupWindowBuilder.onAutoHide(EventHandler<Event> x)
Set the value of the
onAutoHide property for the instance constructed by this builder. |
void |
PopupWindow.setOnAutoHide(EventHandler<Event> value)
Sets the value of the property onAutoHide.
|
Constructor and Description |
---|
WindowEvent(Window source,
EventType<? extends Event> eventType)
Construct a new
Event with the specified event source, target
and type. |
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to