|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Action
Action is the VisAD interface for runnable threads that need to be notified when ThingReference objects change. For example, this may be used for a Data display or for a spreadsheet cell.
Method Summary | |
---|---|
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. |
Methods inherited from interface visad.ThingChangedListener |
---|
thingChanged |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |