ItemCheckEvent Class

ItemCheckEvent Class

This Package | All Packages

Event
  |
  +--ItemCheckEvent
public class ItemCheckEvent
extends Event

An event sent to a CheckedListBox when the state of one of the check boxes is about to change. You can set the new check state by using the newValue field.

Fields
Name Description
currentValue The current state of the check box.
index The index of the item that is about to change.
newValue The proposed new value of the check box.

Constructors
Name Description
ItemCheckEvent(int index, int newCheckValue, int currentValue) Topic under construction.

Fields

ItemCheckEvent.currentValue

Syntax
public final int currentValue;
Description
The current state of the check box.

ItemCheckEvent.index

Syntax
public final int index;
Description
The index of the item that is about to change.

ItemCheckEvent.newValue

Syntax
public int newValue;
Description
The proposed new value of the check box.

Constructors

ItemCheckEvent.ItemCheckEvent

Syntax
public ItemCheckEvent( int index, int newCheckValue, int currentValue );
Description

Topic under construction.