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 UIExtendedDataTable

    java.lang.Object
      javax.faces.component.UIComponent
          javax.faces.component.UIComponentBase
              javax.faces.component.UIData
                  org.ajax4jsf.component.UIDataAdaptor
                      org.ajax4jsf.component.SequenceDataAdaptor
                          org.richfaces.component.UIDataTable
                              org.richfaces.component.UIExtendedDataTable

All Implemented Interfaces:
  javax.faces.component.NamingContainer, javax.faces.component.StateHolder, org.ajax4jsf.component.AjaxChildrenEncoder, org.ajax4jsf.component.AjaxDataEncoder, org.richfaces.component.Filterable, org.richfaces.component.Selectable, org.richfaces.component.Sortable2

Direct Known Subclasses:
  HtmlExtendedDataTable

    public abstract class UIExtendedDataTable

extends UIDataTable
implements org.richfaces.component.Selectable, org.richfaces.component.Filterable, org.richfaces.component.Sortable2

JSF component class

Nested Class Summary

Nested classes/interfaces inherited from class org.ajax4jsf.component.UIDataAdaptor
`org.ajax4jsf.component.UIDataAdaptor.ComponentVisitor, org.ajax4jsf.component.UIDataAdaptor.IndexedEvent`

Field Summary
`static java.lang.String` | `COMPONENT_FAMILY` COMPONENT_FAMILY
`static java.lang.String` | `COMPONENT_TYPE` COMPONENT_TYPE
`protected ExtendedDataTableState` | `state`

Fields inherited from class org.ajax4jsf.component.UIDataAdaptor
`COMPONENT_STATE_ATTRIBUTE, decodeVisitor, EMPTY_MODEL, updateVisitor, validateVisitor`

Fields inherited from class javax.faces.component.UIComponent
`bindings`

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

Constructor Summary
`UIExtendedDataTable()`

Method Summary
`void` | `broadcast(javax.faces.event.FacesEvent event)`
`protected org.ajax4jsf.model.ExtendedDataModel` | `createDataModel()`
`void` | `disableGrouping()`
`void` | `ensureTableStateInitialized()`
`abstract java.lang.Object` | `getActiveRowKey()`
`java.util.Iterator<UIColumn>` | `getChildColumns()`
`java.lang.String` | `getColumnSize(javax.faces.component.UIComponent column)`
`UIColumn` | `getGroupingColumn()`
`java.lang.String` | `getGroupingColumnId()`
`java.util.List<javax.faces.component.UIComponent>` | `getSortedChildren()`
`java.util.Iterator<UIColumn>` | `getSortedColumns()`
`java.util.Collection<java.lang.Object>` | `getSortPriority()`
`int` | `getVisibleColumnsCount()`
`boolean` | `groupIsExpanded(int index)`
`boolean` | `isColumnVisible(javax.faces.component.UIComponent column)`
`boolean` | `isGroupingOn()`
`void` | `processChangeColumnVisibility(org.richfaces.event.extdt.ChangeColumnVisibilityEvent event)`
`void` | `processColumnResize(org.richfaces.event.extdt.ColumnResizeEvent event)`
`void` | `processDradDrop(org.richfaces.event.extdt.DragDropEvent event)`
`void` | `processFilteringChange(org.richfaces.event.extdt.ExtTableFilterEvent event)`
`void` | `processSortingChange(org.richfaces.event.extdt.ExtTableSortEvent event)`
`void` | `queueEvent(javax.faces.event.FacesEvent event)`
`protected void` | `resetDataModel()` Original version of this method is defined in `UIDataAdaptor` and is called before RENDER_RESPONSE phase.
`protected void` | `resetGroupVisibilityState()`
`protected void` | `resetModel()` Method resets data model by calling `UIDataAdaptor.resetDataModel()`.
`void` | `restoreState(javax.faces.context.FacesContext context, java.lang.Object state)`
`java.lang.Object` | `saveState(javax.faces.context.FacesContext context)`
`abstract void` | `setActiveRowKey(java.lang.Object activeRowKey)`
`void` | `setGroupingColumn(UIColumn column)`
`void` | `toggleGroup(int index)`

Methods inherited from class org.richfaces.component.UIDataTable
`columns, dataChildren, fixedChildren, getSortMode, setSortMode, setSortPriority`

Methods inherited from class org.ajax4jsf.component.SequenceDataAdaptor
`createComponentState, getDataModel, setDataModel`

Methods inherited from class org.ajax4jsf.component.UIDataAdaptor
`addRequestKey, beforeRenderResponse, broadcastLocal, captureOrigValue, captureOrigValue, clearRequestKeysSet, containsRequestKey, encodeAjaxChild, encodeBegin, extractKeySegment, getAjaxKeys, getAllAjaxKeys, getBaseClientId, getChildrenRenderer, getChildState, getClientId, getComponentState, getEncodedIds, getExtendedDataModel, getRowCount, getRowData, getRowIndex, getRowKey, getRowKeyConverter, getRowKeyVar, getStateVar, getValue, invocableChildren, invokeOnComponent, isRowAvailable, iterate, keepSaved, processDecodes, processDecodes, processUpdates, processUpdates, processValidators, processValidators, removeRequestKey, resetComponent, restoreChildState, restoreOrigValue, restoreOrigValue, saveChildState, setAjaxKeys, setComponentState, setExtendedDataModel, setId, setParent, setRowIndex, setRowKey, setRowKey, setRowKeyConverter, setRowKeyVar, setStateVar, setupVariable, setValue, walk`

