com.metsci.glimpse.axis.painter
Class ColorXAxisPainter
java.lang.Object
com.metsci.glimpse.painter.base.GlimpsePainterImpl
com.metsci.glimpse.painter.base.GlimpsePainter1D
com.metsci.glimpse.axis.painter.NumericAxisPainter
com.metsci.glimpse.axis.painter.NumericXAxisPainter
com.metsci.glimpse.axis.painter.ColorXAxisPainter
- All Implemented Interfaces:
- GlimpsePainter
- Direct Known Subclasses:
- TaggedColorXAxisPainter
public class ColorXAxisPainter
- extends NumericXAxisPainter
A horizontal (x) axis with a color bar and labeled ticks along the bottom.
- Author:
- ulman
- See Also:
MultiAxisPlotExample
Methods inherited from class com.metsci.glimpse.axis.painter.NumericAxisPainter |
dispose, getTickCalculator, setAxisLabel, setAxisLabelBufferSize, setAxisLabelColor, setFont, setFont, setKeepLabelsForExtremaFullyVisible, setLookAndFeel, setMarkerWidth, setShowLabel, setShowLabelsForOffscreenTicks, setShowMarker, setShowMinorTicks, setTickBufferSize, setTickColor, setTickLabelBufferSize, setTickLabelColor, setTickSize |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorXAxisPainter
public ColorXAxisPainter(AxisLabelHandler ticks)
setEnableOutline
public void setEnableOutline(boolean doOutline)
setColorScale
public void setColorScale(ColorTexture1D colorTexture)
setColorBarSize
public void setColorBarSize(int size)
paintTo
public void paintTo(GlimpseContext context,
GlimpseBounds bounds,
Axis1D axis)
- Overrides:
paintTo
in class NumericXAxisPainter
getColorBarMinY
public int getColorBarMinY(int height)
getColorBarMaxY
public int getColorBarMaxY(int height)
Copyright © 2012 Metron, Inc.. All Rights Reserved.