public interface CheckListModel<T> extends ListModel
| Modifier and Type | Method and Description |
|---|---|
Collection<T> |
getCheckedItems()
Returns a collections of checked items
|
int |
getOriginalSize()
Returns the number of items before the filter was applied
|
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
|
addListDataListener, getElementAt, getSize, removeListDataListenerboolean isCheckedIndex(int index)
index - element indexIndexOutOfBoundsException - 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 - int getOriginalSize()
Copyright © 2004–2017 Ultreia.io. All rights reserved.