Class CRadioButton


public abstract class CRadioButton extends CSelectableAction<CommonSimpleRadioAction>
An action which behaves like a JRadioButton.
Several CRadioButtons can be added to a CRadioGroup, only one CRadioButton of such a group will be selected.
Author:
Benjamin Sigg
  • Constructor Details

    • CRadioButton

      public CRadioButton()
      Creates a new radiobutton
    • CRadioButton

      protected CRadioButton(CommonSimpleRadioAction action)
      Creates a new radiobutton using action as internal representation
      Parameters:
      action - the internal representation, can be null in which case subclasses should call init(CommonSimpleRadioAction)
    • CRadioButton

      public CRadioButton(String text, Icon icon)
      Creates a new radiobutton
      Parameters:
      text - the text of this button
      icon - the icon of this button
  • Method Details