com.metsci.glimpse.axis.tagged.painter
Class TaggedColorXAxisPainter
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
com.metsci.glimpse.axis.tagged.painter.TaggedColorXAxisPainter
- All Implemented Interfaces:
- GlimpsePainter
- Direct Known Subclasses:
- TaggedPartialColorXAxisPainter
public class TaggedColorXAxisPainter
- extends ColorXAxisPainter
A horizontal (x) axis painter which displays positions of tags on
top of a color scale. This axis must be added to a
GlimpseAxisLayout1D
whose associated
axis is a TaggedAxis1D
.
- Author:
- ulman
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 |
TaggedColorXAxisPainter
public TaggedColorXAxisPainter(AxisLabelHandler ticks)
setTagColor
public void setTagColor(float[] color)
setTagHalfWidth
public void setTagHalfWidth(int halfWidth)
setTagHeight
public void setTagHeight(int height)
paintTo
public void paintTo(GlimpseContext context,
GlimpseBounds bounds,
Axis1D axis)
- Overrides:
paintTo
in class ColorXAxisPainter
getTagMinY
public int getTagMinY(int height)
getTagMaxY
public int getTagMaxY(int height)
getTagPointerMaxY
public int getTagPointerMaxY(int height)
Copyright © 2012 Metron, Inc.. All Rights Reserved.