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

E12063-08

oracle.dss.graph
Interface GraphStyleManager

All Superinterfaces:
Manager, UIBundle
All Known Implementing Classes:
GraphRuleStyles

public interface GraphStyleManager
extends Manager, UIBundle

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.
 GraphStyle getGraphComponentStyle(CommonGraph graph, int series, int group)
          Retrieves the GraphStyle that formats graph components.
 ViewStyle getMetadataStyle(Graph view, java.lang.Object metaData, ViewStyle initStyle, int edge, int depth, int index)
          Deprecated. This function is removed due to removal of JEWT dependency
 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
 
Methods inherited from interface oracle.dss.dataView.UIBundle
getUIBundle, setUIBundle
 

Method Detail

getMetadataStyle

ViewStyle getMetadataStyle(Graph view,
                           java.lang.Object metaData,
                           ViewStyle initStyle,
                           int edge,
                           int depth,
                           int index)
Deprecated. This function is removed due to removal of JEWT dependency

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
For internal use only. Application developers should not use this
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.

getGraphComponentStyle

GraphStyle getGraphComponentStyle(CommonGraph graph,
                                  int series,
                                  int group)
Retrieves the GraphStyle that formats graph components. The implementation of this method should create a RuleContext, and should use the RuleContext to run any rules that have been specified for Graph. The resulting GraphStyle is used by the graph to paint

Parameters:
graph - The graph whose components are to format.
series - The series of that graph
group - The group of that graph
Returns:
The GraphStyle that specifies the formatting that the graph should use to paint its components.
See Also:
RuleContext

setBundles

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

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 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.