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


oracle.dss.dataView
Interface CSSStyleDefaults

All Known Implementing Classes:
CSSStyleDefaultsImpl

public interface CSSStyleDefaults

Interface used to specify default CSS style property values in a view. When a CSSStyleDefaults is applied to a view, the style property values become new defaults. In generated XML that only saves changed property values, the properties specified through the CSSStyleDefault are not saved in the XML.

This interface is primarily intended to be used by the thin beans, to provide better compatibility when working with the Java-client beans during design time in a development environment.


Method Summary
 int[] getComponentIDs()
          Retrieves the array of component IDs for which style defaults are specified.
 ViewStyle getCSSDefaults(int compID)
          Retrieves a ViewStyle that specifies the new default property values for a specified component.

 

Method Detail

getComponentIDs

public int[] getComponentIDs()
Retrieves the array of component IDs for which style defaults are specified. A view calls this method when a CSSStyleDefaults is applied to the view. For each component ID in the returned array, the view then calls getCSSDefaults, passing in one of the component IDs in the array, to get the defaults for the specified component.
Returns:
An array of component IDs for which defaults are specified.

getCSSDefaults

public ViewStyle getCSSDefaults(int compID)
Retrieves a ViewStyle that specifies the new default property values for a specified component. A view calls this method for each component whose ID is returned by getComponentIDs, when a CSSStyleDefaults is applied to the view.
Parameters:
compID - The ID of the component whose ViewStyle to get.
Returns:
The ViewStyle for the specified component. The used bits should be set only for those properties whose values should be the new defaults for the specified component.

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


Copyright © 2003, Oracle. All Rights Reserved.