APIdia Launch Partner
Top Fields Constructors Methods
com.sun.javafx.tk.quantum

pack-priv final Class EmbeddedScene

extends GlassScene
implements EmbeddedSceneInterface
Class Inheritance
All Implemented Interfaces
com.sun.javafx.embed.EmbeddedSceneInterface
Imports
com.sun.javafx.embed.HostDragStartListener, .AbstractEvents, .EmbeddedSceneDTInterface, .EmbeddedSceneInterface, .HostInterface, javafx.application.Platform, javafx.collections.ObservableList, javafx.event.EventType, javafx.scene.input.InputMethodEvent, .InputMethodRequests, .InputMethodTextRun, .KeyCode, .MouseEvent, javafx.scene.image.PixelFormat, java.nio.IntBuffer, .ByteOrder, com.sun.javafx.cursor.CursorFrame, com.sun.javafx.scene.input.KeyCodeMap, com.sun.javafx.scene.traversal.Direction, com.sun.javafx.sg.prism.NGNode, com.sun.javafx.tk.TKClipboard, .Toolkit, com.sun.prism.paint.Color, .Paint, com.sun.glass.ui.Pixels

Field Summary

Modifier and TypeField and Description
private final EmbeddedSceneDnD
private HostInterface
private UploadingPainter
private PaintRenderJob
private volatile PixelFormat<?>
private float
private float
private volatile IntBuffer
private volatile int
private volatile float
private volatile float
Inherited from com.sun.javafx.tk.quantum.GlassScene:
dragGestureListenerdragSourceListenerdropTargetListenerfillPaintinputMethodRequestssceneListenersceneState

Constructor Summary

AccessConstructor and Description
public
EmbeddedScene(HostInterface host, boolean depthBuffer, boolean msaa)

Method Summary

Modifier and TypeMethod and Description
public TKClipboard
public EmbeddedSceneDTInterface
public void
dispose()

Overrides com.sun.javafx.tk.quantum.GlassScene.dispose.

Implements com.sun.javafx.tk.TKScene.dispose.

This method is called from Scene, when it is being destroyed.

public void
public void
protected Color
public InputMethodRequests
public PixelFormat<?>
public boolean
getPixels(final IntBuffer
the destination buffer
dest
,
final int
the logical width of the buffer
width
,
final int
the logical height of the buffer
height
)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.getPixels.

public float
public float
public void
protected boolean
public void
keyEvent(final int type, final int key, final char[] ch, final int modifiers)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.keyEvent.

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

Implements com.sun.javafx.embed.EmbeddedSceneInterface.mouseEvent.

public void
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)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.rotateEvent.

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

Implements com.sun.javafx.embed.EmbeddedSceneInterface.scrollEvent.

public void
public void
public void
public void
public void
setSize(final int width, final int height)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.setSize.

pack-priv void
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)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.swipeEvent.

public boolean
pack-priv void
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)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.zoomEvent.

Inherited from com.sun.javafx.tk.quantum.GlassScene:
clearEntireSceneDirtyentireSceneNeedsRepaintframeRenderedgetCameragetCurrentPaintgetDepthBuffergetDoPresentgetLightsgetPlatformViewgetRootgetSceneStategetStageisEntireSceneDirtyisMSAAmarkDirtyreleaseSynchronizationsceneChangedsetCamerasetDoPresentsetFillPaintsetInputMethodRequestssetLightssetPaintingsetTKDragGestureListenersetTKDragSourceListenersetTKDropTargetListenersetTKSceneListenersetTKScenePaintListenerstageVisibletoStringupdateSceneStatewaitForRenderingToCompletewaitForSynchronization

Field Detail

embeddedDnDback to summary
private final EmbeddedSceneDnD embeddedDnD
hostback to summary
private HostInterface host
painterback to summary
private UploadingPainter painter
paintRenderJobback to summary
private PaintRenderJob paintRenderJob
pixelFormatback to summary
private volatile PixelFormat<?> pixelFormat
renderScaleXback to summary
private float renderScaleX
renderScaleYback to summary
private float renderScaleY
texBitsback to summary
private volatile IntBuffer texBits
texLineStrideback to summary
private volatile int texLineStride
texScaleFactorXback to summary
private volatile float texScaleFactorX
texScaleFactorYback to summary
private volatile float texScaleFactorY

Constructor Detail

EmbeddedSceneback to summary
public EmbeddedScene(HostInterface host, boolean depthBuffer, boolean msaa)

Method Detail

createDragboardback to summary
public TKClipboard createDragboard(boolean isDragSource)

Overrides com.sun.javafx.tk.quantum.GlassScene.createDragboard.

Implements com.sun.javafx.tk.TKScene.createDragboard.

