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

pack-priv final Class EmbeddedState

extends SceneState
Class Inheritance
Imports
com.sun.glass.ui.Pixels, com.sun.prism.PixelSource

EmbeddedState is intended to provide for a shadow copy the View/Scene state similar to the shadow Graph, providing a static snapshot until the Scene is rendered. EmbeddedState captures state that is specific to embedding.

Field Summary

Inherited from com.sun.javafx.tk.quantum.SceneState:
scene

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if drawing can occur; false otherwise May be called on any thread.
isValid
()

Overrides com.sun.javafx.tk.quantum.SceneState.isValid.

Drawing can occur when there is an embedded scene that has a host.

public void
update()

Overrides com.sun.javafx.tk.quantum.SceneState.update.

Updates the state of this object based on the current state of its nativeWindow.

public void
uploadPixels(PixelSource
- the source for the Pixels object to be uploaded
source
)

Overrides com.sun.javafx.tk.quantum.SceneState.uploadPixels.

Put the pixels on the screen.

Inherited from com.sun.javafx.tk.quantum.SceneState:
getCameragetClearColorgetCurrentPaintgetSceneisMSAA

Constructor Detail

EmbeddedStateback to summary
public EmbeddedState(GlassScene vs)

Method Detail

isValidback to summary
public boolean isValid()

Overrides com.sun.javafx.tk.quantum.SceneState.isValid.

Drawing can occur when there is an embedded scene that has a host.

Returns:boolean

true if drawing can occur; false otherwise May be called on any thread.

Annotations
@Override
updateback to summary
public void update()

Overrides com.sun.javafx.tk.quantum.SceneState.update.

Updates the state of this object based on the current state of its nativeWindow. May only be called from the event thread.

Annotations
@Override
uploadPixelsback to summary
public void uploadPixels(PixelSource source)

Overrides com.sun.javafx.tk.quantum.SceneState.uploadPixels.

Put the pixels on the screen.

Parameters
source:PixelSource

- the source for the Pixels object to be uploaded

Annotations
@Override