|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SelectionAware<T>
Interface for DataModel
implementations that need to track selected rows.
Method Summary | |
---|---|
java.util.List<T> |
getSelections()
Returns the list of selected row data objects for the model. |
boolean |
isCurrentRowSelected()
Checks whether the row pointed to by the model's current index is selected. |
void |
select(T rowData)
Selects the given row data object in the model. |
void |
selectAll()
Selects all row data objects in the model. |
void |
setCurrentRowSelected(boolean rowSelected)
Sets whether the row pointed to by the model's current index is selected |
void |
setSelections(java.util.List<T> selections)
Sets the list of selected row data objects for the model. |
Method Detail |
---|
boolean isCurrentRowSelected()
void setCurrentRowSelected(boolean rowSelected)
rowSelected
- true to select the current rowvoid setSelections(java.util.List<T> selections)
selections
- the list of selected row data objectsjava.util.List<T> getSelections()
void selectAll()
void select(T rowData)
rowData
- the row data object to select.
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |