| 
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1) E12063-04  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GraphStyleManager
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.
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)
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 | 
| Methods inherited from interface oracle.dss.dataView.UIBundle | 
|---|
getUIBundle, setUIBundle | 
| Method Detail | 
|---|
ViewStyle getMetadataStyle(Graph view,
                           java.lang.Object metaData,
                           ViewStyle initStyle,
                           int edge,
                           int depth,
                           int index)
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.
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.
ViewStyle that specifies the formatting
             that the graph should use to paint the paging control
             cells.DataDirector, 
RuleContext
GraphStyle getGraphComponentStyle(CommonGraph graph,
                                  int series,
                                  int group)
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
graph - The graph whose components are to format.series - The series of that graphgroup - The group of that graph
GraphStyle that specifies the formatting
             that the graph should use to paint its components.RuleContext
void setBundles(DataviewCommon view,
                java.util.Vector bundles)
RuleBundle objects to use.
 The vector is passed by value.
bundles - The vector of rule bundles that this manager should
                use.RuleBundlejava.util.Vector getBundles()
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.
RuleBundle
  | 
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1) E12063-04  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||