public abstract class AbstractTreeMapPainter extends GlimpseDataPainter2D
NestedTreeMap
datastructure. The colors and layout are determined by this painter and
implemented in a way that allows switching on information within a TreeMap
node (see
SimpleTreeMapPainter.getLeafColor(int, boolean)
).BYTES_PER_FLOAT, logger
Constructor and Description |
---|
AbstractTreeMapPainter() |
Modifier and Type | Method and Description |
---|---|
void |
dispose(javax.media.opengl.GLContext context) |
Integer |
getLeafAt(Axis2D axis,
double x,
double y) |
NestedTreeMap |
getTreeMapData() |
TreeMapLayout |
getTreeMapLayout() |
void |
paintTo(javax.media.opengl.GL2 gl,
GlimpseBounds layoutBounds,
Axis2D axis) |
void |
setLayout(TreeMapLayout layout) |
void |
setTreeMapData(NestedTreeMap tree) |
isAlphaBlend, isLineSmooth, isPointSmooth, paintTo, setAlphaBlend, setLineSmooth, setPointSmooth
paintTo
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setLookAndFeel, setVisible
public void setLayout(TreeMapLayout layout)
public TreeMapLayout getTreeMapLayout()
public void setTreeMapData(NestedTreeMap tree)
public NestedTreeMap getTreeMapData()
public void paintTo(javax.media.opengl.GL2 gl, GlimpseBounds layoutBounds, Axis2D axis)
paintTo
in class GlimpseDataPainter2D
public void dispose(javax.media.opengl.GLContext context)
Copyright © 2013 Metron, Inc.. All rights reserved.