Class TaggedPartialColorXAxisPainter
- java.lang.Object
-
- com.metsci.glimpse.core.painter.base.GlimpsePainterBase
-
- com.metsci.glimpse.core.axis.painter.NumericAxisPainter
-
- com.metsci.glimpse.core.axis.painter.NumericXAxisPainter
-
- com.metsci.glimpse.core.axis.painter.ColorXAxisPainter
-
- com.metsci.glimpse.core.axis.tagged.painter.TaggedColorXAxisPainter
-
- com.metsci.glimpse.core.axis.tagged.painter.TaggedPartialColorXAxisPainter
-
- All Implemented Interfaces:
GlimpsePainter
public class TaggedPartialColorXAxisPainter extends TaggedColorXAxisPainter
A horizontal (x) axis painter which displays positions of tags in addition to tick marks and labels. A color scale is also displayed which stretches between specified tags. Tags which are to act as anchor points for the color scale must be given theTag.TEX_COORD_ATTR
attribute. The value of this attribute should be between 0.0 and 1.0 and indicates where along the color scale this tag should be anchored. For example, a tag with value 20.0 and TEX_COORD_ATTR attribute value 0.5 would indicate that the color half-way along the color scale should map to value 20.0 on the axis. This axis must be added to aGlimpseAxisLayout1D
whose associated axis is aTaggedAxis1D
.- Author:
- ulman
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.metsci.glimpse.core.axis.painter.NumericAxisPainter
NumericAxisPainter.TickInfo
-
-
Constructor Summary
Constructors Constructor Description TaggedPartialColorXAxisPainter(AxisLabelHandler ticks)
-
Method Summary
-
Methods inherited from class com.metsci.glimpse.core.axis.tagged.painter.TaggedColorXAxisPainter
doPaintTo, getTagMaxY, getTagMinY, getTagPointerMaxY, setLookAndFeel, setTagColor, setTagHalfWidth, setTagHeight, setTagPointerHeight
-
Methods inherited from class com.metsci.glimpse.core.axis.painter.ColorXAxisPainter
setColorBarSize, setColorScale, setEnableOutline
-
Methods inherited from class com.metsci.glimpse.core.axis.painter.NumericXAxisPainter
getAxisLabelPositionY, getTickBottomY, getTickTextPositionY, getTickTopY
-
Methods inherited from class com.metsci.glimpse.core.axis.painter.NumericAxisPainter
getTickCalculator, getTickInfo, resetFont, resetLabelColors, resetTickColor, setAxisLabel, setAxisLabelBufferSize, setAxisLabelColor, setFont, setFont, setKeepLabelsForExtremaFullyVisible, setMarkerWidth, setShowLabel, setShowLabelsForOffscreenTicks, setShowMarker, setShowMinorTicks, setShowTickLabels, setTickBufferSize, setTickCalculator, setTickColor, setTickLabelBufferSize, setTickLabelColor, setTickSize, updateTextRenderer
-
Methods inherited from class com.metsci.glimpse.core.painter.base.GlimpsePainterBase
dispose, getAxis1D, getAxis2D, getBounds, getGL3, isDisposed, isVisible, paintTo, requireAxis1D, requireAxis2D, setVisible
-
-
-
-
Constructor Detail
-
TaggedPartialColorXAxisPainter
public TaggedPartialColorXAxisPainter(AxisLabelHandler ticks)
-
-