Sets a value indicating the check state of the a check box for the specified item.
public final void setItemCheck( int index, int value )
public final void setItemCheck( int index, boolean value )
index
The zero-based index of the item whose check box state you want to set.
value
A value that indicates the current state of the check box. You can pass either a constant defined in the CheckState class or a boolean value. If you pass a boolean value, specify true to check the check box, and specify false to uncheck it.
WFCInvalidArgumentException thrown if the specified index is not valid or if the specified value is not a valid CheckState constant.
See Also getItemCheck