Top Fields Constructors Methods
com.sun.javafx.tk.quantum

pack-priv abstract Class GlassScene

extends Object
implements TKScene
Class Inheritance
All Implemented Interfaces
com.sun.javafx.tk.TKScene
Known Direct Subclasses
com.sun.javafx.tk.quantum.ViewScene, com.sun.javafx.tk.quantum.EmbeddedScene
Imports
javafx.application.Platform, javafx.scene.input.InputMethodRequests, javafx.stage.StageStyle, java.util.concurrent.atomic.AtomicBoolean, com.sun.glass.ui.Clipboard, .ClipboardAssistance, .View, com.sun.javafx.sg.prism.NGCamera, .NGLightBase, .NGNode, com.sun.javafx.tk.TKClipboard, .TKDragGestureListener, .TKDragSourceListener, .TKDropTargetListener, .TKScene, .TKSceneListener, .TKScenePaintListener, com.sun.prism.impl.PrismSettings, com.sun.prism.paint.Color, .Paint

Field Summary

Modifier and TypeField and Description
private NGCamera
private final boolean
private boolean
protected TKDragGestureListener
protected TKDragSourceListener
protected TKDropTargetListener
private volatile boolean
protected Paint
protected InputMethodRequests
private NGLightBase[]
private final boolean
private final AtomicBoolean
private NGNode
protected TKSceneListener
private TKScenePaintListener
pack-priv SceneState
private GlassStage

Constructor Summary

AccessConstructor and Description
protected
GlassScene(boolean depthBuffer, boolean msaa)

Method Summary

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

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

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

public void
public final synchronized void
pack-priv NGCamera
protected Color
pack-priv final Paint
pack-priv boolean
public final synchronized boolean
public NGLightBase[]
protected View
protected NGNode
pack-priv final SceneState
protected final GlassStage
public boolean
pack-priv boolean
protected abstract boolean
public final void
public void
releaseSynchronization(boolean updateState)

Implements com.sun.javafx.tk.TKScene.releaseSynchronization.

Releases the synchronization lock previously held.

pack-priv void
public void
public void
public void
public final synchronized void
setDoPresent(boolean value)

public void
setFillPaint(Object
This must be a paint class as returned from Toolkit.createPaint(...)
fillPaint
)

Implements com.sun.javafx.tk.TKScene.setFillPaint.

Set the background fill for the scene

public void
public void
pack-priv boolean
setPainting(boolean value)

public void
pack-priv void
public void
public void
public void
public void
public synchronized void
pack-priv final void
stageVisible(boolean visible)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

pack-priv final void
public void
public void
waitForSynchronization()

Implements com.sun.javafx.tk.TKScene.waitForSynchronization.

Waits until the render thread is available for synchronization from the scene graph.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

cameraback to summary
private NGCamera camera
depthBufferback to summary
private final boolean depthBuffer
doPresentback to summary
private boolean doPresent
dragGestureListenerback to summary
protected TKDragGestureListener dragGestureListener
dragSourceListenerback to summary
protected TKDragSourceListener dragSourceListener
dropTargetListenerback to summary
protected TKDropTargetListener dropTargetListener
entireSceneDirtyback to summary
private volatile boolean entireSceneDirty
fillPaintback to summary
protected Paint fillPaint
inputMethodRequestsback to summary
protected InputMethodRequests inputMethodRequests
lightsback to summary
private NGLightBase[] lights
msaaback to summary
private final boolean msaa
paintingback to summary
private final AtomicBoolean painting
rootback to summary
private NGNode root
sceneListenerback to summary
protected TKSceneListener sceneListener
scenePaintListenerback to summary
private TKScenePaintListener scenePaintListener
sceneStateback to summary
pack-priv SceneState sceneState
stageback to summary
private GlassStage stage

Constructor Detail

GlassSceneback to summary
protected GlassScene(boolean depthBuffer, boolean msaa)

Method Detail

clearEntireSceneDirtyback to summary
public void clearEntireSceneDirty()
createDragboardback to summary
public TKClipboard createDragboard(boolean isDragSource)

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

