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

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

public class TaggedNumericXAxisPainter
extends NumericXAxisPainter

A horizontal (x) 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
TaggedNumericXAxisPainter(AxisLabelHandler ticks)
           
 
Method Summary
 void paintTo(GlimpseContext context, GlimpseBounds bounds, Axis1D axis)
           
 void setTagColor(float[] color)
           
 void setTagHeight(int height)
           
 void setTagWidth(int width)
           
 
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

TaggedNumericXAxisPainter

public TaggedNumericXAxisPainter(AxisLabelHandler ticks)
Method Detail

setTagColor

public void setTagColor(float[] color)

setTagWidth

public void setTagWidth(int width)

setTagHeight

public void setTagHeight(int height)

paintTo

public void paintTo(GlimpseContext context,
                    GlimpseBounds bounds,
                    Axis1D axis)
Overrides:
paintTo in class NumericXAxisPainter


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