Class AnimationTextControl

All Implemented Interfaces:
ActionListener, ItemListener, PropertyChangeListener, EventListener, HyperlinkListener, Sharable, DataChangeListener, DisplayControl, Prototypable, ControlListener, DisplayListener

public class AnimationTextControl extends DisplayControlImpl implements HyperlinkListener
Version:
$Revision: 1.87 $
Author:
Jeff McWhirter
  • Constructor Details

    • AnimationTextControl

      public AnimationTextControl()
      Default Constructor. Set the flags to tell that this display control wants a color widget.
  • Method Details

    • init

      public boolean init(DataChoice dataChoice) throws VisADException, RemoteException
      Called to make this kind of Display Control; also calls code to made its Displayable, the line. This method is called from inside DisplayControlImpl.init(several args).
      Overrides:
      init in class DisplayControlImpl
      Parameters:
      dataChoice - the DataChoice of the moment - not used yet; can be null.
      Returns:
      true if successful
      Throws:
      RemoteException - Java RMI error
      VisADException - VisAD Error
    • initDone

      public void initDone()
      finish initialization
      Overrides:
      initDone in class DisplayControlImpl
    • timeChanged

      protected void timeChanged(Real time)
      Respond to a timeChange event
      Overrides:
      timeChanged in class DisplayControlImpl
      Parameters:
      time - new time
    • hyperlinkUpdate

      public void hyperlinkUpdate(HyperlinkEvent e)
      Handle html href click
      Specified by:
      hyperlinkUpdate in interface HyperlinkListener
      Overrides:
      hyperlinkUpdate in class DisplayControlImpl
      Parameters:
      e - the event
    • goToNextTime

      public void goToNextTime()
      Step to next time
    • goToPrevTime

      public void goToPrevTime()
      go to previous tome
    • doMakeContents

      public Container doMakeContents()
      Make the UI contents for this control.
      Overrides:
      doMakeContents in class DisplayControlImpl
      Returns:
      UI container
    • deleteCurrent

      public void deleteCurrent()
      remove the current displayed dated text
    • shouldAddAnimationListener

      protected boolean shouldAddAnimationListener()
      should we listen for time animation events
      Overrides:
      shouldAddAnimationListener in class DisplayControlImpl
      Returns:
      true
    • setTextList

      public void setTextList(List value)
      Set the TextList property.
      Parameters:
      value - The new value for TextList
    • getTextList

      public List getTextList()
      Get the TextList property.
      Returns:
      The TextList
    • setListenOnAnimation

      public void setListenOnAnimation(boolean value)
      Set the ListOnAnimation property.
      Parameters:
      value - The new value for ListOnAnimation
    • getListenOnAnimation

      public boolean getListenOnAnimation()
      Get the ListenOnAnimation property.
      Returns:
      The ListenOnAnimation