org.jboss.gravel.common.ui
Class UICollection

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.jboss.gravel.common.ui.UIGravelBase
              extended by org.jboss.gravel.common.ui.UINamingContainer
                  extended by org.jboss.gravel.common.ui.UICollection
All Implemented Interfaces:
Serializable, javax.faces.component.NamingContainer, javax.faces.component.StateHolder, CollectionComponent, FriendlyNamingContainer
Direct Known Subclasses:
UIDataTable, UIRepeat

public abstract class UICollection
extends UINamingContainer
implements CollectionComponent

See Also:
Serialized Form

Nested Class Summary
static class UICollection.State
           
 
Field Summary
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
UICollection()
           
UICollection(boolean prependIdDefault)
           
 
Method Summary
 int getFirst()
           
 String getIdVar()
           
 int getLimit()
           
 Object getValue()
           
 List<?> getValueList()
           
 String getVar()
           
 void restoreState(javax.faces.context.FacesContext context, Object object)
           
 Object saveState(javax.faces.context.FacesContext context)
           
 void setFirst(int first)
           
 void setIdVar(String idVar)
           
 void setLimit(int limit)
           
 void setValue(Object value)
           
 void setVar(String var)
           
 
Methods inherited from class org.jboss.gravel.common.ui.UINamingContainer
getContainerClientId, isPrependId, setPrependId
 
Methods inherited from class org.jboss.gravel.common.ui.UIGravelBase
getChildrenOfType, getChildrenOfType, isGeneratedId
 
Methods inherited from class javax.faces.component.UIComponentBase
broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getFamily, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.gravel.common.ui.FriendlyNamingContainer
isPrependId, setPrependId
 

Constructor Detail

UICollection

public UICollection()

UICollection

public UICollection(boolean prependIdDefault)
Method Detail

getFirst

public int getFirst()
Specified by:
getFirst in interface CollectionComponent

setFirst

public void setFirst(int first)

getLimit

public int getLimit()
Specified by:
getLimit in interface CollectionComponent

setLimit

public void setLimit(int limit)

getValueList

public List<?> getValueList()
Specified by:
getValueList in interface CollectionComponent

getValue

public Object getValue()

setValue

public void setValue(Object value)

getVar

public String getVar()
Specified by:
getVar in interface CollectionComponent

setVar

public void setVar(String var)

getIdVar

public String getIdVar()
Specified by:
getIdVar in interface CollectionComponent

setIdVar

public void setIdVar(String idVar)

saveState

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

restoreState

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