|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.ThingImpl
public class ThingImpl
ThingImpl is the abstract superclass of the VisAD objects that send ThingChangedEvents to Actions.
Constructor Summary | |
---|---|
ThingImpl()
|
Method Summary | |
---|---|
void |
addReference(ThingReference r)
Adds a listener for changes to this thing. |
Object |
clone()
Clones this instance. |
void |
notifyReferences()
notify local ThingReferenceImpl-s that this ThingImpl has changed; incTick in RemoteThingImpl for RemoteThingReferenceImpl-s; would like 'default' visibility here, but must be declared 'public' because it is defined in the Thing interface |
void |
removeReference(ThingReference r)
remove a ThingReference to this ThingImpl; must be local ThingReferenceImpl; called by ThingReference.setThing; would like 'default' visibility here, but must be declared 'public' because it is defined in the Thing interface |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThingImpl()
Method Detail |
---|
public void addReference(ThingReference r) throws RemoteVisADException
addReference
in interface Thing
r
- The listener for changes.
RemoteVisADException
- if the listener isn't a ThingReferenceImpl
.
VisADException
- if a VisAD failure occurs.public void removeReference(ThingReference r) throws VisADException
removeReference
in interface Thing
VisADException
public void notifyReferences() throws VisADException, RemoteException
VisADException
RemoteException
public Object clone() throws CloneNotSupportedException
Clones this instance. Information on the set of listeners to changes in
this instance is not cloned, so -- following the general contract of the
clone()
method -- subclasses should not test for equality of
the set of listeners in any equals(Object)
method.
This implementation never throws CloneNotSupportedException
.
clone
in class Object
CloneNotSupportedException
- if cloning isn't supported.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |