Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.7.0)

E12063-08

oracle.dss.dataView
Interface FormatManager

All Superinterfaces:
Manager, UIBundle
All Known Subinterfaces:
GraphFormatManager
All Known Implementing Classes:
GraphRuleFormatter, ManagerAdapter

public interface FormatManager
extends Manager, UIBundle

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
 
Methods inherited from interface oracle.dss.dataView.UIBundle
getUIBundle, setUIBundle
 

Method Detail

formatDataValue

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

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

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 Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.7.0)

E12063-08

Copyright © 1997, 2013, Oracle. All rights reserved.