| 
 | Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.dss.util.format.BaseMergeableHandle
oracle.dss.util.format.BaseViewFormatHandle
public class BaseViewFormatHandle
Wrapper class for returning a BaseViewFormat to a view from the
 data source, through the DataAccess interface.
 
 When DataMap.DATA_VIEWFORMAT is passed as the type
 parameter of the DataAccess.getValue method, the
 DataAccess returns a BaseViewFormatHandle.
 The view uses the BaseViewFormat that this handle wraps,
 to format numbers in a cell.
 The settings in the wrapped BaseViewFormat
 take precedence over
 those in the default BaseViewFormat for a view component.
 
 The RunRulesForViewFormat property of this BaseViewFormatHandle
 determines whether the view runs rules on the wrapped
 BaseViewFormat.
 If the view does not run rules, then the wrapped BaseViewFormat
 specifies all of the number formatting for the cell.
| Field Summary | |
|---|---|
| protected  BaseViewFormat | m_baseViewFormat | 
| protected  int | m_runRulesForViewFormat | 
| protected  java.lang.String | m_viewFormatID | 
| Fields inherited from class oracle.dss.util.format.BaseMergeableHandle | 
|---|
| DO_NOT_RUN_RULES, RUN_RULES | 
| Constructor Summary | |
|---|---|
| BaseViewFormatHandle()Constructor that takes no arguments. | |
| BaseViewFormatHandle(BaseViewFormat baseViewFormat,
                     java.lang.String id,
                     int runRules)Constructor that specifies a BaseViewFormat,
 anID, and whether rules apply to the cell. | |
| Method Summary | |
|---|---|
|  BaseViewFormat | getBaseViewFormat()Retrieves the BaseViewFormatthat this object wraps. | 
|  int | getRunRulesForViewFormat()Indicates whether the view should run rules on the cell for which the BaseViewFormatprovides formatting. | 
|  java.lang.String | getViewFormatID()Retrieves the ID of the BaseViewFormatthat thisBaseViewFormatHandlewraps. | 
|  void | setBaseViewFormat(BaseViewFormat baseViewFormat)Specifies the BaseViewFormatthat this object wraps. | 
|  void | setRunRulesForViewFormat(int runRules)Specifies whether the view should run rules on the cell for which the BaseViewFormatprovides formatting. | 
|  void | setViewFormatID(java.lang.String id)Specifies a unique ID for BaseViewFormatthat thisBaseViewFormatHandlewraps. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected BaseViewFormat m_baseViewFormat
protected java.lang.String m_viewFormatID
protected int m_runRulesForViewFormat
| Constructor Detail | 
|---|
public BaseViewFormatHandle()
BaseViewFormat
 for this BaseViewFormatHandle to wrap, and you must
 specify whether rules apply to the cell.
 You can also set a unique ID for the BaseViewFormat.
setBaseViewFormat(oracle.dss.util.format.BaseViewFormat), 
setRunRulesForViewFormat(int), 
setViewFormatID(java.lang.String)
public BaseViewFormatHandle(BaseViewFormat baseViewFormat,
                            java.lang.String id,
                            int runRules)
BaseViewFormat,
 an ID, and whether rules apply to the cell.
baseViewFormat - The BaseViewFormat for this object to wrap.id - A unique ID for the BaseViewFormat.runRules - A constant that indicates whether rules set on the view
                should be run for a cell that uses baseViewFormat.
                Valid constants are listed in the See Also section.BaseMergeableHandle.RUN_RULES, 
BaseMergeableHandle.DO_NOT_RUN_RULES| Method Detail | 
|---|
public BaseViewFormat getBaseViewFormat()
BaseViewFormat that this object wraps.
 The BaseViewFormat that this method returns is merged with
 the default BaseViewFormat for the view component.
 The settings in the returned BaseViewFormat take precedence
 over the default BaseViewFormat.
BaseViewFormat that this object wraps, or
         null if no BaseViewFormat has been
         set.public void setBaseViewFormat(BaseViewFormat baseViewFormat)
BaseViewFormat that this object wraps.
 The settings in the BaseViewFormat that you pass to this method
 take precedence over the default BaseViewFormat for a view
 component.
baseViewFormat - The BaseViewFormat for this
                         BaseViewFormatHandle.public java.lang.String getViewFormatID()
BaseViewFormat that this
 BaseViewFormatHandle wraps.
BaseViewFormat, or
         null if no ID has been specified.public void setViewFormatID(java.lang.String id)
BaseViewFormat that this
 BaseViewFormatHandle wraps.
id - An ID for the BaseViewFormat.public int getRunRulesForViewFormat()
BaseViewFormat provides formatting.
 If the view runs rules, then the format settings in the
 BaseViewFormat can be overridden by those specified in the
 rules.
 If the view does not run rules, then the format settings in the
 BaseViewFormat determine the number formatting for the cell.
BaseViewFormat that this
         BaseViewFormatHandle wraps. Valid constants are
         listed in the See Also section.BaseMergeableHandle.RUN_RULES, 
BaseMergeableHandle.DO_NOT_RUN_RULESpublic void setRunRulesForViewFormat(int runRules)
BaseViewFormat provides formatting.
 If the view runs rules, then the format settings in the
 BaseViewFormat can be overridden by those specified in the
 rules.
 If the view does not run rules, then the format settings in the
 BaseViewFormat determine the number formatting for the cell.
runRules - A constant that indicates whether the view should run rules
         that can override settings in the BaseViewFormat that
         this BaseViewFormatHandle wraps. Valid constants are
         listed in the See Also section.BaseMergeableHandle.RUN_RULES, 
BaseMergeableHandle.DO_NOT_RUN_RULES| 
 | Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||