public abstract class ConfigPropertySetEditItem extends PropertySetEditItem
Modifier and Type | Field and Description |
---|---|
protected PropertySet |
currentProps
The current working set of props, displayed in the table.
|
changeSupport, modified, properties
Constructor and Description |
---|
ConfigPropertySetEditItem(PropertySet properties,
java.util.List<Property<?>> applicableProps) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Property<?>> |
getApplicableProps() |
PropertySet |
getCurrentProps() |
void |
remove(Property<?> prop)
Call this to notify listeners of property changes
|
<T> void |
set(Property<T> prop,
T object)
Call this to notify listeners of property changes
|
void |
setApplicableProps(java.util.List<Property<?>> applicableProps)
Setting the applicable props will adjust the current working set of props
|
protected void |
updateCurrentProps() |
addPropertyChangeListener, change, firePropertyChange, getConfiguration, getName, getOrDefault, getPropertySet, isModified, removePropertyChangeListener
protected PropertySet currentProps
public ConfigPropertySetEditItem(PropertySet properties, java.util.List<Property<?>> applicableProps)
protected void updateCurrentProps()
public java.util.List<Property<?>> getApplicableProps()
public void setApplicableProps(java.util.List<Property<?>> applicableProps)
public PropertySet getCurrentProps()
public <T> void set(Property<T> prop, T object)
PropertySetEditItem
set
in class PropertySetEditItem
public void remove(Property<?> prop)
PropertySetEditItem
remove
in class PropertySetEditItem