Methods inherited from class javax.faces.component.UIData
`getFamily, getFirst, getFooter, getHeader, getRows, getVar, setFirst, setFooter, setHeader, setRows, setValueBinding, setValueExpression, setVar`

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

Methods inherited from class javax.faces.component.UIComponent
`encodeAll, getContainerClientId, getValueExpression`

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

Methods inherited from interface org.richfaces.component.Selectable
`getSelection, setSelection`

Methods inherited from interface org.richfaces.component.Filterable
`getFilterFields, setFilterFields`

Methods inherited from interface org.richfaces.component.Sortable2
`getSortFields, setSortFields`

Field Detail

### COMPONENT_TYPE

    public static final java.lang.String COMPONENT_TYPE

  COMPONENT_TYPE

  See Also:
    Constant Field Values

### COMPONENT_FAMILY

    public static final java.lang.String COMPONENT_FAMILY

  COMPONENT_FAMILY

  See Also:
    Constant Field Values

### state

    protected ExtendedDataTableState state

Constructor Detail

### UIExtendedDataTable

    public UIExtendedDataTable()

Method Detail

### getActiveRowKey

    public abstract java.lang.Object getActiveRowKey()

### setActiveRowKey

    public abstract void setActiveRowKey(java.lang.Object activeRowKey)

### broadcast

    public void broadcast(javax.faces.event.FacesEvent event)
                   throws javax.faces.event.AbortProcessingException

  Overrides:
    `broadcast` in class `org.ajax4jsf.component.UIDataAdaptor`
  Throws:
    `javax.faces.event.AbortProcessingException`

### queueEvent

    public void queueEvent(javax.faces.event.FacesEvent event)

  Overrides:
    `queueEvent` in class `org.ajax4jsf.component.UIDataAdaptor`

### getSortedColumns

    public java.util.Iterator<UIColumn> getSortedColumns()

### getChildColumns

    public java.util.Iterator<UIColumn> getChildColumns()

### processDradDrop

    public void processDradDrop(org.richfaces.event.extdt.DragDropEvent event)

### getSortedChildren

    public java.util.List<javax.faces.component.UIComponent> getSortedChildren()

### ensureTableStateInitialized

    public void ensureTableStateInitialized()

### processChangeColumnVisibility

    public void processChangeColumnVisibility(org.richfaces.event.extdt.ChangeColumnVisibilityEvent event)

### processSortingChange

    public void processSortingChange(org.richfaces.event.extdt.ExtTableSortEvent event)

### processFilteringChange

    public void processFilteringChange(org.richfaces.event.extdt.ExtTableFilterEvent event)

### isColumnVisible

    public boolean isColumnVisible(javax.faces.component.UIComponent column)

### processColumnResize

    public void processColumnResize(org.richfaces.event.extdt.ColumnResizeEvent event)

### getColumnSize

    public java.lang.String getColumnSize(javax.faces.component.UIComponent column)

### isGroupingOn

    public boolean isGroupingOn()

### getGroupingColumnId

    public java.lang.String getGroupingColumnId()

### getGroupingColumn

    public UIColumn getGroupingColumn()

### setGroupingColumn

    public void setGroupingColumn(UIColumn column)

### resetGroupVisibilityState

    protected void resetGroupVisibilityState()

### disableGrouping

    public void disableGrouping()

### groupIsExpanded

    public boolean groupIsExpanded(int index)

### toggleGroup

    public void toggleGroup(int index)

### getSortPriority

    public java.util.Collection<java.lang.Object> getSortPriority()

  Overrides:
    `getSortPriority` in class `UIDataTable`

### saveState

    public java.lang.Object saveState(javax.faces.context.FacesContext context)

  Specified by:
    `saveState` in interface `javax.faces.component.StateHolder`
  Overrides:
    `saveState` in class `UIDataTable`

### restoreState

    public void restoreState(javax.faces.context.FacesContext context,
                             java.lang.Object state)

  Specified by:
    `restoreState` in interface `javax.faces.component.StateHolder`
  Overrides:
    `restoreState` in class `UIDataTable`

### getVisibleColumnsCount

    public int getVisibleColumnsCount()

### createDataModel

    protected org.ajax4jsf.model.ExtendedDataModel createDataModel()

  Overrides:
    `createDataModel` in class `UIDataTable`

### resetDataModel

    protected void resetDataModel()

  Original version of this method is defined in `UIDataAdaptor` and is called before RENDER_RESPONSE phase. In that version data model is reseted which causes need to sort and filter every time component is rendered.

  Overrides:
    `resetDataModel` in class `org.ajax4jsf.component.UIDataAdaptor`

### resetModel

    protected void resetModel()

  Method resets data model by calling `UIDataAdaptor.resetDataModel()`. This method is called on sort and filter action.

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 © 2008. All Rights Reserved.