@Concealed 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, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBundlesgetUIBundleprotected transient EdgeComponentInfo einfo
public void dataSourceChanged()
dataSourceChanged in interface ManagerdataSourceChanged in class RuleManagerpublic void setBundles(DataviewCommon view, java.util.Vector bundles)
setBundles in interface GraphStyleManagersetBundles in class RuleManagerview - view to refreshbundles - the Vector of bundlesRuleBundle@Concealed public ViewStyle getMetadataStyle(Graph view, java.lang.Object metaData, ViewStyle initStyle, int edge, int depth, int index)
getMetadataStyle in interface GraphStyleManagerview - 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,
RuleContextpublic 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 GraphStyleManagergraph - 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@Concealed
public oracle.dss.util.xml.ObjectNode getXML(boolean allProperties,
DataviewCommon dataview)
@Concealed
public void setXML(oracle.dss.util.xml.ContainerNode node,
DataviewCommon dataview,
java.lang.String version,
int reset)
setXML in class RuleManagerpublic void setUIBundle(DataviewCommon view, RuleBundle bundle)
setUIBundle in interface UIBundlesetUIBundle in class RuleManagerview - the view the RuleBundle applies tobundle - the new RuleBundle used by the UI