Skip navigation links
oracle.dss.dataView
Class AnnotationComponentHandle
java.lang.Object
oracle.dss.dataView.ComponentHandle
oracle.dss.dataView.AnnotationComponentHandle
- All Implemented Interfaces:
- java.io.Serializable
-
public class AnnotationComponentHandle
- extends ComponentHandle
Represents an annotation component on the graph.
- See Also:
- Serialized Form
| Constructor Summary |
AnnotationComponentHandle(int series, int group, int misc, java.lang.String text, java.lang.Object comp)
Constructor. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AnnotationComponentHandle
public AnnotationComponentHandle(int series,
int group,
int misc,
java.lang.String text,
java.lang.Object comp)
- Constructor.
- Parameters:
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.
toString
public java.lang.String toString()
- Converts this object to a
String. The String contains the name of this class and the name of the represented component.
-
- Overrides:
toString in class java.lang.Object
-
- Returns:
- The
String representation of this object.
equals
public boolean equals(java.lang.Object o)
-
- Overrides:
equals in class ComponentHandle
getComponentInfo
public ComponentInfo getComponentInfo()
- Description copied from class:
ComponentHandle
- Retrieves the
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.
-
- Specified by:
getComponentInfo in class ComponentHandle
-
- Returns:
- Information about the component that this
ComponentHandle represents. Returns null if there is no ComponentInfo or if the ComponentInfo is null.
- See Also:
DataComponentHandle
getSeries
public int getSeries()
-
- Returns:
- int the series index of the annotation.
getGroup
public int getGroup()
-
- Returns:
- int the group index of the annotation.
getText
public java.lang.String getText()
-
- Returns:
- String the annotation text.
getMisc
public int getMisc()
-
- Returns:
- int the miscId of the annotation object associated with this handle
Skip navigation links
Copyright © 1997, 2015, Oracle. All rights reserved.