public interface CheckModel<T>
| Modifier and Type | Method and Description |
|---|---|
void |
check(T item)
Checks the given item in the control.
|
void |
checkAll()
Checks all items in the control
|
void |
clearCheck(T item)
Unchecks the given item in the control
|
void |
clearChecks()
Unchecks all items in the control
|
javafx.collections.ObservableList<T> |
getCheckedItems()
Returns a read-only list of the currently checked items in the control.
|
int |
getItemCount()
Returns the count of items in the control.
|
boolean |
isChecked(T item)
Returns true if the given item is checked in the control.
|
boolean |
isEmpty()
Returns true if there are no checked items in the control.
|
void |
toggleCheckState(T item)
Toggles the check state for the given item in the control.
|
int getItemCount()
javafx.collections.ObservableList<T> getCheckedItems()
void checkAll()
void clearCheck(T item)
item - The item to uncheck.void clearChecks()
boolean isEmpty()
boolean isChecked(T item)
item - Item whose check property is to be tested.void check(T item)
item - The item to check.void toggleCheckState(T item)
item - The item for which check state needs to be toggled.