|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.dss.dataView.ComponentHandle
Represents a component in a Dataview. A ComponentHandle provides access to the component that it represents. It also provides information about the component, through the ComponentInfo object. Concrete subclasses of this class provide information that is specific to the kind of component they describe.
ComponentHandle classes are used by Dataview objects to pass access and information to other classes. For example, when you listen for a SelectEvent, you can access the selected component by getting the ComponentHandle object from the event.
ComponentInfo, SelectEvent, Serialized Form| Constructor Summary | |
ComponentHandle(int id, java.lang.String name, java.lang.Object comp)Constructor. | |
| Method Summary | |
java.lang.Object |
getComponent()Retrieves an actual reference to the component that this ComponentHandle represents. |
abstract ComponentInfo |
getComponentInfo()Retrieves the ComponentInfo for the component that this ComponentHandle represents. |
int |
getID()Retrieves the identifier of the component that this ComponentHandle represents. |
java.lang.String |
getName()Retrieves the name of the component that this ComponentHandle represents. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ComponentHandle(int id,
java.lang.String name,
java.lang.Object comp)
id - A constant, such as Dataview.SUBTITLE, that identifies the component that this ComponentHandle represents. Constants are defined in the Dataview class and in its subclasses.name - The name of the component that this ComponentHandle represents.comp - The actual reference to the component.| Method Detail |
public int getID()
ComponentHandle represents.FOOTNOTE, that identifies the represented component.public java.lang.String getName()
ComponentHandle represents.public java.lang.Object getComponent()
ComponentHandle represents.public abstract ComponentInfo getComponentInfo()
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.ComponentHandle represents. Returns null if there is no ComponentInfo or if the ComponentInfo is null.DataComponentHandle
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||