public abstract class MapAdapter extends java.lang.Object implements Propertied, java.lang.Comparable
Modifier | Constructor and Description |
---|---|
protected |
MapAdapter(visad.DisplayRealType drt)
Constructs.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener to this instance.
|
void |
addPropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener for a named property to this instance.
|
protected void |
firePropertyChange(java.beans.PropertyChangeEvent event)
Fires a PropertyChangeEvent.
|
protected void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Fires a PropertyChangeEvent.
|
visad.DisplayRealType |
getDisplayRealType()
Returns the
DisplayRealType of this instance. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener from this instance.
|
void |
removePropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener for a named property from this instance.
|
protected MapAdapter(visad.DisplayRealType drt)
drt
- The DisplayRealType to be associated with this
adapter.public final visad.DisplayRealType getDisplayRealType()
DisplayRealType
of this instance.public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface Propertied
listener
- The PropertyChangeListener to be added.public void addPropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface Propertied
name
- The name of the property.listener
- The PropertyChangeListener to be added.public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface Propertied
listener
- The PropertyChangeListener to be removed.public void removePropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface Propertied
name
- The name of the property.listener
- The PropertyChangeListener to be removed.protected void firePropertyChange(java.beans.PropertyChangeEvent event)
event
- The PropertyChangeEvent.protected void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
propertyName
- The name of the property.oldValue
- The old value of the property.newValue
- The new value of the property.