org.apache.myfaces.tobago.internal.component
Class AbstractUIPage

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIForm
              extended by org.apache.myfaces.tobago.internal.component.AbstractUIForm
                  extended by org.apache.myfaces.tobago.internal.component.AbstractUIPage
All Implemented Interfaces:
javax.faces.component.NamingContainer, javax.faces.component.StateHolder, InvokeOnComponent, DeprecatedDimension, Form, OnComponentPopulated, Configurable, LayoutBase, LayoutBox, LayoutContainer
Direct Known Subclasses:
UIPage

public abstract class AbstractUIPage
extends AbstractUIForm
implements OnComponentPopulated, LayoutContainer, DeprecatedDimension


Field Summary
static String COMPONENT_TYPE
           
static String FORM_ACCEPT_CHARSET
           
 
Fields inherited from class org.apache.myfaces.tobago.internal.component.AbstractUIForm
SUBMITTED_MARKER
 
Fields inherited from class javax.faces.component.UIForm
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface org.apache.myfaces.tobago.component.OnComponentPopulated
MARKER
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
AbstractUIPage()
           
 
Method Summary
 void encodeBegin(javax.faces.context.FacesContext facesContext)
           
 void encodeChildren(javax.faces.context.FacesContext facesContext)
           
 void encodeEnd(javax.faces.context.FacesContext facesContext)
           
 String getActionId()
           
 Box getActionPosition()
           
 List<LayoutComponent> getComponents()
           
 String getDefaultActionId()
           
 String getFormId(javax.faces.context.FacesContext facesContext)
           
abstract  Measure getHeight()
           
 LayoutManager getLayoutManager()
           
 PageState getPageState(javax.faces.context.FacesContext facesContext)
          Deprecated. PageState is deprecated since 1.5.0
 List<org.apache.commons.collections.KeyValue> getPostfields()
           
 boolean getRendersChildren()
           
abstract  Measure getWidth()
           
 boolean isLayoutChildren()
          Should the children of the this component be laid out from the given layout manager.
 void markSubmittedForm(javax.faces.context.FacesContext facesContext)
           
 void onComponentPopulated(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent parent)
           
 void processDecodes(javax.faces.context.FacesContext facesContext)
           
 void processUpdates(javax.faces.context.FacesContext context)
           
 void setActionId(String actionId)
           
 void setActionPosition(Box actionPosition)
           
 void setDefaultActionId(String defaultActionId)
           
 void setLayoutManager(LayoutManager layoutManager)
           
 void updatePageState(javax.faces.context.FacesContext facesContext)
          Deprecated. PageState is deprecated since 1.5.0
 
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUIForm
invokeOnComponent, processValidators, setSubmitted
 
Methods inherited from class javax.faces.component.UIForm
getContainerClientId, getFamily, isPrependId, isSubmitted, restoreState, saveState, setPrependId
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutContainer
isOverflowX, isOverflowY, setOverflowX, setOverflowY
 
Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutBox
getBorderBottom, getBorderLeft, getBorderRight, getBorderTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, setBorderBottom, setBorderLeft, setBorderRight, setBorderTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop
 
Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutBase
getCurrentHeight, getCurrentWidth, getLeft, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaximumHeight, getMaximumWidth, getMinimumHeight, getMinimumWidth, getPreferredHeight, getPreferredWidth, getTop, setCurrentHeight, setCurrentWidth, setHeight, setLeft, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaximumHeight, setMaximumWidth, setMinimumHeight, setMinimumWidth, setPreferredHeight, setPreferredWidth, setTop, setWidth
 
Methods inherited from interface org.apache.myfaces.tobago.config.Configurable
getCurrentMarkup, getRendererType
 
Methods inherited from interface org.apache.myfaces.tobago.component.DeprecatedDimension
setHeight, setWidth
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

FORM_ACCEPT_CHARSET

public static final String FORM_ACCEPT_CHARSET
See Also:
Constant Field Values
Constructor Detail

AbstractUIPage

public AbstractUIPage()
Method Detail

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class javax.faces.component.UIComponentBase

getFormId

public String getFormId(javax.faces.context.FacesContext facesContext)

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext facesContext)
                 throws IOException
Overrides:
encodeBegin in class javax.faces.component.UIComponentBase
Throws:
IOException

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext facesContext)
                    throws IOException
Overrides:
encodeChildren in class javax.faces.component.UIComponentBase
Throws:
IOException

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext facesContext)
               throws IOException
Overrides:
encodeEnd in class javax.faces.component.UIComponentBase
Throws:
IOException

processDecodes

public void processDecodes(javax.faces.context.FacesContext facesContext)
Overrides:
processDecodes in class AbstractUIForm

markSubmittedForm

public void markSubmittedForm(javax.faces.context.FacesContext facesContext)

getPostfields

public List<org.apache.commons.collections.KeyValue> getPostfields()

processUpdates

public void processUpdates(javax.faces.context.FacesContext context)
Overrides:
processUpdates in class AbstractUIForm

updatePageState

@Deprecated
public void updatePageState(javax.faces.context.FacesContext facesContext)
Deprecated. PageState is deprecated since 1.5.0


getPageState

@Deprecated
public PageState getPageState(javax.faces.context.FacesContext facesContext)
Deprecated. PageState is deprecated since 1.5.0


getActionId

public String getActionId()

setActionId

public void setActionId(String actionId)

getActionPosition

public Box getActionPosition()

setActionPosition

public void setActionPosition(Box actionPosition)

getDefaultActionId

public String getDefaultActionId()

setDefaultActionId

public void setDefaultActionId(String defaultActionId)

onComponentPopulated

public void onComponentPopulated(javax.faces.context.FacesContext facesContext,
                                 javax.faces.component.UIComponent parent)
Specified by:
onComponentPopulated in interface OnComponentPopulated

getComponents

public List<LayoutComponent> getComponents()
Specified by:
getComponents in interface LayoutContainer

getLayoutManager

public LayoutManager getLayoutManager()
Specified by:
getLayoutManager in interface LayoutContainer

setLayoutManager

public void setLayoutManager(LayoutManager layoutManager)
Specified by:
setLayoutManager in interface LayoutContainer

isLayoutChildren

public boolean isLayoutChildren()
Description copied from interface: LayoutContainer
Should the children of the this component be laid out from the given layout manager.

Specified by:
isLayoutChildren in interface LayoutContainer

getWidth

public abstract Measure getWidth()
Specified by:
getWidth in interface DeprecatedDimension
Specified by:
getWidth in interface LayoutBase

getHeight

public abstract Measure getHeight()
Specified by:
getHeight in interface DeprecatedDimension
Specified by:
getHeight in interface LayoutBase


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.