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

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
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

Field Summary
 
Fields inherited from class com.metsci.glimpse.painter.base.GlimpsePainterImpl
BYTES_PER_FLOAT, logger
 
Constructor Summary
TaggedColorXAxisPainter(AxisLabelHandler ticks)
           
 
Method Summary
 int getTagMaxY(int height)
           
 int getTagMinY(int height)
           
 int getTagPointerMaxY(int height)
           
 void paintTo(GlimpseContext context, GlimpseBounds bounds, Axis1D axis)
           
 void setTagColor(float[] color)
           
 void setTagHalfWidth(int halfWidth)
           
 void setTagHeight(int height)
           
 
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

TaggedColorXAxisPainter

public TaggedColorXAxisPainter(AxisLabelHandler ticks)
Method Detail

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.