public class LineInfo
extends java.lang.Object
implements java.lang.Cloneable
| Constructor and Description |
|---|
LineInfo(double value,
java.awt.Color lineColor,
float width,
float[] dash)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
LineInfo |
clone()
Creates a clone (copy) of this object.
|
boolean |
equals(java.lang.Object o)
Compares the give object with this object and returns true if they are equal.
|
float[] |
getDash()
Gets the dash style for the line (null for a solid line)
|
java.awt.Color |
getLineColor()
Gets the color of the line (null if default line color)
|
java.awt.Stroke |
getSelectedStroke()
Gets the stroke for drawing the line when the study is selected.
|
java.awt.Stroke |
getStroke()
Gets the stroke for drawing the line.
|
double |
getValue()
Gets the y value (real value) for drawing this line.
|
float |
getWidth()
Gets the width of the line (null for a solid line)
|
java.lang.String |
toString()
Gets string representation of this LineInfo object
|
public LineInfo(double value,
java.awt.Color lineColor,
float width,
float[] dash)
value - y value for the horizontal linelineColor - color of the linewidth - width of the linedash - dash style (null for solid line)public double getValue()
public java.awt.Color getLineColor()
public float[] getDash()
public float getWidth()
public java.awt.Stroke getStroke()
public java.awt.Stroke getSelectedStroke()
public LineInfo clone()
clone in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object