Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

oracle.dss.dataView
Interface UIStockMarker

All Known Implementing Classes:
StockMarker

public interface UIStockMarker


Field Summary
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.
 
Method Summary
 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.
 

Field Detail

SMT_FALLING

static final int SMT_FALLING
Stock marker type: Falling. This marker is a candle in which the opening price is higher than the closing price.

See Also:
Constant Field Values

SMT_RISING

static final int SMT_RISING
Stock marker type: Rising. This marker is a candle in which the closing price is higher than the opening price.

See Also:
Constant Field Values

SMT_UNCHANGED

static final int SMT_UNCHANGED
Stock marker type: Unchanged. This marker is a candle in which the opening price and the closing price are the same.

See Also:
Constant Field Values

SMT_SERIES

static final int SMT_SERIES
Stock marker type: Series. The color of this marker indicates the series that it belongs to, rather than the movement of the price.

See Also:
Constant Field Values
Method Detail

getStockMarkerType

int getStockMarkerType(int series,
                       int groups)
Retrieves the kind of information that the color of this stock marker represents. The color of a stock marker can indicate one of the following:

Parameters:
series - The index of the series that this marker belongs to.
groups - The index of the group that this marker belongs to.
Returns:
A constant that indicates what the color of this marker represents. Valid constants are listed in the See Also section.
See Also:
SMT_FALLING, SMT_RISING, SMT_UNCHANGED, SMT_SERIES

setFallingColor

void setFallingColor(java.awt.Color newColor)
Specifies the color of candles where the opening price is higher than the closing price.

Parameters:
color - The color that should represent falling stock prices.

getFallingColor

java.awt.Color getFallingColor()
Retrieves the color of candles where the opening price is higher than the closing price.

Returns:
The color that represents falling stock prices.

setRisingColor

void setRisingColor(java.awt.Color newColor)
Specifies the color of candles where the closing price is higher than the opening price.

Parameters:
color - The color that should represent rising stock prices.

getRisingColor

java.awt.Color getRisingColor()
Retrieves the color of candles where the closing price is higher than the opening price.

Returns:
The color that represents rising stock prices.

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.4.0)

E12063-05

Copyright © 1997, 2011, Oracle. All rights reserved.