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


oracle.dss.graph
Interface GraphStyleManager

All Superinterfaces:
Manager

public interface GraphStyleManager
extends Manager

Method that a style manager for a graph must implement. The style manager for a graph manages the ViewStyle that determines the format of the paging control.

See Also:
ViewStyle

Method Summary
 java.util.Vector getBundles()
          Retrieves the vector of rule bundles that this manager uses to format Dataview items.
 ViewStyle getMetadataStyle(Graph view, java.lang.Object metaData, ViewStyle initStyle, int edge, int depth, int index)
          Retrieves the ViewStyle that formats the cells of a paging control.
 void setBundles(DataviewCommon view, java.util.Vector bundles)
          Specifies the vector of RuleBundle objects to use.

 

Methods inherited from interface oracle.dss.dataView.Manager
dataSourceChanged

 

Method Detail

getMetadataStyle

public ViewStyle getMetadataStyle(Graph view,
                                  java.lang.Object metaData,
ViewStyle initStyle,
                                  int edge,
                                  int depth,
                                  int index)
Retrieves the ViewStyle that formats the cells of a paging control. The implementation of this method should create a RuleContext, and should use the RuleContext to run any rules that have been specified for paging control cells. The resulting ViewStyle is used by the graph to paint the paging control cell.
Parameters:
view - The graph whose paging control to format.
metaData - The metadata that will appear in the paging control cell. This is likely to be a dimension name or a dimension member. The method should store the type of data in the RuleContext.
initStyle - The initial ViewStyle that specifies formatting for the paging control cell.
edge - The edge to which this belongs. Should be oracle.dss.util.DataDirector.PAGE_EDGE.
depth - The layer of this header item within the edge.
index - The member in layer. edge, depth, and index identify the cell that is being formatted in the edge.
Returns:
The ViewStyle that specifies the formatting that the graph should use to paint the paging control cells.
See Also:
DataDirector, RuleContext

setBundles

public void setBundles(DataviewCommon view,
                       java.util.Vector bundles)
Specifies the vector of RuleBundle objects to use. The vector is passed by value.
Parameters:
bundles - The vector of rule bundles that this manager should use.
See Also:
RuleBundle

getBundles

public java.util.Vector getBundles()
Retrieves the vector of rule bundles that this manager uses to format Dataview items. Rule bundle vectors are passed by value. If you modify the vector that this method returns, call the setBundles method to set the modified vector.
Returns:
The vector of rule bundles that this manager uses.
See Also:
RuleBundle

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


Copyright © 2003, Oracle. All Rights Reserved.