|
Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 2 (11.1.2.0.0) E17492-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.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 SizingRules that are used to specify column header row heights. |
java.util.List<SizingRule> |
getColumnWidthRules()
Retrieves a List of SizingRules 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 SizingRules that are overridden by the specified rule. |
java.util.List<SizingRule> |
getRowHeaderColumnWidthRules()
Retrieves a List of SizingRules that are used to specify row header column widths. |
java.util.List<SizingRule> |
getRowHeightRules()
Retrieves a List of SizingRules 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 SizingRules, from a List of SizingRules,
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 SizingRules that are used to specify column header row heights. |
void |
setColumnWidthRules(java.util.List<SizingRule> rules)
Specifies a List of SizingRules 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 SizingRules that are used to specify row header column widths. |
void |
setRowHeightRules(java.util.List<SizingRule> rules)
Specifies a List of SizingRules 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 column
public abstract int computeRowHeight(QDR sliceQDR)
sliceQDR - the QDR of the desired row, containing a key/value pair for each header cell in the row
public abstract int computeRowHeaderColumnWidth(java.lang.String layer)
layer - the layer on the row header
public abstract int computeColumnHeaderRowHeight(java.lang.String layer)
layer - the layer on the column header
public void removeRules(java.util.List<SizingRule> rules)
SliceSizingRulesImpls
that have their removedAfterLayoutChange property set to true, which is the
default for SliceSizingRulesImpls.
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 edge
rules - a List of SizingRulespublic 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 SizingRules that are used to specify column widths.
This list should only contain SliceSizingRules or custom SizingRules.
List of SizingRulespublic void setColumnWidthRules(java.util.List<SizingRule> rules)
List of SizingRules that are used to specify column widths.
This list should only contain SliceSizingRules or custom SizingRules.
rules - a List of SizingRulespublic java.util.List<SizingRule> getRowHeightRules()
List of SizingRules that are used to specify row heights.
This list should only contain SliceSizingRules or custom SizingRules.
List of SizingRulespublic void setRowHeightRules(java.util.List<SizingRule> rules)
List of SizingRules that are used to specify row heights.
This list should only contain SliceSizingRules or custom SizingRules.
rules - a List of SizingRulespublic java.util.List<SizingRule> getRowHeaderColumnWidthRules()
List of SizingRules that are used to specify row header column widths.
This list should only contain LayerSizingRules or custom SizingRules.
List of SizingRulespublic void setRowHeaderColumnWidthRules(java.util.List<SizingRule> rules)
List of SizingRules that are used to specify row header column widths.
This list should only contain LayerSizingRules or custom SizingRules.
rules - a List of SizingRulespublic java.util.List<SizingRule> getColumnHeaderRowHeightRules()
List of SizingRules that are used to specify column header row heights.
This list should only contain LayerSizingRuless or custom SizingRules.
List of SizingRulespublic void setColumnHeaderRowHeightRules(java.util.List<SizingRule> rules)
List of SizingRules that are used to specify column header row heights.
This list should only contain LayerSizingRuless or custom SizingRules.
rules - a List of SizingRules
public abstract java.util.List<SizingRule> getOverriddenRules(java.util.List<SizingRule> rules,
SizingRule rule)
List of SizingRules that are overridden by the specified rule.
rules - a List of SizingRulesrule - a SizingRule instance that is used to determine the overridden rules
List of overridden SizingRules
public abstract void removeOverriddenRules(java.util.List<SizingRule> rules,
SizingRule rule)
SizingRules, from a List of SizingRules,
that are overridden by the specified rule.
rules - a List of SizingRulesrule - a SizingRule instance that is used to determine the overridden rules
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object stateObj)
restoreState in interface javax.faces.component.StateHolderrestoreState in class BIComplexAttributeBaseprotected 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.0.0) E17492-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||