|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISelectableTableContentProvider
Table content provider that supports selecting individual rows by leveraging ability of identifying and addressing rows by id from <@link com.webmethods.caf.faces.data.IAddressableTableContentProvider}
Method Summary | |
---|---|
int |
getRowSelectedCount()
Returns number of selected rows. |
Collection |
getRowSelectedIds()
Returns collection of String ids of the selected rows. |
Collection |
getRowUnselectedIds()
Returns collection of String ids of the un-selected rows
(all other rows are selected implicitly)
May be empty or contain non-existent ids; never null, never contains null. |
boolean |
getUseUnselectedModel()
Returns true if it's more effecient to use unselected model (ie ISelectableTableContentProvider.getRowUnselectedIds() rather than ISelectableTableContentProvider.getRowSelectedIds() ). |
boolean |
isRowSelected()
Returns true if current row is selected. |
void |
setRowSelected(boolean selected)
Sets the selection status for the current row. |
void |
setRowSelectedIds(Collection ids)
Sets new selection using a collection of String ids of the rows to select. |
void |
setRowUnselectedIds(Collection ids)
Unselects rows using a collection of String ids of the un-selected rows
(all other rows are selected implicitly). |
Methods inherited from interface com.webmethods.caf.faces.data.IAddressableTableContentProvider |
---|
getRowId, isAddressable, setRowById |
Methods inherited from interface com.webmethods.caf.faces.data.ITableContentProvider |
---|
getCurrentRow, getRowCount, getRowIndex, getRowVariable, isRowAvailable, setRowIndex, setRowVariable |
Methods inherited from interface com.webmethods.caf.faces.data.IContentProvider |
---|
getPropertyKeys, getType, getValue, hasProperty, toString |
Method Detail |
---|
boolean isRowSelected()
true
if current row is selected.
void setRowSelected(boolean selected)
selected
- true
to select current row; false
to unselect.int getRowSelectedCount()
Collection getRowSelectedIds()
String
ids of the selected rows.
May be empty or contain non-existent ids; never null, never contains null.
void setRowSelectedIds(Collection ids)
String
ids of the rows to select.
May be empty or contain non-existent ids; never null, never contains null.
ids
- the collection of String
row idsboolean getUseUnselectedModel()
ISelectableTableContentProvider.getRowUnselectedIds()
rather than ISelectableTableContentProvider.getRowSelectedIds()
).
Collection getRowUnselectedIds()
String
ids of the un-selected rows
(all other rows are selected implicitly)
May be empty or contain non-existent ids; never null, never contains null.
void setRowUnselectedIds(Collection ids)
String
ids of the un-selected rows
(all other rows are selected implicitly).
May be empty or contain non-existent ids; never null, never contains null.
ids
- collection of String
row ids
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |