Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


oracle.adf.view.faces.bi.component.pivotTable
Class LayerSizingRuleImpl

java.lang.Object
  extended by oracle.adf.view.faces.bi.component.BIComplexAttributeBase
      extended by oracle.adf.view.faces.bi.component.pivotTable.SizingRule
          extended by oracle.adf.view.faces.bi.component.pivotTable.LayerSizingRule
              extended by oracle.adf.view.faces.bi.component.pivotTable.LayerSizingRuleImpl

All Implemented Interfaces:
javax.faces.component.StateHolder

public class LayerSizingRuleImpl
extends LayerSizingRule

Implementation class of LayerSizingRule, used for sizing layers on the row edge and column edge of the Pivot Table.

Since:
release specific (what release of product did this appear in)

Field Summary
static java.lang.String DEFAULT_LAYER_SIZING_RULE_TYPE
           
static org.apache.myfaces.trinidad.bean.PropertyKey LAYER_KEY
           
static org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
           

 

Fields inherited from class oracle.adf.view.faces.bi.component.pivotTable.SizingRule
SIZE_KEY

 

Fields inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
ID_KEY, m_parent, TRANSIENT_KEY

 

Constructor Summary
LayerSizingRuleImpl()
          Constructs an empty rule.
LayerSizingRuleImpl(java.lang.String layer, int size)
          Constructs a rule for the specified layer with the specified size.

 

Method Summary
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
          Gets the bean type.
 java.lang.String getLayer()
          Gets the layer of this rule.
 java.lang.String getRuleType()
          Returns the rule type.
 void initBeforeRun()
          Called after configuring rules, but before running rules.
 boolean overridesRule(LayerSizingRuleImpl rule)
          Indicates whether the specified rule's layer equals the layer of this rule.
 boolean runRule(java.lang.String layer)
          Indicates whether the specified layer equals the layer of this rule.
 void setLayer(java.lang.String layer)
          Sets the layer of this rule.

 

Methods inherited from class oracle.adf.view.faces.bi.component.pivotTable.SizingRule
getSize, setSize

 

Methods inherited from class oracle.adf.view.faces.bi.component.BIComplexAttributeBase
applyProperties, getBooleanProperty, getFacesBean, getId, getParent, getProperty, getPropertyKey, getSetAttributeIndex, isTransient, isUpdated, processSetAttribute, processSetAttributeAndAdd, restoreState, 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

DEFAULT_LAYER_SIZING_RULE_TYPE

public static final java.lang.String DEFAULT_LAYER_SIZING_RULE_TYPE
See Also:
Constant Field Values

TYPE

public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE

LAYER_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey LAYER_KEY

Constructor Detail

LayerSizingRuleImpl

public LayerSizingRuleImpl()
Constructs an empty rule.

LayerSizingRuleImpl

public LayerSizingRuleImpl(java.lang.String layer,
                           int size)
Constructs a rule for the specified layer with the specified size.
Parameters:
layer - the layer referenced by this rule
size - size for that layer, in pixels

Method Detail

getLayer

public java.lang.String getLayer()
Gets the layer of this rule.
Returns:
the layer referenced by this rule

setLayer

public void setLayer(java.lang.String layer)
Sets the layer of this rule.
Parameters:
layer - the layer referenced by this rule

runRule

public boolean runRule(java.lang.String layer)
Description copied from class: LayerSizingRule
Indicates whether the specified layer equals the layer of this rule.
Specified by:
runRule in class LayerSizingRule
Parameters:
layer - the layer to compare to the layer referenced by this rule
Returns:
true if this rule applies to the specified layer, false otherwise

getBeanType

protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
Description copied from class: SizingRule
Gets the bean type.
Overrides:
getBeanType in class SizingRule
Returns:
the bean type

initBeforeRun

public void initBeforeRun()
Description copied from class: SizingRule
Called after configuring rules, but before running rules.
Specified by:
initBeforeRun in class SizingRule

overridesRule

public boolean overridesRule(LayerSizingRuleImpl rule)
Indicates whether the specified rule's layer equals the layer of this rule.
Parameters:
rule - the rule to compare to this rule
Returns:
true if the specified rule's layer equals the layer of this rule, false otherwise

getRuleType

public java.lang.String getRuleType()
Description copied from class: SizingRule
Returns the rule type.
Specified by:
getRuleType in class SizingRule
Returns:
the rule type

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


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