public class GLSimpleListenerPainter extends Object implements GlimpsePainter
Constructor and Description |
---|
GLSimpleListenerPainter(GLSimpleListenerAbstract listener) |
Modifier and Type | Method and Description |
---|---|
void |
dispose(GlimpseContext context)
Free GPU and CPU memory associated with this this GlimpsePainter.
|
boolean |
isDisposed() |
boolean |
isVisible() |
void |
paintTo(GlimpseContext context)
Renders this GlimpsePainter to the provided GlimpseContext.
|
void |
setLookAndFeel(LookAndFeel laf)
Sets display options for the painter based on the provided LookAndFeel.
|
void |
setVisible(boolean show)
A painter which is set to non-visible should make no OpenGL calls when its
paintTo method is called.
|
public GLSimpleListenerPainter(GLSimpleListenerAbstract listener)
public void setVisible(boolean show)
GlimpsePainter
setVisible
in interface GlimpsePainter
public boolean isVisible()
isVisible
in interface GlimpsePainter
public void paintTo(GlimpseContext context)
GlimpsePainter
paintTo
in interface GlimpsePainter
public void dispose(GlimpseContext context)
GlimpsePainter
dispose
in interface GlimpsePainter
public boolean isDisposed()
isDisposed
in interface GlimpsePainter
public void setLookAndFeel(LookAndFeel laf)
GlimpsePainter
setLookAndFeel
in interface GlimpsePainter
Copyright © 2013 Metron, Inc.. All rights reserved.