public abstract class PropertiesElement extends Element implements PropertiesStore.StorableElement, ECPPropertiesAware
ECPProperties.| Constructor and Description |
|---|
PropertiesElement(ObjectInput in)
Create a
PropertiesElement from an ObjectInput. |
PropertiesElement(String name,
ECPProperties properties)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup()
Cleans up after the PropertiesElement.
|
ECPProperties |
getProperties()
This returns the
ECPProperties attached to this object. |
protected void |
propertiesChanged(Collection<Map.Entry<String,String>> oldProperties,
Collection<Map.Entry<String,String>> newProperties)
Called if the properties of the element change.
|
void |
write(ObjectOutput out) |
compareTo, equals, getName, getType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisStorablegetNamecompareTopublic PropertiesElement(String name, ECPProperties properties)
name - the name of the elementsproperties - the initial propertiespublic PropertiesElement(ObjectInput in) throws IOException
PropertiesElement from an ObjectInput.in - the ObjectInputIOException - if there a problem while reading the inputpublic void write(ObjectOutput out) throws IOException
write in interface PropertiesStore.StorableElementIOExceptionpublic final ECPProperties getProperties()
ECPProperties attached to this object.getProperties in interface ECPPropertiesAwareECPProperties this object knows ofprotected void propertiesChanged(Collection<Map.Entry<String,String>> oldProperties, Collection<Map.Entry<String,String>> newProperties)
oldProperties - the old propertiesnewProperties - the new propertiesprotected void cleanup()
ECPPropertiesObserver from the
ECPProperties.Copyright © 2016. All rights reserved.