Annotations
@Override
createDropTargetback to summary
public EmbeddedSceneDTInterface createDropTarget()

Implements com.sun.javafx.embed.EmbeddedSceneInterface.createDropTarget.

Annotations
@Override
disposeback to summary
public void dispose()

Overrides com.sun.javafx.tk.quantum.GlassScene.dispose.

Implements com.sun.javafx.tk.TKScene.dispose.

Doc from com.sun.javafx.tk.TKScene.dispose.

This method is called from Scene, when it is being destroyed.

Annotations
@Override
enableInputMethodEventsback to summary
public void enableInputMethodEvents(boolean enable)

Implements com.sun.javafx.tk.TKScene.enableInputMethodEvents.

Annotations
@Override
finishInputMethodCompositionback to summary
public void finishInputMethodComposition()

Implements com.sun.javafx.tk.TKScene.finishInputMethodComposition.

Annotations
@Override
getClearColorback to summary
protected Color getClearColor()

Overrides com.sun.javafx.tk.quantum.GlassScene.getClearColor.

Annotations
@Override
getInputMethodRequestsback to summary
public InputMethodRequests getInputMethodRequests()

Implements com.sun.javafx.embed.EmbeddedSceneInterface.getInputMethodRequests.

Annotations
@Override
getPixelFormatback to summary
public PixelFormat<?> getPixelFormat()

Implements com.sun.javafx.embed.EmbeddedSceneInterface.getPixelFormat.

Annotations
@Override
getPixelsback to summary
public boolean getPixels(final IntBuffer dest, final int width, final int height)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.getPixels.

Parameters
dest:IntBuffer

the destination buffer

width:int

the logical width of the buffer

height:int

the logical height of the buffer

Annotations
@Override
getRenderScaleXback to summary
public float getRenderScaleX()
getRenderScaleYback to summary
public float getRenderScaleY()
inputMethodEventback to summary
public void inputMethodEvent(final EventType<InputMethodEvent> type, final ObservableList<InputMethodTextRun> composed, final String committed, final int caretPosition)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.inputMethodEvent.

Annotations
@Override
isSynchronousback to summary
protected boolean isSynchronous()

Implements abstract com.sun.javafx.tk.quantum.GlassScene.isSynchronous.

Annotations
@Override
keyEventback to summary
public void keyEvent(final int type, final int key, final char[] ch, final int modifiers)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.keyEvent.

Annotations
@Override
mouseEventback to summary
public void mouseEvent(final int type, final int button, final boolean primaryBtnDown, final boolean middleBtnDown, final boolean secondaryBtnDown, final boolean backBtnDown, final boolean forwardBtnDown, final int x, final int y, final int xAbs, final int yAbs, final boolean shift, final boolean ctrl, final boolean alt, final boolean meta, final boolean popupTrigger)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.mouseEvent.

Annotations
@Override
repaintback to summary
public void repaint()

Overrides com.sun.javafx.tk.quantum.GlassScene.repaint.

Annotations
@Override
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)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.rotateEvent.

Annotations
@Override
scrollEventback to summary
public void scrollEvent(final int type, final double scrollX, final double scrollY, final double totalScrollX, final double totalScrollY, double xMultiplier, double yMultiplier, final double x, final double y, final double xAbs, final double yAbs, final boolean shift, final boolean ctrl, final boolean alt, final boolean meta, final boolean inertia)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.scrollEvent.

Annotations
@Override
setCursorback to summary
public void setCursor(final Object cursor)

Overrides com.sun.javafx.tk.quantum.GlassScene.setCursor.

Implements com.sun.javafx.tk.TKScene.setCursor.

Annotations
@Override
setDragStartListenerback to summary
public void setDragStartListener(HostDragStartListener l)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.setDragStartListener.

Annotations
@Override
setPixelScaleFactorsback to summary
public void setPixelScaleFactors(float scalex, float scaley)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.setPixelScaleFactors.

Annotations
@Override
setRootback to summary
public void setRoot(NGNode root)

Overrides com.sun.javafx.tk.quantum.GlassScene.setRoot.

Implements com.sun.javafx.tk.TKScene.setRoot.

Annotations
@Override
setSizeback to summary
public void setSize(final int width, final int height)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.setSize.

Annotations
@Override
setStageback to summary
pack-priv void setStage(GlassStage stage)

Overrides com.sun.javafx.tk.quantum.GlassScene.setStage.

Annotations
@Override
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)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.swipeEvent.

Annotations
@Override
traverseOutback to summary
public boolean traverseOut(Direction dir)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.traverseOut.

Annotations
@Override
uploadPixelsback to summary
pack-priv void uploadPixels(Pixels pixels)
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)

Implements com.sun.javafx.embed.EmbeddedSceneInterface.zoomEvent.

Annotations
@Override