Class PropertySetEditItem
java.lang.Object
com.inductiveautomation.ignition.designer.propertyeditor.config.PropertySetEditItem
- All Implemented Interfaces:
PropertyEditModel
- Direct Known Subclasses:
ConfigPropertySetEditItem
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 Summary
FieldsModifier and TypeFieldDescriptionprotected PropertyChangeSupport
protected boolean
protected PropertySet
The original property set -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected PropertyChangeSupport
change()
protected void
firePropertyChange
(Property<?> property, Object oldValue, Object newValue) abstract String
getName()
<T> T
getOrDefault
(Property<T> prop) The original property set used to initialize the edit itemboolean
void
Call this to notify listeners of property changesvoid
<T> void
Call this to notify listeners of property changes
-
Field Details
-
properties
The original property set -
changeSupport
-
modified
protected boolean modified
-
-
Constructor Details
-
PropertySetEditItem
-
-
Method Details
-
getConfiguration
- Specified by:
getConfiguration
in interfacePropertyEditModel
-
getName
-
getPropertySet
The original property set used to initialize the edit item -
isModified
public boolean isModified() -
set
Call this to notify listeners of property changes -
remove
Call this to notify listeners of property changes -
getOrDefault
-
addPropertyChangeListener
-
removePropertyChangeListener
-
change
-
firePropertyChange
-