Top Description Methods
com.sun.javafx.embed

public Interface EmbeddedSceneInterface

Known Direct Implementers
com.sun.javafx.tk.quantum.EmbeddedScene
Imports
java.nio.IntBuffer, com.sun.javafx.scene.traversal.Direction, javafx.collections.ObservableList, javafx.event.EventType, javafx.scene.image.PixelFormat, javafx.scene.input.InputMethodEvent, .InputMethodRequests, .InputMethodTextRun

An interface for embedded FX scene peer. It is used by HostInterface object to send various notifications to the scene, for example, when an input event is received in the host application and should be forwarded to FX.

Method Summary

Modifier and TypeMethod and Description
public EmbeddedSceneDTInterface
public InputMethodRequests
public PixelFormat<?>
public boolean
getPixels(IntBuffer dest, int width, int height)

public void
inputMethodEvent(EventType<InputMethodEvent> type, ObservableList<InputMethodTextRun> composed, String committed, int caretPosition)

public void
keyEvent(int type, int key, char[] chars, int modifiers)

public void
mouseEvent(int type, int button, boolean primaryBtnDown, boolean middleBtnDown, boolean secondaryBtnDown, boolean backBtnDown, boolean forwardBtnDown, int x, int y, int xAbs, int yAbs, boolean shift, boolean ctrl, boolean alt, boolean meta, boolean popupTrigger)

public void
rotateEvent(final int type, final double angle, final double totalAngle, final double x, final double y, final double screenX, final double screenY, boolean shift, boolean ctrl, boolean alt, boolean meta, boolean inertia)

public void
scrollEvent(int type, double scrollX, double scrollY, double totalScrollX, double totalScrollY, double xMultiplier, double yMultiplier, double x, double y, double screenX, double screenY, boolean shift, boolean ctrl, boolean alt, boolean meta, boolean inertia)

public void
public void
setPixelScaleFactors(float scalex, float scaley)

public void
setSize(int width, int height)

public void
swipeEvent(final int type, final double x, final double y, final double screenX, final double screenY, boolean shift, boolean ctrl, boolean alt, boolean meta)

public boolean
public void
zoomEvent(final int type, final double zoomFactor, final double totalZoomFactor, final double x, final double y, final double screenX, final double screenY, boolean shift, boolean ctrl, boolean alt, boolean meta, boolean inertia)

Method Detail

createDropTargetback to summary
public EmbeddedSceneDTInterface createDropTarget()
getInputMethodRequestsback to summary
public InputMethodRequests getInputMethodRequests()
getPixelFormatback to summary
public PixelFormat<?> getPixelFormat()
getPixelsback to summary
public boolean getPixels(IntBuffer dest, int width, int height)
inputMethodEventback to summary
public void inputMethodEvent(EventType<InputMethodEvent> type, ObservableList<InputMethodTextRun> composed, String committed, int caretPosition)
keyEventback to summary
public void keyEvent(int type, int key, char[] chars, int modifiers)
mouseEventback to summary
public void mouseEvent(int type, int button, boolean primaryBtnDown, boolean middleBtnDown, boolean secondaryBtnDown, boolean backBtnDown, boolean forwardBtnDown, int x, int y, int xAbs, int yAbs, boolean shift, boolean ctrl, boolean alt, boolean meta, boolean popupTrigger)
rotateEventback to summary
public void rotateEvent(final int type, final double angle, final double totalAngle, final double x, final double y, final double screenX, final double screenY, boolean shift, boolean ctrl, boolean alt, boolean meta, boolean inertia)
scrollEventback to summary
public void scrollEvent(int type, double scrollX, double scrollY, double totalScrollX, double totalScrollY, double xMultiplier, double yMultiplier, double x, double y, double screenX, double screenY, boolean shift, boolean ctrl, boolean alt, boolean meta, boolean inertia)
setDragStartListenerback to summary
public void setDragStartListener(HostDragStartListener l)
setPixelScaleFactorsback to summary
public void setPixelScaleFactors(float scalex, float scaley)
setSizeback to summary
public void setSize(int width, int height)
swipeEventback to summary
public void swipeEvent(final int type, final double x, final double y, final double screenX, final double screenY, boolean shift, boolean ctrl, boolean alt, boolean meta)
traverseOutback to summary
public boolean traverseOut(Direction dir)
zoomEventback to summary
public void zoomEvent(final int type, final double zoomFactor, final double totalZoomFactor, final double x, final double y, final double screenX, final double screenY, boolean shift, boolean ctrl, boolean alt, boolean meta, boolean inertia)