Top Methods
org.controlsfx.control

public Interface CheckModel<T>

Known Direct Subinterfaces
org.controlsfx.control.IndexedCheckModel
Known Direct Implementers
org.controlsfx.control.CheckTreeView.CheckTreeViewCheckModel
Imports
javafx.collections.ObservableList

Method Summary

Modifier and TypeMethod and Description
public void
check(T
The item to check.
item
)

Checks the given item in the control.

public void
checkAll()

Checks all items in the control

public void
clearCheck(T
The item to uncheck.
item
)

Unchecks the given item in the control

public void
clearChecks()

Unchecks all items in the control

public ObservableList<T>
getCheckedItems()

Returns a read-only list of the currently checked items in the control.

public int
getItemCount()

Returns the count of items in the control.

public boolean
isChecked(T
Item whose check property is to be tested.
item
)

Returns true if the given item is checked in the control.

public boolean
isEmpty()

Returns true if there are no checked items in the control.

public void
toggleCheckState(T
The item for which check state needs to be toggled.
item
)

Toggles the check state for the given item in the control.

Method Detail

checkback to summary
public void check(T item)

Checks the given item in the control.

Parameters
item:T

The item to check.

checkAllback to summary
public void checkAll()

Checks all items in the control

clearCheckback to summary
public void clearCheck(T item)

Unchecks the given item in the control

Parameters
item:T

The item to uncheck.

clearChecksback to summary
public void clearChecks()

Unchecks all items in the control

getCheckedItemsback to summary
public ObservableList<T> getCheckedItems()

Returns a read-only list of the currently checked items in the control.

getItemCountback to summary
public int getItemCount()

Returns the count of items in the control.

isCheckedback to summary
public boolean isChecked(T item)

Returns true if the given item is checked in the control.

Parameters
item:T

Item whose check property is to be tested.

isEmptyback to summary
public boolean isEmpty()

Returns true if there are no checked items in the control.

toggleCheckStateback to summary
public void toggleCheckState(T item)

Toggles the check state for the given item in the control.

Parameters
item:T

The item for which check state needs to be toggled.