Class AnimationSetInfo

java.lang.Object
ucar.visad.display.AnimationSetInfo

public class AnimationSetInfo extends Object
Holds state for constructing synthetic animation sets
  • Field Details

    • TIMEMODE_DATA

      public static final int TIMEMODE_DATA
      Mode for constructing set
      See Also:
    • TIMEMODE_CURRENT

      public static final int TIMEMODE_CURRENT
      Mode for constructing set
      See Also:
    • TIMEMODE_FIXED

      public static final int TIMEMODE_FIXED
      Mode for constructing set
      See Also:
    • TIMEMODE_RELATIVE

      public static final int TIMEMODE_RELATIVE
      Mode for constructing set
      See Also:
    • TIMEMODES

      public static int[] TIMEMODES
      Mode for constructing set
    • STARTMODELABELS

      public static String[] STARTMODELABELS
      Mode for constructing set
    • ENDMODELABELS

      public static String[] ENDMODELABELS
      Mode for constructing set
  • Constructor Details

    • AnimationSetInfo

      public AnimationSetInfo()
      ctor
    • AnimationSetInfo

      public AnimationSetInfo(AnimationSetInfo that)
      copy ctor
      Parameters:
      that - object to copy from
  • Method Details

    • equals

      public boolean equals(AnimationSetInfo that)
      _more_
      Parameters:
      that - _more_
      Returns:
      _more_
    • roundTo

      public static double roundTo(double roundTo, double seconds)
      Utility to round the given seconds
      Parameters:
      roundTo - the seconds to round to
      seconds - time to round
      Returns:
      Rounded value
    • setBaseTimes

      protected void setBaseTimes(Set times)
      Set the base time
      Parameters:
      times - the times
    • getBaseTimes

      protected Set getBaseTimes()
      Get the base times
      Returns:
      the base times
    • makeTimeSet

      protected Set makeTimeSet(DisplayMaster displayMaster) throws VisADException, RemoteException
      Create the time set
      Parameters:
      displayMaster - The display master we're in
      Returns:
      The time set
      Throws:
      RemoteException - On badness
      VisADException - On badness
    • usingCurrentTime

      public boolean usingCurrentTime()
      Do we use the now time for either our start or end time
      Returns:
      Use now time
    • setActive

      public void setActive(boolean value)
      Set the Active property.
      Parameters:
      value - The new value for Active
    • getActive

      public boolean getActive()
      Get the Active property.
      Returns:
      The Active
    • setStartMode

      public void setStartMode(int value)
      Set the StartMode property.
      Parameters:
      value - The new value for StartMode
    • getStartMode

      public int getStartMode()
      Get the StartMode property.
      Returns:
      The StartMode
    • setEndMode

      public void setEndMode(int value)
      Set the EndMode property.
      Parameters:
      value - The new value for EndMode
    • getEndMode

      public int getEndMode()
      Get the EndMode property.
      Returns:
      The EndMode
    • setIntervalMinutes

      public void setIntervalMinutes(double value)
      Set the IntervalMinutes property.
      Parameters:
      value - The new value for IntervalMinutes
    • getIntervalMinutes

      public double getIntervalMinutes()
      Get the IntervalMinutes property.
      Returns:
      The IntervalMinutes
    • setPollMinutes

      public void setPollMinutes(double value)
      Set the PollMinutes property.
      Parameters:
      value - The new value for PollMinutes
    • getPollMinutes

      public double getPollMinutes()
      Get the PollMinutes property.
      Returns:
      The PollMinutes
    • setStartOffsetMinutes

      public void setStartOffsetMinutes(double value)
      Set the StartOffsetMinutes property.
      Parameters:
      value - The new value for StartOffsetMinutes
    • getStartOffsetMinutes

      public double getStartOffsetMinutes()
      Get the StartOffsetMinutes property.
      Returns:
      The StartOffsetMinutes
    • setEndOffsetMinutes

      public void setEndOffsetMinutes(double value)
      Set the EndOffsetMinutes property.
      Parameters:
      value - The new value for EndOffsetMinutes
    • getEndOffsetMinutes

      public double getEndOffsetMinutes()
      Get the EndOffsetMinutes property.
      Returns:
      The EndOffsetMinutes
    • setRoundTo

      public void setRoundTo(double value)
      Set the RoundTo property.
      Parameters:
      value - The new value for RoundTo
    • getRoundTo

      public double getRoundTo()
      Get the RoundTo property.
      Returns:
      The RoundTo
    • setStartFixedTime

      public void setStartFixedTime(long value)
      Set the StartFixedTime property.
      Parameters:
      value - The new value for StartFixedTime
    • setStartFixedTime

      public void setStartFixedTime(Date d)
      set property
      Parameters:
      d - property
    • setEndFixedTime

      public void setEndFixedTime(Date d)
      set property
      Parameters:
      d - property
    • getStartFixedDate

      public Date getStartFixedDate()
      get the property
      Returns:
      property
    • getEndFixedDate

      public Date getEndFixedDate()
      get the property
      Returns:
      property
    • getStartFixedTime

      public long getStartFixedTime()
      Get the StartFixedTime property.
      Returns:
      The StartFixedTime
    • setEndFixedTime

      public void setEndFixedTime(long value)
      Set the EndFixedTime property.
      Parameters:
      value - The new value for EndFixedTime
    • getEndFixedTime

      public long getEndFixedTime()
      Get the EndFixedTime property.
      Returns:
      The EndFixedTime
    • getIsTimeDriver

      public boolean getIsTimeDriver()
      Is this the ViewManager time driver?
      Returns:
      true if it is the time driver
    • setIsTimeDriver

      public void setIsTimeDriver(boolean yesorno)
      Set whether this the ViewManager time driver
      Parameters:
      yesorno - true to be the time driver