Spec-Zone .ru
спецификации, руководства, описания, API
|
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 |
mouseEvent(java.lang.Object event)
Pass a mouse event to the scene to handle
|
void |
scrollEvent(double scrollX,
double scrollY,
double xMultiplier,
double yMultiplier,
int scrollTextX,
int scrollTextY,
int defaultTextX,
int defaultTextY,
double x,
double y,
double screenX,
double screenY,
boolean _shiftDown,
boolean _controlDown,
boolean _altDown,
boolean _metaDown) |
public void changedLocation(float x, float y)
com.sun.javafx.tk.TKSceneListener
changedLocation
in interface com.sun.javafx.tk.TKSceneListener
x
- the new Xy
- The new Ypublic void changedSize(float w, float h)
com.sun.javafx.tk.TKSceneListener
changedSize
in interface com.sun.javafx.tk.TKSceneListener
w
- The new Widthh
- The new Heightpublic void mouseEvent(java.lang.Object event)
com.sun.javafx.tk.TKSceneListener
mouseEvent
in interface com.sun.javafx.tk.TKSceneListener
event
- The event, this should be of type javafx.scene.input.MouseEventpublic void keyEvent(java.lang.Object event)
com.sun.javafx.tk.TKSceneListener
keyEvent
in interface com.sun.javafx.tk.TKSceneListener
event
- The event, this should be of type javafx.scene.input.KeyEventpublic void inputMethodEvent(java.lang.Object event)
com.sun.javafx.tk.TKSceneListener
inputMethodEvent
in interface com.sun.javafx.tk.TKSceneListener
event
- The event, this should be of type
javafx.scene.input.InputMethodEventpublic void scrollEvent(double scrollX, double scrollY, double xMultiplier, double yMultiplier, int scrollTextX, int scrollTextY, int defaultTextX, int defaultTextY, double x, double y, double screenX, double screenY, boolean _shiftDown, boolean _controlDown, boolean _altDown, boolean _metaDown)
scrollEvent
in interface com.sun.javafx.tk.TKSceneListener
Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. Use is subject to