|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICheckListModel<T>
Method Summary | |
---|---|
void |
filter(String filter,
IObjectToStringTranslator translator,
CheckListFilterType filterType)
Allows filtered view. |
Collection<T> |
getCheckedItems()
Returns a collections of checked items |
boolean |
isCheckedIndex(int index)
Returns the check state of the element at specified position |
void |
setCheckedIndex(int index,
boolean value)
Sets the check state of the element at specified position |
void |
setCheckedItems(Collection<T> items)
Sets checked items |
Methods inherited from interface javax.swing.ListModel |
---|
addListDataListener, getElementAt, getSize, removeListDataListener |
Method Detail |
---|
boolean isCheckedIndex(int index)
index
- element index
IndexOutOfBoundsException
- if index is out of rangevoid setCheckedIndex(int index, boolean value)
index
- element indexvalue
-
IndexOutOfBoundsException
- if index is out of rangeCollection<T> getCheckedItems()
void setCheckedItems(Collection<T> items)
items
- void filter(String filter, IObjectToStringTranslator translator, CheckListFilterType filterType)
filter
- filter stringtranslator
- object to string translator to aid the search
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |