public class IndicatorInfo
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
IndicatorInfo(java.awt.Color bgColor,
java.awt.Color textColor,
boolean showLine,
boolean enabled)
Constructs an Indicator Info.
|
Modifier and Type | Method and Description |
---|---|
IndicatorInfo |
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.
|
java.awt.Color |
getBackgroundColor()
Gets the background color for the indicator.
|
java.awt.Color |
getTextColor()
Gets the text color for the indicator.
|
boolean |
isEnabled()
Indicates if this indicator is to be displayed on the price/value graph.
|
boolean |
isShowLine()
Indicates if this indicator should show a horizontal line.
|
public IndicatorInfo(java.awt.Color bgColor, java.awt.Color textColor, boolean showLine, boolean enabled)
bgColor
- - Background colortextColor
- - Text colorshowLine
- - true if a vertical line should be shown with the indicator.enabled
- - true if this indicator should be displayed.public java.awt.Color getBackgroundColor()
public java.awt.Color getTextColor()
public boolean isEnabled()
public boolean isShowLine()
public IndicatorInfo clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object