com.metsci.glimpse.painter.info
Class CursorTextPainter
java.lang.Object
com.metsci.glimpse.painter.base.GlimpsePainterImpl
com.metsci.glimpse.painter.base.GlimpsePainter2D
com.metsci.glimpse.painter.info.CursorTextPainter
- All Implemented Interfaces:
- GlimpsePainter
- Direct Known Subclasses:
- CursorTextZPainter
public class CursorTextPainter
- extends GlimpsePainter2D
Displays a text box which follows the cursor and displays the
position of the cursor in data coordinates.
- Author:
- ulman
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CursorTextPainter
public CursorTextPainter()
setTextColor
public void setTextColor(float[] color)
setTextBackgroundColor
public void setTextBackgroundColor(float[] color)
setOffsetBySelectionSize
public void setOffsetBySelectionSize(boolean offset)
setClampToScreenEdges
public void setClampToScreenEdges(boolean clamp)
dispose
public void dispose(javax.media.opengl.GLContext context)
paintTo
public void paintTo(GlimpseContext context,
GlimpseBounds bounds,
Axis2D axis)
- Specified by:
paintTo
in class GlimpsePainter2D
Copyright © 2012 Metron, Inc.. All Rights Reserved.