org.apache.myfaces.tobago.component
Class UIFlowLayout

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.apache.myfaces.tobago.internal.component.AbstractUILayoutBase
              extended by org.apache.myfaces.tobago.internal.component.AbstractUIFlowLayout
                  extended by org.apache.myfaces.tobago.component.UIFlowLayout
All Implemented Interfaces:
javax.faces.component.StateHolder, SupportsMarkup, Configurable, LayoutManager

public class UIFlowLayout
extends AbstractUIFlowLayout
implements SupportsMarkup

XXX Warning: Still in progress! Please do not use it until other announcement. Renders a FlowLayout that positions the content components in there natural order. UIComponent class, generated from template component1.2.stg with class FlowLayoutTagDeclaration.


Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
UIFlowLayout()
           
 
Method Summary
 Markup getCurrentMarkup()
           
 String getFamily()
           
 Measure getMargin()
          Margin between container component and the children.
 Measure getMarginBottom()
          Bottom margin between container component and the children.
 Measure getMarginLeft()
          Left margin between container component and the children.
 Measure getMarginRight()
          Right margin between container component and the children.
 Measure getMarginTop()
          Top margin between container component and the children.
 Markup getMarkup()
           
 TextAlign getTextAlign()
          The alignment of the elements inside of the container, possible values are: {
Default: TextAlign.LEFT
Allowed Values: left,right,center,justify
 void restoreState(javax.faces.context.FacesContext context, Object componentState)
           
 Object saveState(javax.faces.context.FacesContext context)
           
 void setCurrentMarkup(Markup currentMarkup)
           
 void setMargin(Measure margin)
           
 void setMarginBottom(Measure marginBottom)
           
 void setMarginLeft(Measure marginLeft)
           
 void setMarginRight(Measure marginRight)
           
 void setMarginTop(Measure marginTop)
           
 void setMarkup(Markup markup)
           
 void setTextAlign(TextAlign textAlign)
           
 
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUIFlowLayout
fixRelativeInsideAuto, init, mainProcessing, postProcessing, preProcessing
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, 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.config.Configurable
getRendererType
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

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

UIFlowLayout

public UIFlowLayout()
Method Detail

getFamily

public String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

getMarginBottom

public Measure getMarginBottom()
Bottom margin between container component and the children.


setMarginBottom

public void setMarginBottom(Measure marginBottom)

getMarkup

public Markup getMarkup()
Specified by:
getMarkup in interface SupportsMarkup

setMarkup

public void setMarkup(Markup markup)
Specified by:
setMarkup in interface SupportsMarkup

getMarginTop

public Measure getMarginTop()
Top margin between container component and the children.


setMarginTop

public void setMarginTop(Measure marginTop)

getMarginLeft

public Measure getMarginLeft()
Left margin between container component and the children.


setMarginLeft

public void setMarginLeft(Measure marginLeft)

getMarginRight

public Measure getMarginRight()
Right margin between container component and the children.


setMarginRight

public void setMarginRight(Measure marginRight)

getCurrentMarkup

public Markup getCurrentMarkup()
Specified by:
getCurrentMarkup in interface SupportsMarkup
Specified by:
getCurrentMarkup in interface Configurable

setCurrentMarkup

public void setCurrentMarkup(Markup currentMarkup)
Specified by:
setCurrentMarkup in interface SupportsMarkup

getTextAlign

public TextAlign getTextAlign()
The alignment of the elements inside of the container, possible values are: {
Default: TextAlign.LEFT
Allowed Values: left,right,center,justify


setTextAlign

public void setTextAlign(TextAlign textAlign)

getMargin

public Measure getMargin()
Margin between container component and the children.


setMargin

public void setMargin(Measure margin)

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         Object componentState)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIComponentBase

saveState

public Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UIComponentBase


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