|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.model.DataModel javax.faces.model.ListDataModel com.ibm.xsp.model.ListDataModelEx
public class ListDataModelEx
Constructor Summary | |
---|---|
ListDataModelEx()
Construct a ListDataModelEx instance |
|
ListDataModelEx(java.util.List list)
Construct a ListDataModelEx instance that wraps the specified List object |
Method Summary | |
---|---|
void |
duplicateRowData(int insertIndex)
Duplicate the data for the currently selected row index and insert it into the data model at the specified insertion index. |
void |
insertRowData(java.lang.Object data)
Insert the object representing the data for the currently selected row index. |
void |
removeRowData()
Remove the data for the currently selected row index. |
void |
setRowData(java.lang.Object data)
Set the object representing the data for the currently selected row index. |
Methods inherited from class javax.faces.model.ListDataModel |
---|
getRowCount, getRowData, getRowIndex, getWrappedData, isRowAvailable, setRowIndex, setWrappedData |
Methods inherited from class javax.faces.model.DataModel |
---|
addDataModelListener, getDataModelListeners, removeDataModelListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListDataModelEx()
public ListDataModelEx(java.util.List list)
list
- Method Detail |
---|
public void setRowData(java.lang.Object data)
DataModelEx
setRowData
in interface DataModelEx
data
- data to be set for the currently selected row indexpublic void insertRowData(java.lang.Object data)
DataModelEx
insertRowData
in interface DataModelEx
data
- data to be inserted at the currently selected row indexpublic void duplicateRowData(int insertIndex) throws javax.faces.FacesException
DataModelEx
duplicateRowData
in interface DataModelEx
insertIndex
- the insertion index for the duplicated row data
javax.faces.FacesException
- if an error occurs duplicating row datapublic void removeRowData() throws javax.faces.FacesException
DataModelEx
removeRowData
in interface DataModelEx
javax.faces.FacesException
- if an error occurs removing row data
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |