|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
org.openfaces.component.OUICommand
org.openfaces.component.table.AbstractTableSelection
org.openfaces.component.table.DataTableSelection
org.openfaces.component.table.MultipleRowSelection
public class MultipleRowSelection
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
| Fields inherited from class javax.faces.component.UIComponent |
|---|
BEANINFO_KEY, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
| Constructor Summary | |
|---|---|
MultipleRowSelection()
|
|
MultipleRowSelection(TableDataModel model)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getFamily()
|
java.util.List<java.lang.Object> |
getRowDatas()
|
java.util.List<java.lang.Integer> |
getRowIndexes()
|
java.util.List |
getSelectedRowKeys()
This method is only for internal usage from within the OpenFaces library. |
boolean |
isMultipleSelectionAllowed()
|
void |
rememberByKeys()
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setRowDatas(java.util.List<java.lang.Object> rowDatas)
|
void |
setRowIndexes(java.util.List<java.lang.Integer> rowIndexes)
|
| Methods inherited from class org.openfaces.component.table.DataTableSelection |
|---|
setParent |
| Methods inherited from class org.openfaces.component.table.AbstractTableSelection |
|---|
beforeEncode, beforeInvokeApplication, decode, encodeBegin, encodeOnAjaxNodeFolding, encodeOnBodyReload, getConfiguredComponent, getModel, getOnchange, getStyle, getStyleClass, getTable, isEnabled, isKeyboardSupport, isMouseSupport, processUpdates, registerSelectionStyle, setEnabled, setKeyboardSupport, setModel, setMouseSupport, setOnchange, setStyle, setStyleClass, setTable |
| Methods inherited from class org.openfaces.component.OUICommand |
|---|
getDefaultEventName, getEventNames, getExecute, getOnajaxend, getOnajaxstart, getOnblur, getOnclick, getOncontextmenu, getOndblclick, getOnerror, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRender, getRolloverClass, getRolloverStyle, setExecute, setOnajaxend, setOnajaxstart, setOnblur, setOnclick, setOncontextmenu, setOndblclick, setOnerror, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRender, setRolloverClass, setRolloverStyle |
| Methods inherited from class javax.faces.component.UICommand |
|---|
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addClientBehavior, clearInitialState, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processValidators, restoreAttachedState, saveAttachedState, setId, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getValueExpression, initialStateMarked, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder |
|---|
addClientBehavior, getClientBehaviors |
| Field Detail |
|---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
| Constructor Detail |
|---|
public MultipleRowSelection()
public MultipleRowSelection(TableDataModel model)
| Method Detail |
|---|
public java.util.List getSelectedRowKeys()
getSelectedRowKeys in class DataTableSelectionpublic java.lang.String getFamily()
getFamily in class OUICommandpublic java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class AbstractTableSelection
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class AbstractTableSelectionpublic void setRowIndexes(java.util.List<java.lang.Integer> rowIndexes)
public void setRowDatas(java.util.List<java.lang.Object> rowDatas)
public java.util.List<java.lang.Integer> getRowIndexes()
public java.util.List<java.lang.Object> getRowDatas()
public void rememberByKeys()
rememberByKeys in class AbstractTableSelectionpublic boolean isMultipleSelectionAllowed()
isMultipleSelectionAllowed in class AbstractTableSelection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||