Skip navigation links
oracle.dss.graph.managers
Class GraphRuleStyles
java.lang.Object
oracle.dss.dataView.managers.RuleManager
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
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)
Retrieves the ViewStyle that formats the cells of a paging control. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
einfo
protected transient EdgeComponentInfo einfo
GraphRuleStyles
public GraphRuleStyles()
- Class constructor.
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)
- Description copied from interface:
GraphStyleManager
- 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.
-
- 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
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)
setXML
public void setXML(oracle.dss.util.xml.ContainerNode node,
DataviewCommon dataview,
java.lang.String version,
int reset)
-
- Overrides:
setXML
in class RuleManager
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
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.