|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListModelWrapper
ListModelWrapper
is a wrapper around list model which is referred
as the actual list model or underlying list model. It can be used to provide a
different view to the actual model. A typical use case is SortableListModel.
Method Summary | |
---|---|
int |
getActualIndexAt(int index)
Gets the actual row index in the underlying list that corresponds the specified row index. |
ListModel |
getActualModel()
Gets the underlying list model. |
int |
getIndexAt(int actualIndex)
Gets the visual row index representing the specified actual row. |
int[] |
getIndexes()
Gets the indexes that maps from the visual row index to the actual row index. |
void |
setActualModel(ListModel model)
Sets the actual list model. |
void |
setIndexes(int[] indexes)
Sets the indexes of the row mapping. |
Method Detail |
---|
ListModel getActualModel()
void setActualModel(ListModel model)
model
- the list model.int getActualIndexAt(int index)
index
-
int getIndexAt(int actualIndex)
actualIndex
-
int[] getIndexes()
void setIndexes(int[] indexes)
indexes
-
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |