public class NonDataComponentHandle extends ComponentHandle
Dataview
.m_dataAccess
Constructor and Description |
---|
NonDataComponentHandle(int id, java.lang.String name, java.lang.Object comp)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
ComponentInfo |
getComponentInfo()
Returns
null . |
java.lang.String |
toString()
Converts this object to a
String . |
getComponent, getID, getName, setDataAccess
public NonDataComponentHandle(int id, java.lang.String name, java.lang.Object comp)
id
- A constant, such as Dataview.TITLE
, that identifies the component that this NonDataComponentHandle
represents. Other usable constants include SUBTITLE
, FOOTNOTE
, DATABODY
, DATABODY_HIGHLIGHTER
, CROSSTAB
, and TABLE
.name
- The name of the represented component.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 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 boolean equals(java.lang.Object o)
equals
in class ComponentHandle
NonDataComponentHandle
.