visad
Interface ThingReference
-
- All Known Subinterfaces:
- DataReference, RemoteDataReference, RemoteThingReference
- All Known Implementing Classes:
- DataReferenceImpl, RemoteDataReferenceImpl, RemoteThingReferenceImpl, ThingReferenceImpl
public interface ThingReferenceThingReference is the VisAD interface for named holders for objects. It can provide a symbol table binding between a name and a variable for a user interface that includes a formula interpreter, or a full language interpreter (e.g., a Java interpreter).During computations the object referenced by a ThingReference may change.
ThingReference is a source of ThingChangedEvent-s, and thus defines addThingChangedListener and removeThingChangedListener.
ThingReference objects may be local (ThingReferenceImpl) or remote (RemoteThingReferenceImpl).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description ThingChangedEventacknowledgeThingChanged(Action a)voidaddThingChangedListener(ThingChangedListener l, long id)java.lang.StringgetName()ThinggetThing()longgetTick()longincTick()ThingChangedEventpeekThingChanged(Action a)voidremoveThingChangedListener(ThingChangedListener l)voidsetThing(Thing t)invokes t.addReference((ThingReference r)
-
-
-
Method Detail
-
setThing
void setThing(Thing t) throws VisADException, java.rmi.RemoteException
invokes t.addReference((ThingReference r)- Throws:
VisADExceptionjava.rmi.RemoteException
-
getThing
Thing getThing() throws VisADException, java.rmi.RemoteException
- Throws:
VisADExceptionjava.rmi.RemoteException
-
getTick
long getTick() throws VisADException, java.rmi.RemoteException- Throws:
VisADExceptionjava.rmi.RemoteException
-
incTick
long incTick() throws VisADException, java.rmi.RemoteException- Throws:
VisADExceptionjava.rmi.RemoteException
-
getName
java.lang.String getName() throws VisADException, java.rmi.RemoteException- Throws:
VisADExceptionjava.rmi.RemoteException
-
addThingChangedListener
void addThingChangedListener(ThingChangedListener l, long id) throws VisADException, java.rmi.RemoteException
- Throws:
VisADExceptionjava.rmi.RemoteException
-
removeThingChangedListener
void removeThingChangedListener(ThingChangedListener l) throws VisADException, java.rmi.RemoteException
- Throws:
VisADExceptionjava.rmi.RemoteException
-
acknowledgeThingChanged
ThingChangedEvent acknowledgeThingChanged(Action a) throws VisADException, java.rmi.RemoteException
- Throws:
VisADExceptionjava.rmi.RemoteException
-
peekThingChanged
ThingChangedEvent peekThingChanged(Action a) throws VisADException, java.rmi.RemoteException
- Throws:
VisADExceptionjava.rmi.RemoteException
-
-
DMelt 3.0 © DataMelt by jWork.ORG