public class GraphRuleStyles extends RuleManager implements GraphStyleManager, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected EdgeComponentInfo |
einfo |
m_bundles, m_context, m_dataview, m_uiBundle, UIBUNDLE_NAME
Constructor and Description |
---|
GraphRuleStyles()
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
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) |
getBundles, getUIBundle, getXML, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBundles
getUIBundle
protected transient EdgeComponentInfo einfo
public void dataSourceChanged()
dataSourceChanged
in interface Manager
dataSourceChanged
in class RuleManager
public void setBundles(DataviewCommon view, java.util.Vector bundles)
setBundles
in interface GraphStyleManager
setBundles
in class RuleManager
view
- view to refreshbundles
- the Vector of bundlesRuleBundle
public ViewStyle getMetadataStyle(Graph view, java.lang.Object metaData, ViewStyle initStyle, int edge, int depth, int index)
getMetadataStyle
in interface GraphStyleManager
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
public 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 paintgetGraphComponentStyle
in interface GraphStyleManager
graph
- The graph whose components are to format.series
- The series of that graphgroup
- The group of that graphGraphStyle
that specifies the formatting
that the graph should use to paint its components.RuleContext
public oracle.dss.util.xml.ObjectNode getXML(boolean allProperties, DataviewCommon dataview)
public void setXML(oracle.dss.util.xml.ContainerNode node, DataviewCommon dataview, java.lang.String version, int reset)
setXML
in class RuleManager
public void setUIBundle(DataviewCommon view, RuleBundle bundle)
setUIBundle
in interface UIBundle
setUIBundle
in class RuleManager
view
- the view the RuleBundle applies tobundle
- the new RuleBundle used by the UI