![]() |
![]() |
![]() |
![]() |
RadioButton (JRadioButton)
A JRadioButton allows the user to indicate an on/off condition. A set of radio buttons can be grouped together, such that only one can be selected at a time. The button 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 JRadioButton. A keyboard mnemonic and the initial state of the JRadioButton can also be specified.
A JRadioButton will generate an ActionEvent when the JRadioButton is pressed.
A JRadioButton will generate a ChangeEvent whenever the JRadioButton changes state (i.e. selected, rolled over, disabled, etc...)
A JRadioButton will generate an ItemEvent when the JRadioButton is selected or deselected.
Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |
![]() |
![]() |
![]() |
![]() |