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 PropertyChangeSupportprotected booleanprotected PropertySetThe original property set -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected PropertyChangeSupportchange()protected voidfirePropertyChange(Property<?> property, Object oldValue, Object newValue) abstract StringgetName()<T> TgetOrDefault(Property<T> prop) The original property set used to initialize the edit itembooleanvoidCall this to notify listeners of property changesvoid<T> voidCall 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:
getConfigurationin 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
-