public class GuideInfo
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
GuideInfo(double value,
java.awt.Color lineColor,
java.awt.Color labelColor,
java.awt.Color textColor,
float width,
float[] dash,
boolean showLine,
boolean showIndicator,
boolean enabled)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
GuideInfo |
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 drawing the guide line
|
java.awt.Color |
getLabelColor()
Gets the color for drawing the guide label
|
java.awt.Color |
getLineColor()
Gets the color for drawing the guide line
|
java.awt.Stroke |
getSelectedStroke()
Gets the stroke for drawing the guide when the study is selected.
|
java.awt.Stroke |
getStroke()
Gets the stroke for drawing the guide.
|
java.awt.Color |
getTextColor()
Gets the color for drawing the guide text
|
double |
getValue()
Gets the y-value where the guide will be displayed
|
float |
getWidth()
Gets the line width for drawing the guide line
|
boolean |
isEnabled()
Determines if this guide is enabled (displayed as part of the study)
|
boolean |
isShowIndicator()
Determines if the indicator should be shown for the guide
|
boolean |
isShowLine()
Determines if the line should be shown for the guide
|
java.lang.String |
toString() |
public GuideInfo(double value, java.awt.Color lineColor, java.awt.Color labelColor, java.awt.Color textColor, float width, float[] dash, boolean showLine, boolean showIndicator, boolean enabled)
value
- lineColor
- labelColor
- textColor
- width
- dash
- showLine
- showIndicator
- enabled
- public double getValue()
public java.awt.Color getLineColor()
public java.awt.Color getLabelColor()
public java.awt.Color getTextColor()
public float[] getDash()
public float getWidth()
public boolean isShowLine()
public boolean isShowIndicator()
public boolean isEnabled()
public java.awt.Stroke getStroke()
public java.awt.Stroke getSelectedStroke()
public GuideInfo clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object