public class TaggedNumericYAxisPainter extends NumericYAxisPainter
GlimpseAxisLayout1D
whose associated
axis is a TaggedAxis1D
.BYTES_PER_FLOAT, logger
Constructor and Description |
---|
TaggedNumericYAxisPainter(AxisLabelHandler ticks) |
Modifier and Type | Method and Description |
---|---|
int |
getTagMaxX(int width) |
int |
getTagMinX(int width) |
int |
getTagPointerMaxX(int width) |
void |
paintTo(GlimpseContext context,
GlimpseBounds bounds,
Axis1D axis) |
void |
setLookAndFeel(LookAndFeel laf)
Sets display options for the painter based on the provided LookAndFeel.
|
void |
setTagColor(float[] color) |
void |
setTagHalfWidth(int halfWidth) |
void |
setTagHeight(int height) |
getAxisLabelPositionX, getTickLeftX, getTickRightX, getTickTextPositionX
dispose, getTickCalculator, resetFont, resetLabelColors, resetTickColor, setAxisLabel, setAxisLabelBufferSize, setAxisLabelColor, setFont, setFont, setKeepLabelsForExtremaFullyVisible, setMarkerWidth, setShowLabel, setShowLabelsForOffscreenTicks, setShowMarker, setShowMinorTicks, setShowTickLabels, setTickBufferSize, setTickCalculator, setTickColor, setTickLabelBufferSize, setTickLabelColor, setTickSize, updateTextRenderer
paintTo
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setVisible
public TaggedNumericYAxisPainter(AxisLabelHandler ticks)
public void setTagColor(float[] color)
public void setTagHalfWidth(int halfWidth)
public void setTagHeight(int height)
public void setLookAndFeel(LookAndFeel laf)
GlimpsePainter
setLookAndFeel
in interface GlimpsePainter
setLookAndFeel
in class NumericAxisPainter
public void paintTo(GlimpseContext context, GlimpseBounds bounds, Axis1D axis)
paintTo
in class NumericYAxisPainter
public int getTagMinX(int width)
public int getTagMaxX(int width)
public int getTagPointerMaxX(int width)
Copyright © 2016 Metron, Inc.. All rights reserved.