|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.2.0) E17492-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.view.faces.bi.component.BIComplexAttributeBase
oracle.adf.view.faces.bi.component.pivotTable.SizingManager
public abstract class SizingManager
The SizingManager
is used to specify pivot table column widths, row heights, row header column widths, and column header row heights.
Field Summary | |
---|---|
static int |
AUTOSIZE Value used to specify that a column width / row height should be ignored and that row/column autosizing should occur for the specified row/column. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
COLUMN_HEADER_ROW_HEIGHT_RULES_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
COLUMN_WIDTH_RULES_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DEFAULT_COLUMN_HEADER_ROW_HEIGHT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DEFAULT_COLUMN_WIDTH_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DEFAULT_ROW_HEADER_COLUMN_WIDTH_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
DEFAULT_ROW_HEIGHT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ROW_HEADER_COLUMN_WIDTH_RULES_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
ROW_HEIGHT_RULES_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
Fields inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase |
---|
ID_KEY, m_parent, TRANSIENT_KEY |
Constructor Summary | |
---|---|
SizingManager() Sole constructor. |
Method Summary | |
---|---|
abstract int |
computeColumnHeaderRowHeight(java.lang.String layer) Returns the height in pixels of a layer on the pivot table's column header. |
abstract int |
computeColumnWidth(QDR sliceQDR) Returns the width in pixels of the specified pivot table column. |
abstract int |
computeRowHeaderColumnWidth(java.lang.String layer) Returns the width in pixels of a layer on the pivot table's row header. |
abstract int |
computeRowHeight(QDR sliceQDR) Returns the height in pixels of the specified pivot table row. |
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
java.util.List<SizingRule> |
getColumnHeaderRowHeightRules() Retrieves a List of SizingRule s that are used to specify column header row heights. |
java.util.List<SizingRule> |
getColumnWidthRules() Retrieves a List of SizingRule s that are used to specify column widths. |
int |
getDefaultColumnHeaderRowHeight() Retrieves the default column header row height. |
int |
getDefaultColumnWidth() Retrieves the default column width. |
int |
getDefaultRowHeaderColumnWidth() Retrieves the default row header column width. |
int |
getDefaultRowHeight() Retrieves the default row height. |
abstract java.util.List<SizingRule> |
getOverriddenRules(java.util.List<SizingRule> rules, SizingRule rule) Retrieves a List of SizingRule s that are overridden by the specified rule. |
java.util.List<SizingRule> |
getRowHeaderColumnWidthRules() Retrieves a List of SizingRule s that are used to specify row header column widths. |
java.util.List<SizingRule> |
getRowHeightRules() Retrieves a List of SizingRule s that are used to specify row heights. |
abstract void |
initRules() This method is called by the Pivot Table, before asking the SizingManager to compute sizes. |
abstract void |
removeOverriddenRules(java.util.List<SizingRule> rules, SizingRule rule) Removes SizingRule s, from a List of SizingRule s, that are overridden by the specified rule. |
void |
removeRules(java.util.List<SizingRule> rules) The Pivot Table calls this method whenever a layout change / pivot is performed by the end user. |
void |
restoreState(javax.faces.context.FacesContext context, java.lang.Object stateObj) |
void |
setColumnHeaderRowHeightRules(java.util.List<SizingRule> rules) Specifies a List of SizingRule s that are used to specify column header row heights. |
void |
setColumnWidthRules(java.util.List<SizingRule> rules) Specifies a List of SizingRule s that are used to specify column widths. |
void |
setDefaultColumnHeaderRowHeight(int height) Specifies the default column header row height. |
void |
setDefaultColumnWidth(int width) Specifies the default column width. |
void |
setDefaultRowHeaderColumnWidth(int width) Specifies the default row header column width. |
void |
setDefaultRowHeight(int height) Specifies the default row height. |
void |
setRowHeaderColumnWidthRules(java.util.List<SizingRule> rules) Specifies a List of SizingRule s that are used to specify row header column widths. |
void |
setRowHeightRules(java.util.List<SizingRule> rules) Specifies a List of SizingRule s that are used to specify row heights. |
Methods inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase |
---|
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey DEFAULT_COLUMN_WIDTH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DEFAULT_ROW_HEIGHT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DEFAULT_COLUMN_HEADER_ROW_HEIGHT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey DEFAULT_ROW_HEADER_COLUMN_WIDTH_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ROW_HEIGHT_RULES_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey COLUMN_WIDTH_RULES_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey COLUMN_HEADER_ROW_HEIGHT_RULES_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey ROW_HEADER_COLUMN_WIDTH_RULES_KEY
public static final int AUTOSIZE
Constructor Detail |
---|
public SizingManager()
Method Detail |
---|
public abstract int computeColumnWidth(QDR sliceQDR)
sliceQDR
- the QDR
of the desired column, containing a key/value pair for each header cell in the columnpublic abstract int computeRowHeight(QDR sliceQDR)
sliceQDR
- the QDR
of the desired row, containing a key/value pair for each header cell in the rowpublic abstract int computeRowHeaderColumnWidth(java.lang.String layer)
layer
- the layer on the row headerpublic abstract int computeColumnHeaderRowHeight(java.lang.String layer)
layer
- the layer on the column headerpublic void removeRules(java.util.List<SizingRule> rules)
SliceSizingRulesImpl
s that have their removedAfterLayoutChange
property set to true
, which is the default for SliceSizingRulesImpl
s. Since the Pivot Table is not notified of query changes made by an application, applications should call this method: - using the column width sizing rule list, if the application explicitly changes the layout of column edge - using the row height sizing rule list, if the application explicitly changes the layout of row edgerules
- a List
of SizingRule
spublic abstract void initRules()
SizingManager
to compute sizes.public int getDefaultColumnWidth()
public void setDefaultColumnWidth(int width)
width
- the default column width in pixelspublic int getDefaultRowHeight()
public void setDefaultRowHeight(int height)
height
- the default row height in pixelspublic int getDefaultRowHeaderColumnWidth()
public void setDefaultRowHeaderColumnWidth(int width)
width
- the default column width in pixelspublic int getDefaultColumnHeaderRowHeight()
public void setDefaultColumnHeaderRowHeight(int height)
height
- the default column header row height in pixelspublic java.util.List<SizingRule> getColumnWidthRules()
List
of SizingRule
s that are used to specify column widths. This list should only contain SliceSizingRule
s or custom SizingRule
s.List
of SizingRule
spublic void setColumnWidthRules(java.util.List<SizingRule> rules)
List
of SizingRule
s that are used to specify column widths. This list should only contain SliceSizingRule
s or custom SizingRule
s.rules
- a List
of SizingRule
spublic java.util.List<SizingRule> getRowHeightRules()
List
of SizingRule
s that are used to specify row heights. This list should only contain SliceSizingRule
s or custom SizingRule
s.List
of SizingRule
spublic void setRowHeightRules(java.util.List<SizingRule> rules)
List
of SizingRule
s that are used to specify row heights. This list should only contain SliceSizingRule
s or custom SizingRule
s.rules
- a List
of SizingRule
spublic java.util.List<SizingRule> getRowHeaderColumnWidthRules()
List
of SizingRule
s that are used to specify row header column widths. This list should only contain LayerSizingRule
s or custom SizingRule
s.List
of SizingRule
spublic void setRowHeaderColumnWidthRules(java.util.List<SizingRule> rules)
List
of SizingRule
s that are used to specify row header column widths. This list should only contain LayerSizingRule
s or custom SizingRule
s.rules
- a List
of SizingRule
spublic java.util.List<SizingRule> getColumnHeaderRowHeightRules()
List
of SizingRule
s that are used to specify column header row heights. This list should only contain LayerSizingRules
s or custom SizingRule
s.List
of SizingRule
spublic void setColumnHeaderRowHeightRules(java.util.List<SizingRule> rules)
List
of SizingRule
s that are used to specify column header row heights. This list should only contain LayerSizingRules
s or custom SizingRule
s.rules
- a List
of SizingRule
spublic abstract java.util.List<SizingRule> getOverriddenRules(java.util.List<SizingRule> rules, SizingRule rule)
List
of SizingRule
s that are overridden by the specified rule.rules
- a List
of SizingRule
srule
- a SizingRule
instance that is used to determine the overridden rulesList
of overridden SizingRule
spublic abstract void removeOverriddenRules(java.util.List<SizingRule> rules, SizingRule rule)
SizingRule
s, from a List
of SizingRule
s, that are overridden by the specified rule.rules
- a List
of SizingRule
srule
- a SizingRule
instance that is used to determine the overridden rulespublic void restoreState(javax.faces.context.FacesContext context, java.lang.Object stateObj)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class BIComplexAttributeBase
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BIComplexAttributeBase
|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.2.0) E17492-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |