class Scene.ScenePeerListener
extends java.lang.Object
implements com.sun.javafx.tk.TKSceneListener
| Modifier and Type | Method and Description |
|---|---|
void |
changedLocation(float x,
float y)
The scenes peer's location have changed so we need to update the scene
|
void |
changedSize(float w,
float h)
The scenes peer's size have changed so we need to update the scene
|
void |
inputMethodEvent(java.lang.Object event)
Pass an input method event to the scene to handle
|
void |
keyEvent(java.lang.Object event)
Pass a key event to the scene to handle
|
void |
menuEvent(double x,
double y,
double xAbs,
double yAbs,
boolean isKeyboardTrigger) |
void |
mouseEvent(java.lang.Object event)
Pass a mouse event to the scene to handle
|
void |
rotateEvent(EventType<RotateEvent> eventType,
double angle,
double totalAngle,
double x,
double y,
double screenX,
double screenY,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _direct,
boolean _inertia) |
void |
scrollEvent(EventType<ScrollEvent> eventType,
double scrollX,
double scrollY,
double totalScrollX,
double totalScrollY,
double xMultiplier,
double yMultiplier,
int touchCount,
int scrollTextX,
int scrollTextY,
int defaultTextX,
int defaultTextY,
double x,
double y,
double screenX,
double screenY,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _direct,
boolean _inertia) |
void |
swipeEvent(EventType<SwipeEvent> eventType,
int touchCount,
double x,
double y,
double screenX,
double screenY,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _direct) |
void |
touchEventBegin(long time,
int touchCount,
boolean isDirect,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown) |
void |
touchEventEnd() |
void |
touchEventNext(TouchPoint.State state,
long touchId,
int x,
int y,
int xAbs,
int yAbs) |
void |
zoomEvent(EventType<ZoomEvent> eventType,
double zoomFactor,
double totalZoomFactor,
double x,
double y,
double screenX,
double screenY,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown,
boolean _direct,
boolean _inertia) |
public void changedLocation(float x,
float y)
com.sun.javafx.tk.TKSceneListenerchangedLocation in interface com.sun.javafx.tk.TKSceneListenerx - the new Xy - The new Ypublic void changedSize(float w,
float h)
com.sun.javafx.tk.TKSceneListenerchangedSize in interface com.sun.javafx.tk.TKSceneListenerw - The new Widthh - The new Heightpublic void mouseEvent(java.lang.Object event)
com.sun.javafx.tk.TKSceneListenermouseEvent in interface com.sun.javafx.tk.TKSceneListenerevent - The event, this should be of type javafx.scene.input.MouseEventpublic void keyEvent(java.lang.Object event)
com.sun.javafx.tk.TKSceneListenerkeyEvent in interface com.sun.javafx.tk.TKSceneListenerevent - The event, this should be of type javafx.scene.input.KeyEventpublic void inputMethodEvent(java.lang.Object event)
com.sun.javafx.tk.TKSceneListenerinputMethodEvent in interface com.sun.javafx.tk.TKSceneListenerevent - The event, this should be of type
javafx.scene.input.InputMethodEventpublic void menuEvent(double x,
double y,
double xAbs,
double yAbs,
boolean isKeyboardTrigger)
menuEvent in interface com.sun.javafx.tk.TKSceneListenerpublic void scrollEvent(EventType<ScrollEvent> eventType, double scrollX, double scrollY, double totalScrollX, double totalScrollY, double xMultiplier, double yMultiplier, int touchCount, int scrollTextX, int scrollTextY, int defaultTextX, int defaultTextY, double x, double y, double screenX, double screenY, boolean _shiftDown, boolean _controlDown, boolean _altDown, boolean _metaDown, boolean _direct, boolean _inertia)
scrollEvent in interface com.sun.javafx.tk.TKSceneListenerpublic void zoomEvent(EventType<ZoomEvent> eventType, double zoomFactor, double totalZoomFactor, double x, double y, double screenX, double screenY, boolean _shiftDown, boolean _controlDown, boolean _altDown, boolean _metaDown, boolean _direct, boolean _inertia)
zoomEvent in interface com.sun.javafx.tk.TKSceneListenerpublic void rotateEvent(EventType<RotateEvent> eventType, double angle, double totalAngle, double x, double y, double screenX, double screenY, boolean _shiftDown, boolean _controlDown, boolean _altDown, boolean _metaDown, boolean _direct, boolean _inertia)
rotateEvent in interface com.sun.javafx.tk.TKSceneListenerpublic void swipeEvent(EventType<SwipeEvent> eventType, int touchCount, double x, double y, double screenX, double screenY, boolean _shiftDown, boolean _controlDown, boolean _altDown, boolean _metaDown, boolean _direct)
swipeEvent in interface com.sun.javafx.tk.TKSceneListenerpublic void touchEventBegin(long time,
int touchCount,
boolean isDirect,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown)
touchEventBegin in interface com.sun.javafx.tk.TKSceneListenerpublic void touchEventNext(TouchPoint.State state, long touchId, int x, int y, int xAbs, int yAbs)
touchEventNext in interface com.sun.javafx.tk.TKSceneListenerpublic void touchEventEnd()
touchEventEnd in interface com.sun.javafx.tk.TKSceneListenerCopyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.