|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ComboBoxModelWrapper
ComboBoxModelWrapper 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 SortableComboBoxModel.
| Method Summary | |
|---|---|
int |
getActualIndexAt(int index)
Gets the actual row index in the underlying list that corresponds the specified row index. |
ComboBoxModel |
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(ComboBoxModel model)
Sets the actual combobox model. |
void |
setIndexes(int[] indexes)
Sets the indexes of the row mapping. |
| Method Detail |
|---|
ComboBoxModel getActualModel()
void setActualModel(ComboBoxModel model)
model - the combobox 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 | ||||||||