|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dss.util.format.BaseMergeableHandle | +--oracle.dss.dataView.ViewStyleHandle
Wrapper class used to return a ViewStyle to a view from the data source through the DataAccess interface. This object may be returned through a call to the DataAccess methods getValue and getMemberMetadata, when the requested data layer is DataMap.DATA_VIEWSTYLE or MetadataMap.METADATA_VIEWSTYLE, respectively. If this object is returned by the data source for a particular cell, the contained ViewStyle will be used as a cell-level override of style properties for the cell. The contained ViewStyle will be merged with the default ViewStyle for the component, and will take precedence over defaults.
Fields inherited from class oracle.dss.util.format.BaseMergeableHandle |
DO_NOT_RUN_RULES, RUN_RULES |
Constructor Summary | |
ViewStyleHandle() Constructor. | |
ViewStyleHandle(ViewStyle vs, java.lang.String id, int runRules) Constructor that takes the ViewStyle this class will contain, the unique ID for that ViewStyle, and a constant indicating whether or not rules should be run when the contained ViewStyle is used for painting a cell. |
Method Summary | |
int |
getRunRulesForViewStyle() Determine if rules are run when the contained ViewStyle is used to paint a cell. |
ViewStyle |
getViewStyle() Retrieves the ViewStyle contained by this object. |
java.lang.String |
getViewStyleID() Get the unique ID for the contained ViewStyle. |
void |
setRunRulesForViewStyle(int runRules) Specify whether or not rules are run when the contained ViewStyle is used to paint a cell. |
void |
setViewStyle(ViewStyle vs) Specifies the ViewStyle contained by this object. |
void |
setViewStyleID(java.lang.String id) Set the unique ID for the contained ViewStyle. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ViewStyleHandle()
public ViewStyleHandle(ViewStyle vs, java.lang.String id, int runRules)
vs
- the ViewStyle this object will containid
- the unique ID of the ViewStylerunRules
- constant indicating whether or not rules should be run when using the contained ViewStyle; valid constants are defined in the superclassMethod Detail |
public ViewStyle getViewStyle()
ViewStyle
contained by this object. This ViewStyle will be merged with the default ViewStyle for the component being painted, and will take precedence over defaults.getViewStyle
in interface Styleable
ViewStyle
contained by this object, or null
if no ViewStyle
is contained by this object.public void setViewStyle(ViewStyle vs)
ViewStyle
contained by this object. This ViewStyle will be merged with the default ViewStyle for the component being painted, and will take precedence over defaults.setViewStyle
in interface Styleable
vs
- The ViewStyle
this object will contain, or null
if this object should not contain a ViewStyle
.public java.lang.String getViewStyleID()
public void setViewStyleID(java.lang.String id)
id
- the unique ID for the contained ViewStyle, or null if a unique ID is not availablepublic int getRunRulesForViewStyle()
public void setRunRulesForViewStyle(int runRules)
runRules
- constant indicating whether or not rules should be run when using the contained ViewStyle
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |