Top Description Methods
com.sun.javafx.tk

public Interface TKScene

Known Direct Implementers
com.sun.javafx.tk.quantum.GlassScene
Imports
com.sun.javafx.sg.prism.NGCamera, .NGLightBase, .NGNode

TKScene

Method Summary

Modifier and TypeMethod and Description
public TKClipboard
createDragboard(boolean isDragSource)

public void
dispose()

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

public void
enableInputMethodEvents(boolean enable)

public void
public void
public NGLightBase[]
public void
public void
releaseSynchronization(boolean updateState)

Releases the synchronization lock previously held.

public void
public void
setCursor(Object cursor)

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

Set the background fill for the scene

public void
public void
public void
public void
public void
public void
waitForSynchronization()

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

Method Detail

createDragboardback to summary
public TKClipboard createDragboard(boolean isDragSource)
disposeback to summary
public void dispose()

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

enableInputMethodEventsback to summary
public void enableInputMethodEvents(boolean enable)
entireSceneNeedsRepaintback to summary
public void entireSceneNeedsRepaint()
finishInputMethodCompositionback to summary
public void finishInputMethodComposition()
getLightsback to summary
public NGLightBase[] getLights()
markDirtyback to summary
public void markDirty()
releaseSynchronizationback to summary
public void releaseSynchronization(boolean updateState)

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

setCameraback to summary
public void setCamera(NGCamera camera)
setCursorback to summary
public void setCursor(Object cursor)
setFillPaintback to summary
public void setFillPaint(Object fillPaint)

Set the background fill for the scene

Parameters
fillPaint:Object

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

setLightsback to summary
public void setLights(NGLightBase[] lights)
setRootback to summary
public void setRoot(NGNode root)
setTKSceneListenerback to summary
public void setTKSceneListener(TKSceneListener listener)
setTKScenePaintListenerback to summary
public void setTKScenePaintListener(final TKScenePaintListener listener)
waitForRenderingToCompleteback to summary
public void waitForRenderingToComplete()
waitForSynchronizationback to summary
public void 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.