Package | Description |
---|---|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
Modifier and Type | Method and Description |
---|---|
EventHandler<? super ZoomEvent> |
Node.getOnZoom()
Gets the value of the property onZoom.
|
EventHandler<? super ZoomEvent> |
Scene.getOnZoom()
Gets the value of the property onZoom.
|
EventHandler<? super ZoomEvent> |
Node.getOnZoomFinished()
Gets the value of the property onZoomFinished.
|
EventHandler<? super ZoomEvent> |
Scene.getOnZoomFinished()
Gets the value of the property onZoomFinished.
|
EventHandler<? super ZoomEvent> |
Node.getOnZoomStarted()
Gets the value of the property onZoomStarted.
|
EventHandler<? super ZoomEvent> |
Scene.getOnZoomStarted()
Gets the value of the property onZoomStarted.
|
ObjectProperty<EventHandler<? super ZoomEvent>> |
Node.onZoomFinishedProperty()
Defines a function to be called when a zooming gesture ends.
|
ObjectProperty<EventHandler<? super ZoomEvent>> |
Scene.onZoomFinishedProperty()
Defines a function to be called when a zooming gesture ends.
|
ObjectProperty<EventHandler<? super ZoomEvent>> |
Node.onZoomProperty()
Defines a function to be called when user performs a zooming action.
|
ObjectProperty<EventHandler<? super ZoomEvent>> |
Scene.onZoomProperty()
Defines a function to be called when user performs a zooming action.
|
ObjectProperty<EventHandler<? super ZoomEvent>> |
Node.onZoomStartedProperty()
Defines a function to be called when a zooming gesture is detected.
|
ObjectProperty<EventHandler<? super ZoomEvent>> |
Scene.onZoomStartedProperty()
Defines a function to be called when a zooming gesture is detected.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.setOnZoom(EventHandler<? super ZoomEvent> value)
Sets the value of the property onZoom.
|
void |
Scene.setOnZoom(EventHandler<? super ZoomEvent> value)
Sets the value of the property onZoom.
|
void |
Node.setOnZoomFinished(EventHandler<? super ZoomEvent> value)
Sets the value of the property onZoomFinished.
|
void |
Scene.setOnZoomFinished(EventHandler<? super ZoomEvent> value)
Sets the value of the property onZoomFinished.
|
void |
Node.setOnZoomStarted(EventHandler<? super ZoomEvent> value)
Sets the value of the property onZoomStarted.
|
void |
Scene.setOnZoomStarted(EventHandler<? super ZoomEvent> value)
Sets the value of the property onZoomStarted.
|
Modifier and Type | Field and Description |
---|---|
static EventType<ZoomEvent> |
ZoomEvent.ANY
Common supertype for all zoom event types.
|
static EventType<ZoomEvent> |
ZoomEvent.ZOOM
This event occurs when user performs a zooming gesture such as
dragging two fingers apart.
|
static EventType<ZoomEvent> |
ZoomEvent.ZOOM_FINISHED
This event occurs when a zooming gesture ends.
|
static EventType<ZoomEvent> |
ZoomEvent.ZOOM_STARTED
This event occurs when a zooming gesture is detected.
|
Modifier and Type | Method and Description |
---|---|
ZoomEvent |
ZoomEvent.copyFor(Object newSource,
EventTarget newTarget) |
ZoomEvent |
ZoomEvent.copyFor(Object newSource,
EventTarget newTarget,
EventType<ZoomEvent> type)
Creates a copy of the given event with the given fields substituted.
|
Modifier and Type | Method and Description |
---|---|
EventType<ZoomEvent> |
ZoomEvent.getEventType() |
Modifier and Type | Method and Description |
---|---|
ZoomEvent |
ZoomEvent.copyFor(Object newSource,
EventTarget newTarget,
EventType<ZoomEvent> type)
Creates a copy of the given event with the given fields substituted.
|
Constructor and Description |
---|
ZoomEvent(EventType<ZoomEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia,
double zoomFactor,
double totalZoomFactor,
PickResult pickResult)
Constructs new ZoomEvent event with null source and target.
|
ZoomEvent(Object source,
EventTarget target,
EventType<ZoomEvent> eventType,
double x,
double y,
double screenX,
double screenY,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
boolean direct,
boolean inertia,
double zoomFactor,
double totalZoomFactor,
PickResult pickResult)
Constructs new ZoomEvent event.
|
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.