public class WrappedPainter extends GlimpsePainter2D
WrappedAxis1D
,
WrappedLabelHandler
BYTES_PER_FLOAT, logger
Constructor and Description |
---|
WrappedPainter() |
Modifier and Type | Method and Description |
---|---|
void |
addPainter(GlimpsePainter2D painter) |
void |
dispose(GlimpseContext context)
Free GPU and CPU memory associated with this this GlimpsePainter.
|
boolean |
isDisposed() |
boolean |
isVisible() |
void |
paintTo(GlimpseContext context,
GlimpseBounds bounds,
Axis2D axis) |
void |
removeAll() |
void |
removePainter(GlimpsePainter2D painter) |
void |
setLookAndFeel(LookAndFeel laf)
Sets display options for the painter based on the provided LookAndFeel.
|
void |
setVisible(boolean visible)
A painter which is set to non-visible should make no OpenGL calls when its
paintTo method is called.
|
paintTo
paintTo, setErrorHandling
public void addPainter(GlimpsePainter2D painter)
public void removePainter(GlimpsePainter2D painter)
public void removeAll()
public boolean isVisible()
isVisible
in interface GlimpsePainter
isVisible
in class GlimpsePainterImpl
public void setVisible(boolean visible)
GlimpsePainter
setVisible
in interface GlimpsePainter
setVisible
in class GlimpsePainterImpl
public void paintTo(GlimpseContext context, GlimpseBounds bounds, Axis2D axis)
paintTo
in class GlimpsePainter2D
public void dispose(GlimpseContext context)
GlimpsePainter
dispose
in interface GlimpsePainter
dispose
in class GlimpsePainterImpl
public boolean isDisposed()
isDisposed
in interface GlimpsePainter
isDisposed
in class GlimpsePainterImpl
public void setLookAndFeel(LookAndFeel laf)
GlimpsePainter
setLookAndFeel
in interface GlimpsePainter
setLookAndFeel
in class GlimpsePainterImpl
Copyright © 2016 Metron, Inc.. All rights reserved.