public interface GlimpseCanvas extends GlimpseTarget
Modifier and Type | Method and Description |
---|---|
void |
addDisposeListener(GLRunnable runnable)
Called when the canvas is disposed.
|
void |
dispose()
Disposes of any native resources of GlimpseLayouts and GlimpsePainters associated with the GlimpseCanvas.
|
javax.media.opengl.GLContext |
getGLContext() |
GlimpseContext |
getGlimpseContext() |
GlimpseBounds |
getTargetBounds() |
boolean |
isDisposed() |
void |
paint()
Lays out any
GlimpseLayout instances
attached to the GlimpseCanvas and paints all
GlimpsePainter instances attached
to the GlimpseLayouts. |
void |
removeAllLayouts()
Clears the canvas, removing all attached GlimpseLayouts.
|
addLayout, addLayout, getTargetBounds, getTargetChildren, isEventConsumer, isEventGenerator, removeLayout, setEventConsumer, setEventGenerator, setLookAndFeel, setZOrder
javax.media.opengl.GLContext getGLContext()
GlimpseContext getGlimpseContext()
GlimpseBounds getTargetBounds()
void removeAllLayouts()
void paint()
GlimpseLayout
instances
attached to the GlimpseCanvas and paints all
GlimpsePainter
instances attached
to the GlimpseLayouts.void dispose()
boolean isDisposed()
void addDisposeListener(GLRunnable runnable)
Copyright © 2013 Metron, Inc.. All rights reserved.