com.androidplot.xy
Class ValueMarker<PositionMetricType extends PositionMetric>
java.lang.Object
com.androidplot.xy.ValueMarker<PositionMetricType>
- Type Parameters:
PositionMetricType
-
- Direct Known Subclasses:
- XValueMarker, YValueMarker
public abstract class ValueMarker<PositionMetricType extends PositionMetric>
- extends Object
Encapsulates a single axis line marker drawn onto an XYPlot at a specified value.
Constructor Summary |
ValueMarker(Number value,
String text,
PositionMetricType textPosition)
|
ValueMarker(Number value,
String text,
PositionMetricType textPosition,
int linePaint,
int textPaint)
|
ValueMarker(Number value,
String text,
PositionMetricType textPosition,
android.graphics.Paint linePaint,
android.graphics.Paint textPaint)
|
ValueMarker
public ValueMarker(Number value,
String text,
PositionMetricType textPosition)
ValueMarker
public ValueMarker(Number value,
String text,
PositionMetricType textPosition,
android.graphics.Paint linePaint,
android.graphics.Paint textPaint)
- Parameters:
value
- text
- textPosition
- linePaint
- textPaint
-
ValueMarker
public ValueMarker(Number value,
String text,
PositionMetricType textPosition,
int linePaint,
int textPaint)
getText
public String getText()
setText
public void setText(String text)
getValue
public Number getValue()
setValue
public void setValue(Number value)
getLinePaint
public android.graphics.Paint getLinePaint()
setLinePaint
public void setLinePaint(android.graphics.Paint linePaint)
getTextPaint
public android.graphics.Paint getTextPaint()
setTextPaint
public void setTextPaint(android.graphics.Paint textPaint)
getTextOrientation
public ValueMarker.TextOrientation getTextOrientation()
setTextOrientation
public void setTextOrientation(ValueMarker.TextOrientation textOrientation)
- Currently not implemented. Sets the orientation of the text portion of this
ValueMarker.
- Parameters:
textOrientation
-
getTextMargin
public int getTextMargin()
- Currently not implemented.
- Returns:
setTextMargin
public void setTextMargin(int textMargin)
getTextPosition
public PositionMetricType getTextPosition()
setTextPosition
public void setTextPosition(PositionMetricType textPosition)
Copyright © 2010-2013 androidplot.com. All Rights Reserved.