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

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.tagged.painter.TaggedNumericYAxisPainter
All Implemented Interfaces:
GlimpsePainter

public class TaggedNumericYAxisPainter
extends NumericYAxisPainter

A vertical (y) axis painter which displays positions of tags in addition to tick marks and labels. 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
TaggedNumericYAxisPainter(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.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

TaggedNumericYAxisPainter

public TaggedNumericYAxisPainter(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 NumericYAxisPainter

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.