public class StockDataComponentHandle extends DataComponentHandle
KEY_PATH, m_seriesAreRows, ROW_KEY, UNFORMATTED_VALUEm_dataAccess| Constructor and Description |
|---|
StockDataComponentHandle(int id, java.lang.String name, java.lang.Object comp, int r, int c, int group, int series, int o, int h, int l, int cl, int v)
Constructor that uses
int values to specify the row and column. |
| Modifier and Type | Method and Description |
|---|---|
Attributes[] |
getCloseAttributes()
The attributes that make up the Open component of Group ex: DataLabels - Close; Date: 7-12-07
|
java.lang.Object |
getCloseValue(java.lang.String attrName)
Retrieves the close data attribute values associated with attrName argument.
|
int |
getColumn()
Retrieves the column number of the component or cell.
|
int |
getGroup()
Retrieves the group number of the component.
|
Attributes[] |
getHighAttributes()
The attributes that make up the High component of Group ex: DataLabels - High; Date: 7-12-07
|
java.lang.Object |
getHighValue(java.lang.String attrName)
Retrieves the high data attribute values associated with attrName argument.
|
Attributes[] |
getLowAttributes()
The attributes that make up the Low component of Group ex: DataLabels - Low; Date: 7-12-07
|
java.lang.Object |
getLowValue(java.lang.String attrName)
Retrieves the low data attribute values associated with attrName argument.
|
Attributes[] |
getOpenAttributes()
The attributes that make up the Open component of Group ex: DataLabels - Open; Date: 7-12-07
|
java.lang.Object |
getOpenValue(java.lang.String attrName)
Retrieves the open data attribute values associated with attrName argument.
|
int |
getRow()
Retrieves the row number of the component or cell.
|
int |
getSeries()
Retrieves the series number of the component or cell.
|
Attributes[] |
getVolumeAttributes()
The attributes that make up the Open component of Group ex: DataLabels - Volume; Date: 7-12-07
|
java.lang.Object |
getVolumeValue(java.lang.String attrName)
Retrieves the volume data attribute values associated with attrName argument.
|
equals, getComponentInfo, getGroupAttributes, getSeriesAttributes, getValue, isSeriesComponent, setSeriesAreRows, setSeriesComponent, toStringgetComponent, getID, getName, setDataAccess
public StockDataComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
int r,
int c,
int group,
int series,
int o,
int h,
int l,
int cl,
int v)
int values to specify the row and column.id - In a graph, a constant that identifies the represented graph component, such as Graph.DATAMARKER. For a GridView, the constant GridView.DATA_CELL.name - The name of the component that this DataComponentHandle represents.comp - The actual reference to the component.r - The row of the component or cell.c - The column of the component or cell.public int getSeries()
Graph.isDataRowShownAsASeries returns true, then this method returns the same value that the getRow method returns. When Graph.isDataRowShownAsASeries returns false, then this method returns the same value that the getColumn method returns.getSeries in class DataComponentHandleGraph.isDataRowShownAsASeries()public int getGroup()
DataComponentHandle must have been constructed by a constructor that has group and series arguments.getGroup in class DataComponentHandleGraph.isDataRowShownAsASeries()public int getRow()
DataComponentInfo. Row numbers begin at zero.getRow in class DataComponentHandlepublic int getColumn()
DataComponentInfo. Column numbers begin at zero.getColumn in class DataComponentHandlepublic java.lang.Object getOpenValue(java.lang.String attrName)
attrName - A constant for the attribute name UNFORMATTED_VALUE or ROW_KEYDataComponentHandle.UNFORMATTED_VALUE, DataComponentHandle.ROW_KEYpublic java.lang.Object getHighValue(java.lang.String attrName)
attrName - A constant for the attribute name UNFORMATTED_VALUE or ROW_KEYDataComponentHandle.UNFORMATTED_VALUE, DataComponentHandle.ROW_KEYpublic java.lang.Object getLowValue(java.lang.String attrName)
attrName - A constant for the attribute name UNFORMATTED_VALUE or ROW_KEYDataComponentHandle.UNFORMATTED_VALUE, DataComponentHandle.ROW_KEYpublic java.lang.Object getCloseValue(java.lang.String attrName)
attrName - A constant for the attribute name UNFORMATTED_VALUE or ROW_KEYDataComponentHandle.UNFORMATTED_VALUE, DataComponentHandle.ROW_KEYpublic java.lang.Object getVolumeValue(java.lang.String attrName)
attrName - A constant for the attribute name UNFORMATTED_VALUE or ROW_KEYDataComponentHandle.UNFORMATTED_VALUE, DataComponentHandle.ROW_KEYpublic Attributes[] getOpenAttributes()
public Attributes[] getHighAttributes()
public Attributes[] getLowAttributes()
public Attributes[] getCloseAttributes()
public Attributes[] getVolumeAttributes()