visad
Interface Action

All Superinterfaces:
java.util.EventListener, ThingChangedListener
All Known Subinterfaces:
Cell, Display, LocalDisplay, RemoteAction, RemoteCell, RemoteDisplay
All Known Implementing Classes:
ActionImpl, CellImpl, DisplayImpl, DisplayImplJ2D, DisplayImplJ3D, FormulaVar, RemoteActionImpl, RemoteCellImpl, RemoteDisplayImpl, SSCellImpl

public interface Action
extends ThingChangedListener

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)
          create link to a ThingReference; invokes ref.addThingChangedListener(ThingChangedListener l, long id)
 java.lang.String getName()
          return name of this Action
 void removeAllReferences()
          delete all links to ThingReferences
 void removeReference(ThingReference ref)
          delete link to a ThingReference
 
Methods inherited from interface visad.ThingChangedListener
thingChanged
 

Method Detail

addReference

void addReference(ThingReference ref)
                  throws VisADException,
                         java.rmi.RemoteException
create link to a ThingReference; invokes ref.addThingChangedListener(ThingChangedListener l, long id)

Throws:
VisADException
java.rmi.RemoteException

removeReference

void removeReference(ThingReference ref)
                     throws VisADException,
                            java.rmi.RemoteException
delete link to a ThingReference

Throws:
VisADException
java.rmi.RemoteException

removeAllReferences

void removeAllReferences()
                         throws VisADException,
                                java.rmi.RemoteException
delete all links to ThingReferences

Throws:
VisADException
java.rmi.RemoteException

getName

java.lang.String getName()
                         throws VisADException,
                                java.rmi.RemoteException
return name of this Action

Throws:
VisADException
java.rmi.RemoteException