com.metsci.glimpse.axis.painter
Class NumericAxisPainter
java.lang.Object
com.metsci.glimpse.painter.base.GlimpsePainterImpl
com.metsci.glimpse.painter.base.GlimpsePainter1D
com.metsci.glimpse.axis.painter.NumericAxisPainter
- All Implemented Interfaces:
- GlimpsePainter
- Direct Known Subclasses:
- NumericXAxisPainter, NumericYAxisPainter
public abstract class NumericAxisPainter
- extends GlimpsePainter1D
A simple axis painter which displays labeled ticks at regular
intervals along the length of the axis. The ticks are spaced
so that they fall on round numbered values.
- Author:
- ulman
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumericAxisPainter
public NumericAxisPainter(AxisLabelHandler ticks)
setAxisLabel
public void setAxisLabel(java.lang.String label)
setShowLabelsForOffscreenTicks
public void setShowLabelsForOffscreenTicks(boolean show)
setKeepLabelsForExtremaFullyVisible
public void setKeepLabelsForExtremaFullyVisible(boolean keepFullyVisible)
setShowLabel
public void setShowLabel(boolean show)
setFont
public void setFont(java.awt.Font font)
setFont
public void setFont(java.awt.Font font,
boolean antialias)
setTickSize
public void setTickSize(int size)
setTickBufferSize
public void setTickBufferSize(int size)
setTickLabelBufferSize
public void setTickLabelBufferSize(int size)
setAxisLabelBufferSize
public void setAxisLabelBufferSize(int size)
setMarkerWidth
public void setMarkerWidth(int width)
setShowMarker
public void setShowMarker(boolean show)
setTickColor
public void setTickColor(float[] color)
setTickLabelColor
public void setTickLabelColor(float[] color)
setAxisLabelColor
public void setAxisLabelColor(float[] color)
setShowMinorTicks
public void setShowMinorTicks(boolean show)
getTickCalculator
public AxisLabelHandler getTickCalculator()
setLookAndFeel
public void setLookAndFeel(LookAndFeel laf)
- Description copied from interface:
GlimpsePainter
- Sets display options for the painter based on the provided LookAndFeel.
- Specified by:
setLookAndFeel
in interface GlimpsePainter
- Overrides:
setLookAndFeel
in class GlimpsePainterImpl
dispose
public void dispose(javax.media.opengl.GLContext context)
Copyright © 2012 Metron, Inc.. All Rights Reserved.