|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.display.ConstantMapComposite
public class ConstantMapComposite
Provides support for a composite of adapted VisAD ConstantMap-s.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface ucar.visad.display.ConstantMaps |
|---|
ConstantMaps.Visitor |
| Field Summary |
|---|
| Fields inherited from interface ucar.visad.display.ConstantMaps |
|---|
CONSTANT_MAP |
| Constructor Summary | |
|---|---|
ConstantMapComposite()
Constructs. |
|
ConstantMapComposite(ConstantMaps maps)
Constructs. |
|
| Method Summary | |
|---|---|
void |
accept(ConstantMaps.Visitor visitor)
Accepts a ConstantMaps.Visitor to this instance. |
protected void |
add(ConstantMaps maps)
Adds adapted ConstantMaps to this instance. |
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener to this instance. |
void |
addPropertyChangeListener(String name,
PropertyChangeListener listener)
Adds a PropertyChangeListener for a named property to this instance. |
protected void |
firePropertyChange(PropertyChangeEvent event)
Fires a PropertyChangeEvent. |
protected void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Fires a PropertyChangeEvent. |
ConstantMap[] |
getConstantMaps()
Returns the ConstantMap(s) of this instance. |
protected void |
remove(ConstantMaps maps)
Removes adapted ConstantMaps from this instance. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a PropertyChangeListener from this instance. |
void |
removePropertyChangeListener(String name,
PropertyChangeListener listener)
Removes a PropertyChangeListener for a named property from this instance. |
void |
setDisplay(Display display)
Adds the adapted ConstantMap(s) of this instance to a VisAD
display. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantMapComposite()
public ConstantMapComposite(ConstantMaps maps)
throws VisADException,
RemoteException
maps - The initial ConstantMaps for this
instance.
VisADException - VisAD failure.
RemoteException - Java RMI failure.| Method Detail |
|---|
protected void add(ConstantMaps maps)
throws BadMappingException,
VisADException,
RemoteException
ConstantMaps to this instance.
maps - The adapted ConstantMaps to
be added.
BadMappingException - Addition of the ConstantMaps
would result in multiple values for a DisplayRealType.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
protected void remove(ConstantMaps maps)
throws VisADException,
RemoteException
ConstantMaps from this instance.
maps - The adapted ConstantMaps to be
removed.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
public void accept(ConstantMaps.Visitor visitor)
throws VisADException,
RemoteException
ConstantMaps.Visitor to this instance.
accept in interface ConstantMapsvisitor - The ConstantMaps.Visitor to accept.
VisADException - VisAD failure.
RemoteException - Java RMI failure.public ConstantMap[] getConstantMaps()
ConstantMap(s) of this instance.
getConstantMaps in interface ConstantMapsConstantMap(s) of this instance.
public void setDisplay(Display display)
throws VisADException,
RemoteException
ConstantMap(s) of this instance to a VisAD
display. This method should only be invoked by a DisplayAdapter.
setDisplay in interface ConstantMapsdisplay - The VisAD display.
VisADException - VisAD failure.
RemoteException - Java RMI failure.public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in interface Propertiedlistener - The PropertyChangeListener to be added.
public void addPropertyChangeListener(String name,
PropertyChangeListener listener)
addPropertyChangeListener in interface Propertiedname - The name of the property.listener - The PropertyChangeListener to be added.public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface Propertiedlistener - The PropertyChangeListener to be removed.
public void removePropertyChangeListener(String name,
PropertyChangeListener listener)
removePropertyChangeListener in interface Propertiedname - The name of the property.listener - The PropertyChangeListener to be removed.protected void firePropertyChange(PropertyChangeEvent event)
event - The PropertyChangeEvent.
protected void firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
propertyName - The name of the property.oldValue - The old value of the property.newValue - The new value of the property.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||