Top Methods
org.controlsfx.control

public Interface IndexedCheckModel<T>

extends CheckModel<T>
Known Direct Implementers
org.controlsfx.control.CheckBitSetModelBase
Imports
javafx.collections.ObservableList

Method Summary

Modifier and TypeMethod and Description
public void
check(int
Index of the item to check.
index
)

Redeclares org.controlsfx.control.CheckModel.check.

Checks the item in the given index in the control.

public void
checkIndices(int...
Indices of item to uncheck.
indices
)

Checks the given indices in the control

public void
clearCheck(int
Index of the item to uncheck.
index
)

Redeclares org.controlsfx.control.CheckModel.clearCheck.

Unchecks the given index in the control

public ObservableList<Integer>
getCheckedIndices()

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

public T
getItem(int
Index for the item in the control.
index
)

Returns the item in the given index in the control.

public int
getItemIndex(T
Item whose index needs to be fetched.
item
)

Returns the index of the given item.

public boolean
isChecked(int
Index of the item to be tested.
index
)

Redeclares org.controlsfx.control.CheckModel.isChecked.

Returns true if the given index represents an item that is checked in the control.

public void
toggleCheckState(int
Index of the item whose check state needs to be toggled.
index
)

Redeclares org.controlsfx.control.CheckModel.toggleCheckState.

Toggles the check state of the item in the given index of the control.

Inherited from org.controlsfx.control.CheckModel:
checkAllclearChecksgetCheckedItemsgetItemCountisEmpty

Method Detail

checkback to summary
public void check(int index)

Redeclares org.controlsfx.control.CheckModel.check.

Checks the item in the given index in the control.

Parameters
index:int

Index of the item to check.

checkIndicesback to summary
public void checkIndices(int... indices)

Checks the given indices in the control

Parameters
indices:int[]

Indices of item to uncheck.

clearCheckback to summary
public void clearCheck(int index)

Redeclares org.controlsfx.control.CheckModel.clearCheck.

Unchecks the given index in the control

Parameters
index:int

Index of the item to uncheck.

getCheckedIndicesback to summary
public ObservableList<Integer> getCheckedIndices()

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

getItemback to summary
public T getItem(int index)

Returns the item in the given index in the control.

Parameters
index:int

Index for the item in the control.

getItemIndexback to summary
public int getItemIndex(T item)

Returns the index of the given item.

Parameters
item:T

Item whose index needs to be fetched.

isCheckedback to summary
public boolean isChecked(int index)

Redeclares org.controlsfx.control.CheckModel.isChecked.

Returns true if the given index represents an item that is checked in the control.

Parameters
index:int

Index of the item to be tested.

toggleCheckStateback to summary
public void toggleCheckState(int index)

Redeclares org.controlsfx.control.CheckModel.toggleCheckState.

Toggles the check state of the item in the given index of the control.

Parameters
index:int

Index of the item whose check state needs to be toggled.