NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re:

  • Subject: Re:
  • From: Doug Lindholm <lind@xxxxxxxx>
  • Date: Thu, 08 Nov 2001 08:29:53 -0700
You can extend the DisplayRenderer (J2D or J3D) and override the
setAnimationString method to do nothing.

Doug

Bill Hibbard wrote:
> 
> Hi Gaoming,
> 
> > If I use the following code to add animation:
> >
> >    //add animation
> >    AnimationControl ac= (AnimationControl)timeAnimMap.getControl();
> >    ac.setOn(true);
> >
> > On the bottom of the image screen, the following text will display:
> >
> > Time = 1970-01-01  00:00:10Z
> > 1 of 4
> >
> > I do not want them to be displayed. Are there any ways to do this?
> 
> There should be a way to disable these time String displays,
> but isn't. I can't do it soon, but you may be able to
> acheive the effect you want by using a ScalarMap to
> Display.SelectValue in place of Display.Animation. ValueControl
> only has a setValue() method, so you'll have to construct a
> Thread to explicitly manage animation. One of these days I'll
> add a method to disable animation Strings (but I'm about to
> start some travel).
> 
> Cheers,
> Bill
> ----------------------------------------------------------
> Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
> hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
> http://www.ssec.wisc.edu/~billh/vis.html

-- 
*----------------------------------------------------------------------*
| Doug Lindholm, Software Engineer          |  E-mail: lind@xxxxxxxx   |
| Research Applications Program             |   Phone: 303-497-8374    |
| National Center for Atmospheric Research  |                          |
| P.O. Box 3000                             |     There's no place     |
| Boulder, Colorado 80307-3000              |        like $HOME        |
*----------------------------------------------------------------------*


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: