public abstract class SizingRule extends BIComplexAttributeBase
Serializable
subclasses of this class be used, such as SerializableLayerSizingRuleImpl
and SerializableSliceSizingRuleImpl
.Modifier and Type | Field and Description |
---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
SIZE_KEY |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
ID_KEY, m_parent, TRANSIENT_KEY
Constructor and Description |
---|
SizingRule()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType()
Gets the bean type.
|
abstract java.lang.String |
getRuleType()
Returns the rule type.
|
int |
getSize()
Retrieves the size ( in pixels ) to apply when this rule is applied to the pivot table.
|
abstract void |
initBeforeRun()
Called after configuring rules, but before running rules.
|
void |
setSize(int size)
Specifies the size ( in pixels ) to apply when this rule is applied to the pivot table.
|
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, registerAttachedObjectKey, restoreState, saveState, setBooleanProperty, setId, setParent, setProperty, setTransient, setUpdated
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey SIZE_KEY
public abstract void initBeforeRun()
public int getSize()
public void setSize(int size)
size
- the size to apply, in pixelspublic abstract java.lang.String getRuleType()
protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType
in class BIComplexAttributeBase