![]() |
![]() |
![]() |
![]() |
CheckBox (JCheckBox)
A JCheckBox allows the user to indicate an on/off condition. A set of checkboxes can be grouped together, such that only one can be selected at a time. The checkbox can hold a single line of text, whose alignment and position can be specified relative to an icon. Several different icons can be specified to indicate the various states of the JCheckBox. A keyboard mnemonic and the initial state of the JCheckBox can also be specified.
A JCheckBox will generate an ActionEvent when the JCheckBox is pressed.
A JCheckBox will generate a ChangeEvent whenever the JCheckBox changes state (i.e. selected, rolled over, disabled, etc...)
A JCheckBox will generate an ItemEvent when the JCheckBox is selected or deselected.
Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |
![]() |
![]() |
![]() |
![]() |