public interface ExtendedPropertiesSupport
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
getExtendedProperties()
Deprecated.
Returns a hash map with all new properties associated to this layer.
|
java.lang.Object |
getProperty(java.lang.Object key)
Deprecated.
Returns a reference to an object (property) associated to this layer.
|
void |
setProperty(java.lang.Object key,
java.lang.Object obj)
Deprecated.
Inserts an object as a property to this layer.
|
java.lang.Object getProperty(java.lang.Object key)
Returns a reference to an object (property) associated to this layer.
For example, you can attach a network definition to key "network" and check if a layer has a network loaded using getAssociatedObject("network") and that it's not null.
key - the key associated to the propertynull if key is not foundgetExtendedProperties(),
setProperty(Object, Object)void setProperty(java.lang.Object key,
java.lang.Object obj)
key - the key associated to the propertyobj - the propertygetProperty(Object),
getExtendedProperties()java.util.Map getExtendedProperties()
getProperty(Object),
setProperty(Object, Object)