|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
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
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()
|
Method Summary | |
---|---|
abstract int |
computeColumnHeaderRowHeight(java.lang.String layer)
Retrieves the row height ( in pixels ) associated with the members of a layer on the pivot table's column header. |
abstract int |
computeColumnWidth(QDR sliceQDR)
Return the column width ( in pixels ) associated with the members of a slice on the pivot table's column header |
abstract int |
computeRowHeaderColumnWidth(java.lang.String layer)
Computes the column width ( in pixels ) associated with the members of a layer on the pivot table's row header |
abstract int |
computeRowHeight(QDR sliceQDR)
Return the row height ( in pixels ) associated with the members of a slice on the pivot table's row header Please note that the return value of this property cannot be used to shrink the height of a row's contents. |
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
- a QDR that contains an list of layer-member value pairs of a slice on the column header.
int
public abstract int computeRowHeight(QDR sliceQDR)
sliceQDR
- a QDR that contains an ordered list of layer-member value pairs of a slice on the row header.
int
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)
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 edge
rules
- a List
of SizingRule
spublic abstract void initRules()
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 SliceSizingRules or custom SizingRules.
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 SliceSizingRules or custom SizingRules.
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 SliceSizingRules or custom SizingRules.
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 SliceSizingRules or custom SizingRules.
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 LayerSizingRules or custom SizingRules.
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 LayerSizingRules or custom SizingRules.
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 or custom SizingRules.
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 or custom SizingRules.
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 rules
List
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 ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |