oracle.adf.view.faces.component.core.output
Class CoreObjectSpacer

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byoracle.adf.view.faces.component.UIXComponent
          extended byoracle.adf.view.faces.component.UIXComponentBase
              extended byoracle.adf.view.faces.component.UIXObject
                  extended byoracle.adf.view.faces.component.core.output.CoreObjectSpacer
All Implemented Interfaces:
StateHolder

public class CoreObjectSpacer
extends UIXObject

objectSpacer occupies a fixed amount of space in a layout, specified by its width and height attributes. If the width is not specified, but height specified, a block level HTML element is rendered, thereby introducing a new line effect. If width is specified, then, irrespective of the specified value of height, it may not get shorter than the applicable line-height, in user agents that strictly support standards mode HTML.

Example:

 <af:panelGroup type="horizontal">
   <f:facet name="separator">
     <af:objectSpacer width="10" height="1"/>
   </f:facet>
   <af:goLink text="First Link"
         destination="http://www.oracle.com"/>
   <af:goLink text="Second Link"
         destination="http://www.oracle.com"/>
   <af:goLink text="Third Link"
         destination="http://www.oracle.com"/>
 </af:panelGroup>


Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static PropertyKey HEIGHT_KEY
           
static PropertyKey PARTIAL_TRIGGERS_KEY
           
static PropertyKey SHORT_DESC_KEY
           
static FacesBean.Type TYPE
           
static PropertyKey WIDTH_KEY
           
 
Fields inherited from class oracle.adf.view.faces.component.UIXComponentBase
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
 
Constructor Summary
  CoreObjectSpacer()
          Construct an instance of the CoreObjectSpacer.
protected CoreObjectSpacer(java.lang.String rendererType)
          Construct an instance of the CoreObjectSpacer.
 
Method Summary
protected  FacesBean.Type getBeanType()
           
 java.lang.String getFamily()
           
 java.lang.String getHeight()
          Gets the height of the objectSpacer item.
 java.lang.String[] getPartialTriggers()
          Gets the IDs of the components that should trigger a partial update.
 java.lang.String getShortDesc()
          Gets the short description of the bean.
 java.lang.String getWidth()
          Gets the width of the objectSpacer item.
 void setHeight(int height)
          Sets the height of the objectSpacer item.
 void setHeight(java.lang.String height)
          Sets the height of the objectSpacer item.
 void setPartialTriggers(java.lang.String[] partialTriggers)
          Sets the IDs of the components that should trigger a partial update.
 void setShortDesc(java.lang.String shortDesc)
          Sets the short description of the bean.
 void setWidth(int width)
          Sets the width of the objectSpacer item.
 void setWidth(java.lang.String width)
          Sets the width of the objectSpacer item.
 
Methods inherited from class oracle.adf.view.faces.component.UIXComponentBase
addAttributeChange, addAttributeChange, addAttributeChangeListener, addFacesListener, broadcast, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getLocalClientId, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeFacesListener, restoreState, saveState, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, toString, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final FacesBean.Type TYPE

WIDTH_KEY

public static final PropertyKey WIDTH_KEY

HEIGHT_KEY

public static final PropertyKey HEIGHT_KEY

SHORT_DESC_KEY

public static final PropertyKey SHORT_DESC_KEY

PARTIAL_TRIGGERS_KEY

public static final PropertyKey PARTIAL_TRIGGERS_KEY

COMPONENT_FAMILY

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

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values
Constructor Detail

CoreObjectSpacer

public CoreObjectSpacer()
Construct an instance of the CoreObjectSpacer.


CoreObjectSpacer

protected CoreObjectSpacer(java.lang.String rendererType)
Construct an instance of the CoreObjectSpacer.

Method Detail

getWidth

public final java.lang.String getWidth()
Gets the width of the objectSpacer item.


setWidth

public final void setWidth(java.lang.String width)
Sets the width of the objectSpacer item.


setWidth

public final void setWidth(int width)
Sets the width of the objectSpacer item.


getHeight

public final java.lang.String getHeight()
Gets the height of the objectSpacer item.


setHeight

public final void setHeight(java.lang.String height)
Sets the height of the objectSpacer item.


setHeight

public final void setHeight(int height)
Sets the height of the objectSpacer item.


getShortDesc

public final java.lang.String getShortDesc()
Gets the short description of the bean. This text is commonly used by user agents to display tooltip help text.


setShortDesc

public final void setShortDesc(java.lang.String shortDesc)
Sets the short description of the bean. This text is commonly used by user agents to display tooltip help text.


getPartialTriggers

public final java.lang.String[] getPartialTriggers()
Gets the IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too.


setPartialTriggers

public final void setPartialTriggers(java.lang.String[] partialTriggers)
Sets the IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too.


getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class UIXObject

getBeanType

protected FacesBean.Type getBeanType()
Overrides:
getBeanType in class UIXObject


Copyright © 2003-2007 Oracle Corporation. All Rights Reserved.