Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.7.0)

E12063-08

oracle.dss.dataView
Class GroupComponentHandle

java.lang.Object
  extended by oracle.dss.dataView.ComponentHandle
      extended by oracle.dss.dataView.GroupComponentHandle
All Implemented Interfaces:
java.io.Serializable

public class GroupComponentHandle
extends ComponentHandle

Represents a component in a Graph and provides information about the group of the component.

See Also:
Serialized Form

Field Summary
protected  boolean m_seriesAreRows
           
 
Fields inherited from class oracle.dss.dataView.ComponentHandle
m_dataAccess
 
Constructor Summary
GroupComponentHandle(int id, java.lang.String name, java.lang.Object comp, GroupComponentInfo info)
          Constructor that uses a GroupComponentInfo to identify the group of the component.
GroupComponentHandle(int id, java.lang.String name, java.lang.Object comp, int group)
          Constructor that uses an int to identify the group of the component.
GroupComponentHandle(int id, java.lang.String name, java.lang.Object comp, int group, int edge, int slice)
          Constructor that uses an int to identify the group of the component.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 ComponentInfo getComponentInfo()
          Retrieves the GroupComponentInfo for the component that this GroupComponentHandle represents.
 int getEdge()
          Retrieves the edge this group is on.
 int getGroup()
          Retrieves the group number of the component.
 Attributes[] getGroupAttributes()
          The attributes that make up the group ex: Employee -SMITH
 int getLayer()
          Retrieves the layer number of the component.
 int getSlice()
          Retrieves the first slice in the group.
 void setSeriesAreRows(boolean seriesAreRows)
           
 java.lang.String toString()
          Converts this object to a String.
 
Methods inherited from class oracle.dss.dataView.ComponentHandle
getComponent, getID, getName, setDataAccess
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_seriesAreRows

protected boolean m_seriesAreRows
Constructor Detail

GroupComponentHandle

public GroupComponentHandle(int id,
                            java.lang.String name,
                            java.lang.Object comp,
                            int group)
Constructor that uses an int to identify the group of the component.

Parameters:
id - A constant, such as Graph.DATAMARKER, that identifies the component that this GroupComponentHandle represents.
name - The name of the represented component.
comp - The actual reference to the component.
group - The group to which the component belongs.

GroupComponentHandle

public GroupComponentHandle(int id,
                            java.lang.String name,
                            java.lang.Object comp,
                            GroupComponentInfo info)
Constructor that uses a GroupComponentInfo to identify the group of the component.

Parameters:
id - A constant, such as Graph.DATAMARKER, that identifies the component that this GroupComponentHandle represents.
name - The name of the represented component.
comp - The actual reference to the component.
info - The GroupComponentInfo that identifies the group.

GroupComponentHandle

public GroupComponentHandle(int id,
                            java.lang.String name,
                            java.lang.Object comp,
                            int group,
                            int edge,
                            int slice)
Constructor that uses an int to identify the group of the component.

Parameters:
id - A constant, such as Graph.DATAMARKER, that identifies the component that this GroupComponentHandle represents.
name - The name of the represented component.
comp - The actual reference to the component.
group - The group to which the component belongs.
edge - A constant that identifies the edge to which the component belongs. Valid constants are listed in the See Also section.
slice - The first row or column in the group to which the component belongs.
See Also:
DataDirector.COLUMN_EDGE, DataDirector.ROW_EDGE
Method Detail

getLayer

public int getLayer()
Retrieves the layer number of the component. This method gets the information from the GroupComponentInfo. Layer numbers begin at zero.

Layer numbers are relevant for O1TickLabel objects in graphs that have a time axis (dates along the axis). On a time axis, you can have labels for smaller units of time (such as days, weeks, or months) next to the axis, and labels for larger units of time (such as weeks, months, or years) that appear below the labels for smaller units.

The 0th label is the largest time unit.

Returns:
The layer number of the component.

getGroup

public int getGroup()
Retrieves the group number of the component. This method gets the information from the GroupComponentInfo. Group numbers begin at zero.

Returns:
The group number of the component.

getEdge

public int getEdge()
Retrieves the edge this group is on.

Returns:
A constant that identifies edge for this group. Valid constants are documented in the See Also section.
See Also:
DataDirector.COLUMN_EDGE, DataDirector.ROW_EDGE

getSlice

public int getSlice()
Retrieves the first slice in the group. If getEdge returns DataDirector.COLUMN_EDGE, then this method returns the first column of data that this group represents. If getEdge returns DataDirector.ROW_EDGE, then this method returns the first row of data that this group represents.

Returns:
The first slice (row or column) that the group represents.
See Also:
getEdge()

toString

public java.lang.String toString()
Converts this object to a String. The String contains the name of this class, the name of the component, and the group number of the component. Group numbers begin at zero.

Overrides:
toString in class java.lang.Object
Returns:
The String representation of this object.

getComponentInfo

public ComponentInfo getComponentInfo()
Retrieves the GroupComponentInfo for the component that this GroupComponentHandle represents.

Specified by:
getComponentInfo in class ComponentHandle
Returns:
Information about the group of the represented component. The GroupComponentInfo can be null, but this is not normal.
See Also:
DataComponentHandle

getGroupAttributes

public Attributes[] getGroupAttributes()
The attributes that make up the group ex: Employee -SMITH

Returns:
array of Attributes

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class ComponentHandle

setSeriesAreRows

public void setSeriesAreRows(boolean seriesAreRows)

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.7.0)

E12063-08

Copyright © 1997, 2013, Oracle. All rights reserved.