Class ConfiguratorEditorSupport

java.lang.Object
java.beans.PropertyEditorSupport
com.inductiveautomation.factorypmi.designer.property.editors.bb.SwingEditorSupport
com.inductiveautomation.factorypmi.designer.property.editors.ConfiguratorEditorSupport
All Implemented Interfaces:
BindablePropertyEditor, PropertyEditor
Direct Known Subclasses:
AbstractNumberEditor, ByteArrayEditor, DataSetEditor, DateEditor, DateFormatEditor, FormattedMaskPatternEditor, ImagePathEditor, KeyboardNameEditor, NumberFormatEditor, PaintPropertyEditor, RegExPatternEditor, ReportPathEditor, RotationEditor, StringPropertyEditor, StrokePropertyEditor, SwingBooleanEditor, SwingBorderEditor, SwingColorEditor, SwingFontEditor, SwingStringEditor, TemplatePathEditor, TimeZoneEditor, UDTPropertyEditor

public abstract class ConfiguratorEditorSupport extends SwingEditorSupport implements BindablePropertyEditor
An abstract property editor that automatically adds the dynamic property binding button. Implementors of this class should implement the abstract initComonents() function, in which they should add their components to the panel property.
  • Field Details

    • addGlue

      protected boolean addGlue
  • Constructor Details

    • ConfiguratorEditorSupport

      public ConfiguratorEditorSupport()
  • Method Details

    • setBindableEnabled

      public void setBindableEnabled(boolean b)
      Specified by:
      setBindableEnabled in interface BindablePropertyEditor
    • isBindableEnabled

      public boolean isBindableEnabled()
      Specified by:
      isBindableEnabled in interface BindablePropertyEditor
    • createDynamicOptsButton

      protected JButton createDynamicOptsButton()
    • init

      protected void init(FeatureDescriptor descriptor)
      Overrides:
      init in class SwingEditorSupport
    • initComponents

      protected abstract void initComponents()
      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.