public interface Action extends ThingChangedListener
Modifier and Type | Method and Description |
---|---|
void |
addReference(ThingReference ref)
Creates a link to a ThingReference.
|
String |
getName() |
void |
removeAllReferences()
delete all links to ThingReferences
|
void |
removeReference(ThingReference ref)
Removes a link to a ThingReference.
|
thingChanged
void addReference(ThingReference ref) throws VisADException, RemoteException
ref
- The ThingReference to which to create
the link. Subsequent invocation of
thingChanged(ThingChangedEvent)
causes invocation of
ref.acknowledgeThingChanged(this)
. This method invokes
ref.addThingChangedListener(this, ...)
.RemoteVisADException
- if the reference isn't a ThingReferenceImpl
.ReferenceException
- if the reference has already been added.VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.ThingChangedListener.thingChanged(ThingChangedEvent)
,
ThingReference.addThingChangedListener(ThingChangedListener, long)
void removeReference(ThingReference ref) throws VisADException, RemoteException
Removes a link to a ThingReference.
ref
- The reference to be removed.RemoteVisADException
- if the reference isn't a ThingReferenceImpl
.ReferenceException
- if the reference isn't a part of this
instance.VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.void removeAllReferences() throws VisADException, RemoteException
VisADException
RemoteException
String getName() throws VisADException, RemoteException
VisADException
RemoteException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.