public interface IndexedCheckModel<T> extends CheckModel<T>
| Modifier and Type | Method and Description |
|---|---|
void |
check(int index)
Checks the item in the given index in the control.
|
void |
checkIndices(int... indices)
Checks the given indices in the control
|
void |
clearCheck(int index)
Unchecks the given index in the control
|
javafx.collections.ObservableList<java.lang.Integer> |
getCheckedIndices()
Returns a read-only list of the currently checked indices in the control.
|
T |
getItem(int index)
Returns the item in the given index in the control.
|
int |
getItemIndex(T item)
Returns the index of the given item.
|
boolean |
isChecked(int index)
Returns true if the given index represents an item that is checked in the control.
|
void |
toggleCheckState(int index)
Toggles the check state of the item in the given index of the control.
|
check, checkAll, clearCheck, clearChecks, getCheckedItems, getItemCount, isChecked, isEmpty, toggleCheckStateT getItem(int index)
index - Index for the item in the control.int getItemIndex(T item)
item - Item whose index needs to be fetched.javafx.collections.ObservableList<java.lang.Integer> getCheckedIndices()
void checkIndices(int... indices)
indices - Indices of item to uncheck.void clearCheck(int index)
index - Index of the item to uncheck.boolean isChecked(int index)
index - Index of the item to be tested.void check(int index)
index - Index of the item to check.void toggleCheckState(int index)
index - Index of the item whose check state needs to be toggled.