oracle.dss.gauge
Class ThresholdComponentHandle
java.lang.Object
oracle.dss.dataView.ComponentHandle
oracle.dss.dataView.DataComponentHandle
oracle.dss.gauge.ThresholdComponentHandle
- All Implemented Interfaces:
- java.io.Serializable
public class ThresholdComponentHandle
- extends DataComponentHandle
This is the component handle for threshold, which extends data component handle
- Threshold set through Data Specification:
For example: if we have 2 threshold values, we will have 3 threshold areas.
For the first two threshold area, getRow() and getColumn() return the Row ID and Column ID from the data set,
the last threshold area returns -1, -1 for both IDs, getIndex returns the index of the threshold.
- Threshold set through Tags or set threshold max value API in UIGauge:
getRow() and getColumn() return -1, getIndex returns the index of the threshold.
- See Also:
- Serialized Form
Constructor Summary |
ThresholdComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
int index,
int r,
int c)
|
Method Summary |
int |
getIndex()
Retrieves the index of the threshold |
Methods inherited from class oracle.dss.dataView.DataComponentHandle |
equals, getColumn, getComponentInfo, getGroup, getGroupAttributes, getRow, getSeries, getSeriesAttributes, getValue, isSeriesComponent, setSeriesAreRows, setSeriesComponent, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ThresholdComponentHandle
public ThresholdComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
int index,
int r,
int c)
- Parameters:
id
- the component idname
- the component namecomp
- the component handleindex
- the index of the componentr
- the row of the value in a data setc
- the column of the value in a data set- For internal use only. Application developers should not use this
- Creates a threshold component handle
getIndex
public int getIndex()
- Retrieves the index of the threshold
- Returns:
- the index
Copyright © 1997, 2011, Oracle. All rights reserved.