|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GlimpseCanvas
A heavy weight target for Glimpse rendering. Represents the base component onto which all Glimpse rendering is ultimately performed. GlimpseCanvas provides a facade that hides the implementation details of the specific widget toolkit (Swt or Swing) being used, allowing most Glimpse applications to be easily ported between the two.
Method Summary | |
---|---|
void |
dispose()
Disposes of any native resources 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. |
Methods inherited from interface com.metsci.glimpse.context.GlimpseTarget |
---|
addLayout, getTargetBounds, getTargetChildren, isEventConsumer, isEventGenerator, removeLayout, setEventConsumer, setEventGenerator, setLookAndFeel |
Method Detail |
---|
javax.media.opengl.GLContext getGLContext()
GlimpseContext getGlimpseContext()
GlimpseBounds getTargetBounds()
void paint()
GlimpseLayout
instances
attached to the GlimpseCanvas and paints all
GlimpsePainter
instances attached
to the GlimpseLayouts.
void dispose()
boolean isDisposed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |