com.metsci.glimpse.axis.painter
Class NumericTopXAxisPainter
java.lang.Object
com.metsci.glimpse.painter.base.GlimpsePainterImpl
com.metsci.glimpse.painter.base.GlimpsePainter1D
com.metsci.glimpse.axis.painter.NumericAxisPainter
com.metsci.glimpse.axis.painter.NumericXAxisPainter
com.metsci.glimpse.axis.painter.NumericTopXAxisPainter
- All Implemented Interfaces:
- GlimpsePainter
public class NumericTopXAxisPainter
- extends NumericXAxisPainter
A horizontal (x) axis with labeled ticks along the top. Suitable
for an axis which sits flush along the top of a plotting area.
- Author:
- ulman
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumericTopXAxisPainter
public NumericTopXAxisPainter(AxisLabelHandler tick)
getAxisLabelPositionY
public int getAxisLabelPositionY(int height,
int textHeight)
- Overrides:
getAxisLabelPositionY
in class NumericXAxisPainter
getTickTextPositionY
public int getTickTextPositionY(int height,
int textHeight)
- Overrides:
getTickTextPositionY
in class NumericXAxisPainter
getTickTopY
public int getTickTopY(int height,
int size)
- Overrides:
getTickTopY
in class NumericXAxisPainter
getTickBottomY
public int getTickBottomY(int height,
int size)
- Overrides:
getTickBottomY
in class NumericXAxisPainter
Copyright © 2012 Metron, Inc.. All Rights Reserved.