Package com.sun.javafx.tk
Interface TKSceneListener
public interface TKSceneListener
TKSceneListener - Listener for the Scene Peer TKScene to pass updates and events back to the scene
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changedLocation
(float x, float y) The scenes peer's location have changed so we need to update the scenevoid
changedSize
(float width, float height) The scenes peer's size have changed so we need to update the scenevoid
menuEvent
(double x, double y, double xAbs, double yAbs, boolean isKeyboardTrigger) Pass a key event to the scene to handle
-
Method Details
-
changedLocation
void changedLocation(float x, float y) The scenes peer's location have changed so we need to update the scene- Parameters:
x
- the new Xy
- The new Y
-
changedSize
void changedSize(float width, float height) The scenes peer's size have changed so we need to update the scene- Parameters:
width
- The new Widthheight
- The new Height
-