public class AnnotationComponentHandle extends ComponentHandle
m_dataAccess
Constructor and Description |
---|
AnnotationComponentHandle(int series,
int group,
int misc,
java.lang.String text,
java.lang.Object comp)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
ComponentInfo |
getComponentInfo()
Retrieves the
ComponentInfo for the component that this
ComponentHandle represents. |
int |
getGroup() |
int |
getMisc() |
int |
getSeries() |
java.lang.String |
getText() |
java.lang.String |
toString()
Converts this object to a
String . |
getComponent, getID, getName, setDataAccess
public AnnotationComponentHandle(int series, int group, int misc, java.lang.String text, java.lang.Object comp)
series
- The series of the annotation.group
- The group of the annotation.misc
- The misc id of the component.text
- The text displayed in this annotation.comp
- The actual reference to the component.public java.lang.String toString()
String
.
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 boolean equals(java.lang.Object o)
equals
in class ComponentHandle
AnnotationComponentHandle
.public ComponentInfo getComponentInfo()
ComponentHandle
ComponentInfo
for the component that this
ComponentHandle
represents.
Concrete subclasses return appropriate subclasses of the
ComponentInfo
class.
For example, a DataComponentHandle
returns a
DataComponentInfo
object, which provides the row and
column of the component.getComponentInfo
in class ComponentHandle
ComponentHandle
represents.
Returns null
if there is no
ComponentInfo
or if the ComponentInfo
is null
.DataComponentHandle
public int getSeries()
public int getGroup()
public java.lang.String getText()
public int getMisc()