com.metsci.glimpse.axis.tagged.painter
Class TaggedPartialColorXAxisPainter

java.lang.Object
  extended by com.metsci.glimpse.painter.base.GlimpsePainterImpl
      extended by com.metsci.glimpse.painter.base.GlimpsePainter1D
          extended by com.metsci.glimpse.axis.painter.NumericAxisPainter
              extended by com.metsci.glimpse.axis.painter.NumericXAxisPainter
                  extended by com.metsci.glimpse.axis.painter.ColorXAxisPainter
                      extended by com.metsci.glimpse.axis.tagged.painter.TaggedColorXAxisPainter
                          extended by com.metsci.glimpse.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 the Tag.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 a GlimpseAxisLayout1D whose associated axis is a TaggedAxis1D.

Author:
ulman

Field Summary
 
Fields inherited from class com.metsci.glimpse.painter.base.GlimpsePainterImpl
BYTES_PER_FLOAT, logger
 
Constructor Summary
TaggedPartialColorXAxisPainter(AxisLabelHandler ticks)
           
 
Method Summary
 
Methods inherited from class com.metsci.glimpse.axis.tagged.painter.TaggedColorXAxisPainter
getTagMaxY, getTagMinY, getTagPointerMaxY, paintTo, setTagColor, setTagHalfWidth, setTagHeight
 
Methods inherited from class com.metsci.glimpse.axis.painter.ColorXAxisPainter
getColorBarMaxY, getColorBarMinY, setColorBarSize, setColorScale, setEnableOutline
 
Methods inherited from class com.metsci.glimpse.axis.painter.NumericXAxisPainter
getAxisLabelPositionY, getTickBottomY, getTickTextPositionY, getTickTopY
 
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 com.metsci.glimpse.painter.base.GlimpsePainter1D
paintTo
 
Methods inherited from class com.metsci.glimpse.painter.base.GlimpsePainterImpl
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaggedPartialColorXAxisPainter

public TaggedPartialColorXAxisPainter(AxisLabelHandler ticks)


Copyright © 2012 Metron, Inc.. All Rights Reserved.