Class SwingBooleanEditor

  • All Implemented Interfaces:
    BindablePropertyEditor, java.beans.PropertyEditor

    public class SwingBooleanEditor
    extends ConfiguratorEditorSupport
    An editor which represents a boolean value. This editor is implemented as a checkbox with the text of the check box reflecting the state of the checkbox.
    • Constructor Detail

      • SwingBooleanEditor

        public SwingBooleanEditor()
    • Method Detail

      • setValue

        public void setValue​(java.lang.Object value)
        Specified by:
        setValue in interface java.beans.PropertyEditor
        Overrides:
        setValue in class java.beans.PropertyEditorSupport
      • getValue

        public java.lang.Object getValue()
        Specified by:
        getValue in interface java.beans.PropertyEditor
        Overrides:
        getValue in class java.beans.PropertyEditorSupport
      • initComponents

        protected void initComponents()
        Description copied from class: ConfiguratorEditorSupport
        This is where you can add your own components to the "panel" field. It has a box layout and the binding button will be added after this method is called.
        Specified by:
        initComponents in class ConfiguratorEditorSupport