Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.1.0)

E17492-02

oracle.dss.graph.managers
Class GraphRuleStyles

java.lang.Object
  extended by oracle.dss.dataView.managers.RuleManager
      extended by oracle.dss.graph.managers.GraphRuleStyles
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Manager, UIBundle, GraphStyleManager

public class GraphRuleStyles
extends RuleManager
implements GraphStyleManager, java.lang.Cloneable

See Also:
Serialized Form
For internal use only. Application developers should not use this

Field Summary
protected  EdgeComponentInfo einfo
           
 
Fields inherited from class oracle.dss.dataView.managers.RuleManager
m_bundles, m_context, m_dataview, m_uiBundle, UIBUNDLE_NAME
 
Constructor Summary
GraphRuleStyles()
          Class constructor.
 
Method Summary
 void dataSourceChanged()
          NEW This implementation does nothing.
 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 is removed due to removal of JEWT dependency
 oracle.dss.util.xml.ObjectNode getXML(boolean allProperties, DataviewCommon dataview)
           
 void setBundles(DataviewCommon view, java.util.Vector bundles)
          Set the rule bundles Vector
 void setUIBundle(DataviewCommon view, RuleBundle bundle)
          Set the RuleBundle used by the UI.
 void setXML(oracle.dss.util.xml.ContainerNode node, DataviewCommon dataview, java.lang.String version, int reset)
           
 
Methods inherited from class oracle.dss.dataView.managers.RuleManager
getBundles, getUIBundle, getXML, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.dss.graph.GraphStyleManager
getBundles
 
Methods inherited from interface oracle.dss.dataView.UIBundle
getUIBundle
 

Field Detail

einfo

protected transient EdgeComponentInfo einfo
Constructor Detail

GraphRuleStyles

public GraphRuleStyles()
Class constructor.

Method Detail

dataSourceChanged

public void dataSourceChanged()
NEW This implementation does nothing.

Specified by:
dataSourceChanged in interface Manager
Overrides:
dataSourceChanged in class RuleManager

setBundles

public void setBundles(DataviewCommon view,
                       java.util.Vector bundles)
Set the rule bundles Vector

Specified by:
setBundles in interface GraphStyleManager
Overrides:
setBundles in class RuleManager
Parameters:
view - view to refresh
bundles - the Vector of bundles
See Also:
RuleBundle

getMetadataStyle

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

Specified by:
getMetadataStyle in interface GraphStyleManager
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
For internal use only. Application developers should not use this

getGraphComponentStyle

public 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

Specified by:
getGraphComponentStyle in interface GraphStyleManager
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

getXML

public oracle.dss.util.xml.ObjectNode getXML(boolean allProperties,
                                             DataviewCommon dataview)
For internal use only. Application developers should not use this

setXML

public void setXML(oracle.dss.util.xml.ContainerNode node,
                   DataviewCommon dataview,
                   java.lang.String version,
                   int reset)
Overrides:
setXML in class RuleManager
For internal use only. Application developers should not use this

setUIBundle

public void setUIBundle(DataviewCommon view,
                        RuleBundle bundle)
Set the RuleBundle used by the UI. This RuleBundle is passed by reference.

Specified by:
setUIBundle in interface UIBundle
Overrides:
setUIBundle in class RuleManager
Parameters:
view - the view the RuleBundle applies to
bundle - the new RuleBundle used by the UI

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.1.0)

E17492-02

Copyright © 1997, 2011, Oracle. All rights reserved.