com.androidplot.xy
Class ValueMarker<PositionMetricType extends PositionMetric>

java.lang.Object
  extended by 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.


Nested Class Summary
static class ValueMarker.TextOrientation
           
 
Constructor Summary
ValueMarker(Number value, PositionMetricType textPosition)
           
ValueMarker(Number value, PositionMetricType textPosition, android.graphics.Paint linePaint, android.graphics.Paint textPaint, android.graphics.Paint backgroundPaint)
           
 
Method Summary
 android.graphics.Paint getBackgroundPaint()
           
 android.graphics.Paint getLinePaint()
           
 int getTextMargin()
          Currently not implemented.
 ValueMarker.TextOrientation getTextOrientation()
           
 android.graphics.Paint getTextPaint()
           
 PositionMetricType getTextPosition()
           
 Number getValue()
           
 void setBackgroundPaint(android.graphics.Paint backgroundPaint)
           
 void setLinePaint(android.graphics.Paint linePaint)
           
 void setTextMargin(int textMargin)
           
 void setTextOrientation(ValueMarker.TextOrientation textOrientation)
          Currently not implemented.
 void setTextPaint(android.graphics.Paint textPaint)
           
 void setTextPosition(PositionMetricType textPosition)
           
 void setValue(Number value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueMarker

public ValueMarker(Number value,
                   PositionMetricType textPosition)

ValueMarker

public ValueMarker(Number value,
                   PositionMetricType textPosition,
                   android.graphics.Paint linePaint,
                   android.graphics.Paint textPaint,
                   android.graphics.Paint backgroundPaint)
Method Detail

getTextPosition

public PositionMetricType getTextPosition()

setTextPosition

public void setTextPosition(PositionMetricType textPosition)

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)

getBackgroundPaint

public android.graphics.Paint getBackgroundPaint()

setBackgroundPaint

public void setBackgroundPaint(android.graphics.Paint backgroundPaint)

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)


Copyright © 2011. All Rights Reserved.