Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.dataView
Interface FormatManager

All Superinterfaces:
Manager
All Known Subinterfaces:
GraphFormatManager, GridViewFormatManager

public interface FormatManager
extends Manager

This interface describes the API to which a class implementing data formatting for view beans must adhere.


Method Summary
 java.lang.Object formatDataValue(DataviewCommon view, java.lang.Object data, int column, int row, int[] pageHPos, ViewFormat vf)
          Given a data object return a formatted version of that data object for the given data plane location.
 java.util.Vector getBundles()
          Retrieves the vector of rule bundles that this manager uses to format Dataview items.
 void setBundles(DataviewCommon view, java.util.Vector bundles)
          Specifies the vector of RuleBundle objects to use.

 

Methods inherited from interface oracle.dss.dataView.Manager
dataSourceChanged

 

Method Detail

formatDataValue

public java.lang.Object formatDataValue(DataviewCommon view,
                                        java.lang.Object data,
                                        int column,
                                        int row,
                                        int[] pageHPos,
ViewFormat vf)
Given a data object return a formatted version of that data object for the given data plane location.
Parameters:
view - the view needing formatting resolution
data - the data to format
column - the across location of this data item
row - the down location of this data item
pageHPos - the hPos of the page on which this data item resides
vf - ViewFormat which may be used in the formatting
Returns:
the formatted data item, as a String

setBundles

public void setBundles(DataviewCommon view,
                       java.util.Vector bundles)
Specifies the vector of RuleBundle objects to use. The vector is passed by value.
Parameters:
bundles - The vector of rule bundles that this manager should use.
See Also:
RuleBundle

getBundles

public java.util.Vector getBundles()
Retrieves the vector of rule bundles that this manager uses to format Dataview items. Rule bundle vectors are passed by value. If you modify the vector that this method returns, call the setBundles method to set the modified vector.
Returns:
The vector of rule bundles that this manager uses.
See Also:
RuleBundle

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.