Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.thin.beans.crosstab
Class CrosstabDatabody

java.lang.Object
  |
  +--oracle.dss.thin.beans.crosstab.CrosstabDatabody
All Implemented Interfaces:
GridViewDatabody, Styleable, ViewComponent

public class CrosstabDatabody
extends java.lang.Object
implements GridViewDatabody

The databody for a thin crosstab. The data appears in the databody.


Method Summary
 java.lang.String getComponentName()
          Return the string name for this component.
 int getID()
          Retrieves the ID for this databody.
 ViewStyle getViewStyle()
          Retrieves the ViewStyle that specifies formatting for this databody.
 boolean isVisible()
          Indicates whether this databody is visible.
 void setViewStyle(ViewStyle vs)
          Specifies the ViewStyle that is used to format this databody.
 void setVisible(boolean visible)
          Specifies whether this databody is visible.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.dss.dataView.ViewComponent
getBeanInfo

 

Method Detail

getID

public int getID()
Retrieves the ID for this databody.
Specified by:
getID in interface ViewComponent
Returns:
A constant, DATABODY, which identifies this as the databody component of the crosstab.

getComponentName

public java.lang.String getComponentName()
Description copied from interface: ViewComponent
Return the string name for this component.
Specified by:
getComponentName in interface ViewComponent
Following copied from interface: oracle.dss.dataView.ViewComponent
Returns:
the string name identifying the component

setVisible

public void setVisible(boolean visible)
Specifies whether this databody is visible.
Parameters:
visible - true to display this databody, false to hide it.

isVisible

public boolean isVisible()
Indicates whether this databody is visible.
Returns:
true if this databody is visible, false if it is not.

getViewStyle

public ViewStyle getViewStyle()
Retrieves the ViewStyle that specifies formatting for this databody. Note : Until oracle.dss.dataView.CSSStyleDefaults are applied to the view the ViewStyle that is returned from this method will not have the correct default values. The only properties from the ViewStyle that effect this component's style are that have been explicitly set by the application programmer via ViewStyle methods or applying XML. To figure out whether a property has been explicitly set, the "use bits" of the ViewStyle are queried. For example, if setBackground() has been called on the ViewStyle, then isBackgroundUsed() will return true.
Specified by:
getViewStyle in interface Styleable
Returns:
The ViewStyle for this databody.

setViewStyle

public void setViewStyle(ViewStyle vs)
Specifies the ViewStyle that is used to format this databody. This method creates a new ViewStyle, using the attribute settings from the specified ViewStyle. For the databody-specific attributes, this method copies values from the previous default ViewStyle.
Specified by:
setViewStyle in interface Styleable
Parameters:
vs - The ViewStyle for this databody.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.