org.apache.myfaces.view.facelets.component
Class UIRepeat
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.view.facelets.component.UIRepeat
- All Implemented Interfaces:
- EventListener, NamingContainer, PartialStateHolder, StateHolder, ComponentSystemEventListener, FacesListener, SystemEventListenerHolder
@JSFComponent(name="ui:repeat",
defaultRendererType="facelets.ui.Repeat")
public class UIRepeat
- extends UIComponentBase
- implements NamingContainer
TODO: PartialStateSaving and pluginize this component!
Methods inherited from class javax.faces.component.UIComponentBase |
addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, initialStateMarked, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
UIRepeat
public UIRepeat()
getFamily
public String getFamily()
- Specified by:
getFamily
in class UIComponent
getOffset
@JSFProperty
public int getOffset()
setOffset
public void setOffset(int offset)
getSize
@JSFProperty
public int getSize()
setSize
public void setSize(int size)
getStep
@JSFProperty
public int getStep()
setStep
public void setStep(int step)
getVar
@JSFProperty
public String getVar()
setVar
public void setVar(String var)
getVarStatus
@JSFProperty
public String getVarStatus()
setVarStatus
public void setVarStatus(String varStatus)
getValue
@JSFProperty
public Object getValue()
setValue
public void setValue(Object value)
getContainerClientId
public String getContainerClientId(FacesContext faces)
- Overrides:
getContainerClientId
in class UIComponent
getRowCount
public int getRowCount()
- Returns the rowCount of the underlying DataModel.
- Returns:
getIndex
public int getIndex()
- Returns the current index.
process
public void process(FacesContext faces,
PhaseId phase)
invokeOnComponent
public boolean invokeOnComponent(FacesContext faces,
String clientId,
ContextCallback callback)
throws FacesException
- Overrides:
invokeOnComponent
in class UIComponentBase
- Throws:
FacesException
visitTree
public boolean visitTree(VisitContext context,
VisitCallback callback)
- Overrides:
visitTree
in class UIComponentBase
processDecodes
public void processDecodes(FacesContext faces)
- Overrides:
processDecodes
in class UIComponentBase
processUpdates
public void processUpdates(FacesContext faces)
- Overrides:
processUpdates
in class UIComponentBase
processValidators
public void processValidators(FacesContext faces)
- Overrides:
processValidators
in class UIComponentBase
broadcast
public void broadcast(FacesEvent event)
throws AbortProcessingException
- Overrides:
broadcast
in class UIComponentBase
- Throws:
AbortProcessingException
queueEvent
public void queueEvent(FacesEvent event)
- Overrides:
queueEvent
in class UIComponentBase
restoreState
public void restoreState(FacesContext faces,
Object object)
- Specified by:
restoreState
in interface StateHolder
- Overrides:
restoreState
in class UIComponentBase
saveState
public Object saveState(FacesContext faces)
- Specified by:
saveState
in interface StateHolder
- Overrides:
saveState
in class UIComponentBase
encodeChildren
public void encodeChildren(FacesContext faces)
throws IOException
- Overrides:
encodeChildren
in class UIComponentBase
- Throws:
IOException
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in class UIComponentBase
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.