java.lang.Object
com.inductiveautomation.ignition.designer.propertyeditor.config.PropertySetEditItem
All Implemented Interfaces:
PropertyEditModel
Direct Known Subclasses:
ConfigPropertySetEditItem

public abstract class PropertySetEditItem extends Object implements PropertyEditModel
The property set that is currently being edited in the property table. Can be used to track edits, as well as notify listeners of property changes.
  • Field Details

    • properties

      protected PropertySet properties
      The original property set
    • changeSupport

      protected PropertyChangeSupport changeSupport
    • modified

      protected boolean modified
  • Constructor Details

    • PropertySetEditItem

      public PropertySetEditItem(PropertySet properties)
  • Method Details

    • getConfiguration

      public PropertySet getConfiguration()
      Specified by:
      getConfiguration in interface PropertyEditModel
    • getName

      public abstract String getName()
    • getPropertySet

      public PropertySet getPropertySet()
      The original property set used to initialize the edit item
    • isModified

      public boolean isModified()
    • set

      public <T> void set(Property<T> prop, T object)
      Call this to notify listeners of property changes
    • remove

      public void remove(Property<?> prop)
      Call this to notify listeners of property changes
    • getOrDefault

      @Nullable public <T> T getOrDefault(Property<T> prop)
    • addPropertyChangeListener

      public void addPropertyChangeListener(PropertyChangeListener listener)
    • removePropertyChangeListener

      public void removePropertyChangeListener(PropertyChangeListener listener)
    • change

      protected PropertyChangeSupport change()
    • firePropertyChange

      protected void firePropertyChange(Property<?> property, Object oldValue, Object newValue)