public interface UIStockMarker
Modifier and Type | Field and Description |
---|---|
static int |
SMT_FALLING
Stock marker type: Falling.
|
static int |
SMT_RISING
Stock marker type: Rising.
|
static int |
SMT_SERIES
Stock marker type: Series.
|
static int |
SMT_UNCHANGED
Stock marker type: Unchanged.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getFallingColor()
Retrieves the color of candles where the opening price is higher than
the closing price.
|
java.awt.Color |
getRisingColor()
Retrieves the color of candles where the closing price is higher than
the opening price.
|
int |
getStockMarkerType(int series,
int groups)
Retrieves the kind of information that the color of this stock marker
represents.
|
void |
setFallingColor(java.awt.Color newColor)
Specifies the color of candles where the opening price is higher than
the closing price.
|
void |
setRisingColor(java.awt.Color newColor)
Specifies the color of candles where the closing price is higher than
the opening price.
|
static final int SMT_FALLING
static final int SMT_RISING
static final int SMT_UNCHANGED
static final int SMT_SERIES
int getStockMarkerType(int series, int groups)
series
- The index of the series that this marker belongs to.groups
- The index of the group that this marker belongs to.SMT_FALLING
,
SMT_RISING
,
SMT_UNCHANGED
,
SMT_SERIES
void setFallingColor(java.awt.Color newColor)
color
- The color that should represent falling stock prices.java.awt.Color getFallingColor()
void setRisingColor(java.awt.Color newColor)
color
- The color that should represent rising stock prices.java.awt.Color getRisingColor()