All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants

public class NullableCheckBox extends JCheckBox
A JCheckBox implementation, which allows null values, via NullableToggleButtonModel. Heavily influenced by TristateCheckBox by Heinz M. Kabutz. https://www.javaspecialists.eu/archive/Issue145.html Included with permission.
See Also:
  • Constructor Details

    • NullableCheckBox

      public NullableCheckBox()
      Instantiates a new NullableCheckBox with no caption.
    • NullableCheckBox

      public NullableCheckBox(NullableToggleButtonModel model)
      Instantiates a new NullableCheckBox with no caption.
      Parameters:
      model - the model
    • NullableCheckBox

      public NullableCheckBox(NullableToggleButtonModel model, String text)
      Instantiates a new NullableCheckBox.
      Parameters:
      model - the model
      text - the caption text, if any
    • NullableCheckBox

      public NullableCheckBox(NullableToggleButtonModel model, String text, Icon icon)
      Instantiates a new NullableCheckBox.
      Parameters:
      model - the model
      text - the caption text, if any
      icon - the icon, if any
  • Method Details