oracle.dss.dataView
Class NonDataComponentHandle
java.lang.Object
|
+--oracle.dss.dataView.ComponentHandle
|
+--oracle.dss.dataView.NonDataComponentHandle
- All Implemented Interfaces:
- java.io.Serializable
- public class NonDataComponentHandle
- extends ComponentHandle
Represents a component that does not display data, such as a title, in a Dataview
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NonDataComponentHandle
public NonDataComponentHandle(int id,
java.lang.String name,
java.lang.Object comp)
- Constructor.
-
- Parameters:
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.
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.
getComponentInfo
public ComponentInfo getComponentInfo()
- Returns
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
.
-
- Overrides:
getComponentInfo
in class ComponentHandle
-
- Returns:
null
.
Copyright © 2003, Oracle. All Rights Reserved.