public class UISequence extends UIDataAdaptor
Modifier and Type | Class and Description |
---|---|
protected static class |
UISequence.PropertyKeys |
UIDataAdaptor.ComponentVisitor
COMPONENT_FAMILY, COMPONENT_TYPE, decodeVisitor, updateVisitor, validateVisitor
Constructor and Description |
---|
UISequence() |
Modifier and Type | Method and Description |
---|---|
void |
captureOrigValue(javax.faces.context.FacesContext faces)
Save current state of data variable.
|
protected DataComponentState |
createComponentState() |
protected ExtendedDataModel<?> |
createExtendedDataModel() |
protected javax.faces.model.DataModel<?> |
createFacesModel(Object value) |
protected int |
getActualFirst() |
protected int |
getActualRows() |
int |
getFirst() |
String |
getIterationStatusVar() |
String |
getRelativeClientId(javax.faces.context.FacesContext facesContext) |
int |
getRelativeRowIndex() |
int |
getRowIndex() |
javax.faces.convert.Converter |
getRowKeyConverter() |
int |
getRows() |
Object |
getValue() |
protected void |
preEncodeBegin(javax.faces.context.FacesContext context) |
void |
restoreOrigValue(javax.faces.context.FacesContext faces)
Restore value of data variable after processing phase.
|
void |
setFirst(int first) |
void |
setIterationStatusVar(String iterationStatusVar) |
void |
setRows(int rows) |
protected void |
setupVariable(javax.faces.context.FacesContext faces,
boolean rowSelected)
Setup EL variable for different iteration.
|
void |
setValue(Object value) |
void |
setValueBinding(String name,
javax.faces.el.ValueBinding binding) |
void |
setValueExpression(String name,
javax.el.ValueExpression binding) |
protected void |
updateState() |
protected void |
updateState(SequenceState state) |
allFixedChildren, broadcast, clearExtendedDataModel, clearInitialState, createUniqueId, dataChildren, doUpdate, extractKeySegment, fixedChildren, getComponentState, getContainerClientId, getContainerClientId, getExtendedDataModel, getFamily, getIterationState, getLocalComponentState, getRowCount, getRowData, getRowKey, getRowKeyVar, getStateVar, getVar, getVariablesMap, invokeOnComponent, invokeOnRow, isKeepSaved, isListenerForSource, isRowAvailable, iterate, keepSaved, markInitialState, preDecode, preUpdate, preValidate, processDecodes, processDecodesChildren, processEvent, processEvent, processUpdates, processUpdatesChildren, processValidatesChildren, processValidators, queueEvent, resetChildState, resetDataModel, restoreChildState, restoreChildState, restoreState, saveChildState, saveChildState, saveState, setExtendedDataModel, setId, setIterationState, setKeepSaved, setRowKey, setRowKey, setRowKeyConverter, setRowKeyVar, setStateVar, setVar, visitDataChildren, visitDataChildrenMetaComponents, visitFixedChildren, visitTree, walk, wrapEvent
addClientBehavior, addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView
protected void updateState(SequenceState state)
protected void updateState()
protected int getActualFirst()
protected int getActualRows()
protected javax.faces.model.DataModel<?> createFacesModel(Object value)
protected ExtendedDataModel<?> createExtendedDataModel()
createExtendedDataModel
in class UIDataAdaptor
protected DataComponentState createComponentState()
createComponentState
in class UIDataAdaptor
public javax.faces.convert.Converter getRowKeyConverter()
getRowKeyConverter
in class UIDataAdaptor
public int getFirst()
public void setFirst(int first)
public int getRows()
public void setRows(int rows)
public Object getValue()
public void setValue(Object value)
public String getIterationStatusVar()
public void setIterationStatusVar(String iterationStatusVar)
public int getRowIndex()
public void captureOrigValue(javax.faces.context.FacesContext faces)
UIDataAdaptor
captureOrigValue
in class UIDataAdaptor
faces
- current faces contextpublic void restoreOrigValue(javax.faces.context.FacesContext faces)
UIDataAdaptor
restoreOrigValue
in class UIDataAdaptor
faces
- current faces contextprotected void setupVariable(javax.faces.context.FacesContext faces, boolean rowSelected)
UIDataAdaptor
setupVariable
in class UIDataAdaptor
faces
- current faces contextpublic void setValueBinding(String name, javax.faces.el.ValueBinding binding)
setValueBinding
in class javax.faces.component.UIComponentBase
public void setValueExpression(String name, javax.el.ValueExpression binding)
setValueExpression
in class UIDataAdaptor
protected void preEncodeBegin(javax.faces.context.FacesContext context)
preEncodeBegin
in class UIDataAdaptor
public int getRelativeRowIndex()
public String getRelativeClientId(javax.faces.context.FacesContext facesContext)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.