Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.component
Class UISequence

    java.lang.Object
      javax.faces.component.UIComponent
          javax.faces.component.UIComponentBase
              org.richfaces.component.UIDataAdaptor
                  org.richfaces.component.UISequence

All Implemented Interfaces:
  java.util.EventListener, javax.faces.component.NamingContainer, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.UniqueIdVendor, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, org.ajax4jsf.component.IterationStateHolder

    public class UISequence

extends UIDataAdaptor

Author:
  Nick Belaevski

Nested Class Summary
`protected static class` | `UISequence.PropertyKeys`

Nested classes/interfaces inherited from class org.richfaces.component.UIDataAdaptor
`UIDataAdaptor.ComponentVisitor`

Field Summary

Fields inherited from class org.richfaces.component.UIDataAdaptor
`COMPONENT_FAMILY, COMPONENT_TYPE, decodeVisitor, updateVisitor, validateVisitor`

Fields inherited from class javax.faces.component.UIComponent
`BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY`

Fields inherited from interface javax.faces.component.NamingContainer
`SEPARATOR_CHAR`

Constructor Summary
`UISequence()`

Method Summary
`void` | `captureOrigValue(javax.faces.context.FacesContext faces)` Save current state of data variable.
`protected org.ajax4jsf.model.DataComponentState` | `createComponentState()`
`protected org.ajax4jsf.model.ExtendedDataModel<?>` | `createExtendedDataModel()`
`protected javax.faces.model.DataModel<?>` | `createFacesModel(java.lang.Object value)`
`protected int` | `getActualFirst()`
`protected int` | `getActualRows()`
`int` | `getFirst()`
`java.lang.String` | `getIterationStatusVar()`
`java.lang.String` | `getRelativeClientId(javax.faces.context.FacesContext facesContext)`
`int` | `getRelativeRowIndex()`
`int` | `getRowIndex()`
`javax.faces.convert.Converter` | `getRowKeyConverter()`
`int` | `getRows()`
`java.lang.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(java.lang.String iterationStatusVar)`
`void` | `setRows(int rows)`
`protected void` | `setupVariable(javax.faces.context.FacesContext faces, boolean rowSelected)` Setup EL variable for different iteration.
`void` | `setValue(java.lang.Object value)`
`void` | `setValueBinding(java.lang.String name, javax.faces.el.ValueBinding binding)`
`void` | `setValueExpression(java.lang.String name, javax.el.ValueExpression binding)`
`protected void` | `updateState()`
`protected void` | `updateState(org.ajax4jsf.model.SequenceState state)`

Methods inherited from class org.richfaces.component.UIDataAdaptor
`broadcast, broadcastLocal, clearInitialState, createUniqueId, dataChildren, encodeAjaxChild, extractKeySegment, fixedChildren, getClientId, getComponentState, getExtendedDataModel, getFamily, getIterationState, getLocalComponentState, getRowCount, getRowData, getRowKey, getRowKeyVar, getStateVar, getVar, getVariablesMap, invokeOnComponent, isKeepSaved, isRowAvailable, iterate, keepSaved, markInitialState, preDecode, preUpdate, preValidate, processDecodes, processEvent, processUpdates, processValidators, queueEvent, resetChildState, resetDataModel, restoreChildState, restoreChildState, restoreState, saveChildState, saveChildState, saveState, setExtendedDataModel, setId, setIterationState, setKeepSaved, setRowKey, setRowKey, setRowKeyConverter, setRowKeyVar, setStateVar, setVar, visitDataChildren, visitFixedChildren, visitTree, walk`

Methods inherited from class javax.faces.component.UIComponentBase
`addClientBehavior, addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient`

Methods inherited from class javax.faces.component.UIComponent
`encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### UISequence

    public UISequence()

Method Detail

### updateState

    protected void updateState(org.ajax4jsf.model.SequenceState state)

### updateState

    protected void updateState()

### getActualFirst

    protected int getActualFirst()

### getActualRows

    protected int getActualRows()

### createFacesModel

    protected javax.faces.model.DataModel<?> createFacesModel(java.lang.Object value)

### createExtendedDataModel

    protected org.ajax4jsf.model.ExtendedDataModel<?> createExtendedDataModel()

  Specified by:
    `createExtendedDataModel` in class `UIDataAdaptor`
  Returns:

### createComponentState

    protected org.ajax4jsf.model.DataComponentState createComponentState()

  Specified by:
    `createComponentState` in class `UIDataAdaptor`

### getRowKeyConverter

    public javax.faces.convert.Converter getRowKeyConverter()

  Overrides:
    `getRowKeyConverter` in class `UIDataAdaptor`

### getFirst

    public int getFirst()

### setFirst

    public void setFirst(int first)

### getRows

    public int getRows()

### setRows

    public void setRows(int rows)

### getValue

    public java.lang.Object getValue()

### setValue

    public void setValue(java.lang.Object value)

### getIterationStatusVar

    public java.lang.String getIterationStatusVar()

### setIterationStatusVar

    public void setIterationStatusVar(java.lang.String iterationStatusVar)

### getRowIndex

    public int getRowIndex()

### captureOrigValue

    public void captureOrigValue(javax.faces.context.FacesContext faces)

  Description copied from class: `UIDataAdaptor`
  Save current state of data variable.

  Overrides:
    `captureOrigValue` in class `UIDataAdaptor`
  Parameters:
    `faces` - current faces context

### restoreOrigValue

    public void restoreOrigValue(javax.faces.context.FacesContext faces)

  Description copied from class: `UIDataAdaptor`
  Restore value of data variable after processing phase.

  Overrides:
    `restoreOrigValue` in class `UIDataAdaptor`
  Parameters:
    `faces` - current faces context

### setupVariable

    protected void setupVariable(javax.faces.context.FacesContext faces,
                                 boolean rowSelected)

  Description copied from class: `UIDataAdaptor`
  Setup EL variable for different iteration. Value of row data and component state will be put into request scope attributes with names given by "var" and "varState" bean properties.

  Changed: does not check for row availability now

  Overrides:
    `setupVariable` in class `UIDataAdaptor`
  Parameters:
    `faces` - current faces context

### setValueBinding

    public void setValueBinding(java.lang.String name,
                                javax.faces.el.ValueBinding binding)

  Overrides:
    `setValueBinding` in class `javax.faces.component.UIComponentBase`

### setValueExpression

    public void setValueExpression(java.lang.String name,
                                   javax.el.ValueExpression binding)

  Overrides:
    `setValueExpression` in class `UIDataAdaptor`

### preEncodeBegin

    protected void preEncodeBegin(javax.faces.context.FacesContext context)

  Overrides:
    `preEncodeBegin` in class `UIDataAdaptor`

### getRelativeRowIndex

    public int getRelativeRowIndex()

### getRelativeClientId

    public java.lang.String getRelativeClientId(javax.faces.context.FacesContext facesContext)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.