| Modifier and Type | Field and Description |
|---|---|
| private NGCamera | |
| private Color | |
| private Paint | |
| pack-priv final GlassScene |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv NGCamera | |
| pack-priv Color | |
| pack-priv Paint | |
| public GlassScene | Returns: the glass scene May be called on any thread.Returns the glass scene for the view state . |
| public boolean | |
| public boolean | Returns: true if drawing can occur; false otherwise May be called on any thread. Must be called under the render lock.Drawing can occur in a Glass view if the view exists (is not null), the window exists (is not null) and the view is attached to a window (ie. |
| public void | update()
Overrides com. Updates the state of this object based on the current state of the glass scene. |
| public void | uploadPixels(PixelSource
- the source for the Pixels object to be uploaded source)Overrides com. Put the pixels on the screen. |
| camera | back to summary |
|---|---|
| private NGCamera camera | |
| clearColor | back to summary |
|---|---|
| private Color clearColor | |
| currentPaint | back to summary |
|---|---|
| private Paint currentPaint | |
| scene | back to summary |
|---|---|
| pack-priv final GlassScene scene | |
| SceneState | back to summary |
|---|---|
| public SceneState(GlassScene vs) Create the View State . May only be called from the event thread. | |
| getCamera | back to summary |
|---|---|
| pack-priv NGCamera getCamera() | |
| getClearColor | back to summary |
|---|---|
| pack-priv Color getClearColor() | |
| getCurrentPaint | back to summary |
|---|---|
| pack-priv Paint getCurrentPaint() | |
| getScene | back to summary |
|---|---|
| public GlassScene getScene() Returns the glass scene for the view state .
| |
| isMSAA | back to summary |
|---|---|
| public boolean isMSAA() Overrides com.
| |
| isValid | back to summary |
|---|---|
| public boolean isValid() Drawing can occur in a Glass view if the view exists (is not null), the window exists (is not null) and the view is attached to a window (ie. has not been closed).
| |
| update | back to summary |
|---|---|
| public void update() Overrides com. Updates the state of this object based on the current state of the glass scene. May only be called from the event thread. Must be called under the render lock.
| |
| uploadPixels | back to summary |
|---|---|
| public void uploadPixels(PixelSource source) Overrides com. Put the pixels on the screen.
| |