Documentation of 'visad.ThingImpl' Java class
ThingImpl
visad

Class ThingImpl

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Thing
    Direct Known Subclasses:
    DataImpl, VMethod, VRealType


    public class ThingImpl
    extends java.lang.Object
    implements Thing, java.lang.Cloneable, java.io.Serializable
    ThingImpl is the abstract superclass of the VisAD objects that send ThingChangedEvents to Actions.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      ThingImpl() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addReference(ThingReference r)
      Adds a listener for changes to this thing.
      java.lang.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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ThingImpl

        public ThingImpl()
    • Method Detail

      • removeReference

        public void removeReference(ThingReference r)
                             throws VisADException
        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
        Specified by:
        removeReference in interface Thing
        Throws:
        VisADException
      • notifyReferences

        public void notifyReferences()
                              throws VisADException,
                                     java.rmi.RemoteException
        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
        Throws:
        VisADException
        java.rmi.RemoteException
      • clone

        public java.lang.Object clone()
                               throws java.lang.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.

        Overrides:
        clone in class java.lang.Object
        Returns:
        A clone of this instance.
        Throws:
        java.lang.CloneNotSupportedException - if cloning isn't supported.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.