Class SoundingProfile


public class SoundingProfile extends LineDrawing
Supports a profile trace on a thermodynamic diagram.
  • Field Details

  • Constructor Details

  • Method Details

    • setProfile

      public void setProfile(Field field) throws TypeException, RemoteException, VisADException
      Sets the profile field property. This method will cause a PropertyChangeEvent to be fired for the FIELD property.
      Parameters:
      field - The profile field property.
      Throws:
      TypeException - Argument has incorrect type.
      VisADException - VisAD failure.
      RemoteException - Java RMI failure.
    • getProfile

      public Field getProfile() throws VisADException, RemoteException
      Returns the profile-field property. NB: Does not return a copy.
      Returns:
      The profile-field property.
      Throws:
      VisADException - VisAD failure.
      RemoteException - Java RMI failure.
    • dataChange

      protected void dataChange() throws VisADException, RemoteException
      Handles a change to the data referenced by this instances's DataReference. This method is invoked by the parent class when the data is either explicitly set or directly manipulated. This method fires a PropertyChangeEvent for the FIELD property with the Field value of the last setProfile(Field) invocation as the old value. It also causes a PropertyChangeEvent to be fired for the RANGE_VALUE property.
      Overrides:
      dataChange in class DisplayableData
      Throws:
      VisADException - VisAD failure.
      RemoteException - Java RMI failure.
    • equals

      public boolean equals(Object obj)
      Indicates if this instance is semantically identical to another object.
      Overrides:
      equals in class Object
      Parameters:
      obj - The other object.
      Returns:
      true if and only if this instance is semantically identical to the other object.
    • hashCode

      public int hashCode()
      Returns the hash code of this instance.
      Overrides:
      hashCode in class Object
      Returns:
      The hash code of this instance.
    • clear

      public void clear()
      Clears the profile-field.
    • cloneForDisplay

      public Displayable cloneForDisplay() throws RemoteException, VisADException
      Returns a clone of this instance suitable for another VisAD display. Underlying data objects are not cloned.
      Overrides:
      cloneForDisplay in class DisplayableData
      Returns:
      A clone of this instance.
      Throws:
      VisADException - VisAD failure.
      RemoteException - Java RMI failure.