public class NonDataIndexComponentHandle extends ComponentHandle
ComponentHandle
for a reference line component in a
graph is a NonDataIndexComponentHandle
.oracle.dss.graph.BaseReferenceLine
,
Serialized Formm_dataAccess
Constructor and Description |
---|
NonDataIndexComponentHandle(int id,
java.lang.String name,
java.lang.Object comp,
int index,
int axisID)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getAxis()
Retrieves the axis to which the component belongs.
|
ComponentInfo |
getComponentInfo()
Returns
null . |
int |
getIndex()
Retrieves the index of the component.
|
java.lang.String |
toString()
Generates a
String representation of this object. |
getComponent, getID, getName, setDataAccess
public NonDataIndexComponentHandle(int id, java.lang.String name, java.lang.Object comp, int index, int axisID)
id
- A constant, such as Graph.REFERENCE_LINE
, that
identifies the component that this
NonDataIndexComponentHandle
represents.name
- The name of the represented component.comp
- The actual reference to the component.index
- The index of the component.axisID
- A constant that identifies axis to which the component belongs.public java.lang.String toString()
String
representation of this object.
The String
contains the name of this class and the
name of the represented component.toString
in class java.lang.Object
String
representation of this object.public ComponentInfo getComponentInfo()
null
.
This method is implemented to provide a concrete implementation of the
abstract method in the superclass.
Because components that do not represent data do not have any
ComponentInfo
objects associated with them, this
method returns null
.getComponentInfo
in class ComponentHandle
null
.DataComponentHandle
public int getIndex()
public int getAxis()
GraphConstants.X1AXIS
,
GraphConstants.Y1AXIS
,
GraphConstants.Y2AXIS
public boolean equals(java.lang.Object o)
equals
in class ComponentHandle
NonDataIndexComponentHandle
.