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

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.NumericYAxisPainter
                  extended by com.metsci.glimpse.axis.painter.ColorYAxisPainter
                      extended by com.metsci.glimpse.axis.tagged.painter.TaggedColorYAxisPainter
All Implemented Interfaces:
GlimpsePainter
Direct Known Subclasses:
TaggedPartialColorYAxisPainter

public class TaggedColorYAxisPainter
extends ColorYAxisPainter

A vertical (y) 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
TaggedColorYAxisPainter(AxisLabelHandler ticks)
           
 
Method Summary
 int getTagMaxX(int width)
           
 int getTagMinX(int width)
           
 int getTagPointerMaxX(int width)
           
 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.ColorYAxisPainter
getColorBarMaxX, getColorBarMinX, setColorBarSize, setColorScale, setEnableOutline
 
Methods inherited from class com.metsci.glimpse.axis.painter.NumericYAxisPainter
getAxisLabelPositionX, getTickLeftX, getTickRightX, getTickTextPositionX
 
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

TaggedColorYAxisPainter

public TaggedColorYAxisPainter(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 ColorYAxisPainter

getTagMinX

public int getTagMinX(int width)

getTagMaxX

public int getTagMaxX(int width)

getTagPointerMaxX

public int getTagPointerMaxX(int width)


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