Annotations
@Override
disposeback to summary
public void 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
entireSceneNeedsRepaintback to summary
public void entireSceneNeedsRepaint()

Implements com.sun.javafx.tk.TKScene.entireSceneNeedsRepaint.

Annotations
@Override
frameRenderedback to summary
public final synchronized void frameRendered()
getCameraback to summary
pack-priv NGCamera getCamera()
getClearColorback to summary
protected Color getClearColor()
getCurrentPaintback to summary
pack-priv final Paint getCurrentPaint()
getDepthBufferback to summary
pack-priv boolean getDepthBuffer()
getDoPresentback to summary
public final synchronized boolean getDoPresent()
getLightsback to summary
public NGLightBase[] getLights()

Implements com.sun.javafx.tk.TKScene.getLights.

Annotations
@Override
getPlatformViewback to summary
protected View getPlatformView()
getRootback to summary
protected NGNode getRoot()
getSceneStateback to summary
pack-priv final SceneState getSceneState()
getStageback to summary
protected final GlassStage getStage()
isEntireSceneDirtyback to summary
public boolean isEntireSceneDirty()
isMSAAback to summary
pack-priv boolean isMSAA()
isSynchronousback to summary
protected abstract boolean isSynchronous()
markDirtyback to summary
public final void markDirty()

Implements com.sun.javafx.tk.TKScene.markDirty.

Annotations
@Override
releaseSynchronizationback to summary
public void releaseSynchronization(boolean updateState)

Implements com.sun.javafx.tk.TKScene.releaseSynchronization.

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

Releases the synchronization lock previously held. If the updateState flag is set then the glass scene state is updated prior to releasing the lock.

Annotations
@Override
repaintback to summary
pack-priv void repaint()
sceneChangedback to summary
public void sceneChanged()
setCameraback to summary
public void setCamera(NGCamera camera)

Implements com.sun.javafx.tk.TKScene.setCamera.

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

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

Annotations
@Override
setDoPresentback to summary
public final synchronized void setDoPresent(boolean value)
setFillPaintback to summary
public void setFillPaint(Object fillPaint)

Implements com.sun.javafx.tk.TKScene.setFillPaint.

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

Set the background fill for the scene

Parameters
fillPaint:Object

This must be a paint class as returned from Toolkit.createPaint(...)

Annotations
@Override
setInputMethodRequestsback to summary
public void setInputMethodRequests(final InputMethodRequests requests)
setLightsback to summary
public void setLights(NGLightBase[] lights)

Implements com.sun.javafx.tk.TKScene.setLights.

Annotations
@Override
setPaintingback to summary
pack-priv boolean setPainting(boolean value)
setRootback to summary
public void setRoot(NGNode root)

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

Annotations
@Override
setStageback to summary
pack-priv void setStage(GlassStage stage)
setTKDragGestureListenerback to summary
public void setTKDragGestureListener(final TKDragGestureListener listener)
setTKDragSourceListenerback to summary
public void setTKDragSourceListener(final TKDragSourceListener listener)
setTKDropTargetListenerback to summary
public void setTKDropTargetListener(final TKDropTargetListener listener)
setTKSceneListenerback to summary
public void setTKSceneListener(final TKSceneListener listener)

Implements com.sun.javafx.tk.TKScene.setTKSceneListener.

Annotations
@Override
setTKScenePaintListenerback to summary
public synchronized void setTKScenePaintListener(final TKScenePaintListener listener)

Implements com.sun.javafx.tk.TKScene.setTKScenePaintListener.

Annotations
@Override
stageVisibleback to summary
pack-priv final void stageVisible(boolean visible)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override
updateSceneStateback to summary
pack-priv final void updateSceneState()
waitForRenderingToCompleteback to summary
public void waitForRenderingToComplete()

Implements com.sun.javafx.tk.TKScene.waitForRenderingToComplete.

Annotations
@Override
waitForSynchronizationback to summary
public void waitForSynchronization()

Implements com.sun.javafx.tk.TKScene.waitForSynchronization.

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

Waits until the render thread is available for synchronization from the scene graph. Once this method returns, the caller has the lock, and will continue to hold the lock until releaseSynchronization is called.

Annotations
@Override