|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ViewDataModel
Field Summary | |
---|---|
static int |
SORT_ASCENDING
|
static int |
SORT_DESCENDING
|
static int |
SORT_NONE
|
Method Summary | |
---|---|
void |
addSelectedId(java.lang.String id)
Add the specified id to the selected list |
void |
clearSelectedIds()
Clear the list of selected ids. |
void |
deleteSelectedItems()
Delete the selected items and clear the list of selected ids. |
java.util.Iterator |
getSelectedIds()
Return an iterator of the selected ids. |
int |
getSortOrder(java.lang.String columnName)
Get the sort order for the specified column |
boolean |
isNumeric(java.lang.String columnName)
Return true if the column has a numeric value |
boolean |
isSelectedId(java.lang.String id)
Return true if the specified id is selected |
void |
reload()
Force a refresh of the view data model. |
void |
removeSelectedId(java.lang.String id)
Remove the specified id from the selected list |
void |
setComputeTotals(boolean computeTotals)
Indicates that column totals should be computed. |
void |
setSortOrder(java.lang.String columnName,
int sortOrder)
Set the sort order for the specified column |
Field Detail |
---|
static final int SORT_NONE
static final int SORT_ASCENDING
static final int SORT_DESCENDING
Method Detail |
---|
void reload()
boolean isNumeric(java.lang.String columnName)
void setComputeTotals(boolean computeTotals)
computeTotals
- The computeTotals to set.void setSortOrder(java.lang.String columnName, int sortOrder)
int getSortOrder(java.lang.String columnName)
java.util.Iterator getSelectedIds()
void clearSelectedIds()
boolean isSelectedId(java.lang.String id)
void addSelectedId(java.lang.String id)
void removeSelectedId(java.lang.String id)
void deleteSelectedItems() throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |