Class MeanWindSet


public class MeanWindSet extends CompositeDisplayable
Provides support for a CompositeDisplayable of mean winds.
Version:
$Id: MeanWindSet.java,v 1.12 2005/05/13 18:33:33 jeffmc Exp $
Author:
Steven R. Emmerson
  • Field Details

    • ACTIVE_MEAN_WIND

      public static String ACTIVE_MEAN_WIND
      The name of the active mean-wind Displayable property.
  • Constructor Details

  • Method Details

    • setMeanWind

      public void setMeanWind(int index, Displayable meanWind) throws RemoteException, VisADException
      Adds a mean-wind Displayable to this composite.
      Parameters:
      index - The index of the mean-wind Displayable.
      meanWind - The mean-wind Displayable.
      Throws:
      VisADException - VisAD failure.
      RemoteException - Java RMI failure.
    • removeMeanWind

      public Displayable removeMeanWind(int index) throws RemoteException, VisADException, IndexOutOfBoundsException
      Removes a mean-wind Displayable from this composite.
      Parameters:
      index - The index of the mean-wind Displayable.
      Returns:
      The mean-wind Displayable that was removed.
      Throws:
      VisADException - VisAD failure.
      RemoteException - Java RMI failure.
      IndexOutOfBoundsException - The index was out of range.
    • setActiveMeanWind

      public void setActiveMeanWind(int index) throws RemoteException, VisADException
      Sets the active mean-wind Displayable.
      Parameters:
      index - The index of the active mean-wind Displayable. If the index is out of range, then the active mean-wind is set the the missing mean-wind Displayable.
      Throws:
      VisADException - VisAD failure.
      RemoteException - Java RMI failure.
    • setActiveMeanWind

      protected void setActiveMeanWind(Displayable meanWind)
      Sets the active mean-wind property.
      Parameters:
      meanWind - The new value.
    • getActiveMeanWind

      public Displayable getActiveMeanWind()
      Returns the active mean-wind property.
      Returns:
      The active mean-wind property.
    • clear

      public void clear() throws VisADException, RemoteException
      Clears the mean-wind Displayable-s from this composite.
      Throws:
      VisADException - VisAD failure.
      RemoteException - Java RMI failure.