com.metsci.glimpse.axis.painter
Class NumericRotatedRightYAxisPainter
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.NumericYAxisPainter
com.metsci.glimpse.axis.painter.NumericRotatedYAxisPainter
com.metsci.glimpse.axis.painter.NumericRotatedRightYAxisPainter
- All Implemented Interfaces:
- GlimpsePainter
public class NumericRotatedRightYAxisPainter
- extends NumericRotatedYAxisPainter
A vertical (y) axis with labeled ticks along the right hand side. Ticks labels are
oriented vertically, taking up less horizontal room and allowing the axis to be more
compact than NumericRightYAxisPainter
.
Suitable for an axis which should sit flush against the right hand side of a plot.
- 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 |
NumericRotatedRightYAxisPainter
public NumericRotatedRightYAxisPainter(AxisLabelHandler ticks)
getAxisLabelPositionX
public int getAxisLabelPositionX(int width,
int textHeight)
- Overrides:
getAxisLabelPositionX
in class NumericYAxisPainter
getTickTextPositionX
public int getTickTextPositionX(int width,
int textWidth)
- Overrides:
getTickTextPositionX
in class NumericYAxisPainter
getTickRightX
public int getTickRightX(int width,
int size)
- Overrides:
getTickRightX
in class NumericYAxisPainter
getTickLeftX
public int getTickLeftX(int width,
int size)
- Overrides:
getTickLeftX
in class NumericYAxisPainter
Copyright © 2012 Metron, Inc.. All Rights Reserved.