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


oracle.dss.thin.beans.table
Class TableHeader

java.lang.Object
  |
  +--oracle.dss.thin.beans.table.TableHeader
All Implemented Interfaces:
GridViewHeader, Styleable, ViewComponent
Direct Known Subclasses:
ColHeader, RowHeader

public abstract class TableHeader
extends java.lang.Object
implements GridViewHeader

A header in a thin table. Headers display information about the data that is displayed in the thin table.


Method Summary
 ViewStyle getViewStyle()
          Retrieves the ViewStyle that specifies formatting for this header.
 boolean isHorizontal()
          Indicates whether this is a header for columns or for rows.
 boolean isVisible()
          Indicates whether this header is visible.
 void setViewStyle(ViewStyle vs)
          Specifies the ViewStyle that is used to format this header.
 void setVisible(boolean visible)
          Specifies whether this header 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, getComponentName, getID

 

Method Detail

getViewStyle

public ViewStyle getViewStyle()
Retrieves the ViewStyle that specifies formatting for this header. 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
Following copied from interface: oracle.dss.dataView.managers.Styleable
Returns:
A ViewStyle for this object, or null if no ViewStyle has been explicitly set for this object.

setViewStyle

public void setViewStyle(ViewStyle vs)
Specifies the ViewStyle that is used to format this header.
Specified by:
setViewStyle in interface Styleable
Parameters:
vs - The ViewStyle for this header.

setVisible

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

isVisible

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

isHorizontal

public boolean isHorizontal()
Indicates whether this is a header for columns or for rows.
Returns:
true if this header is a column header, false if this header is a row header.

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


Copyright © 2003, Oracle. All Rights Reserved.