public abstract class GlimpsePainterImpl extends Object implements GlimpsePainter
Modifier and Type | Field and Description |
---|---|
static int |
BYTES_PER_FLOAT |
static Logger |
logger |
Constructor and Description |
---|
GlimpsePainterImpl() |
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 |
setErrorHandling(boolean doErrorHandling) |
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 static final Logger logger
public static final int BYTES_PER_FLOAT
public void setErrorHandling(boolean doErrorHandling)
public void setVisible(boolean show)
GlimpsePainter
setVisible
in interface GlimpsePainter
public boolean isVisible()
isVisible
in interface GlimpsePainter
public void setLookAndFeel(LookAndFeel laf)
GlimpsePainter
setLookAndFeel
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
Copyright © 2016 Metron, Inc.. All rights reserved.