[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [Fwd: AnimationControl - turning animation string on/off.]



Hi everyone,

I agree with Don (and Tom R and Bill), and it was great to
read Don's email regarding the model used by VisAD when it
was being developed.

It makes sense to place the method(s) in DisplayRenderer, and
it's probably the first place I would look for such a method.

Thanks,
Jim.


Don Murray wrote:

> Tom-
>
> Tom Rink wrote:
>
>> I agree with Don: AnimationControl should only provide methods
>> to make a string of it's current state, the DisplayRenderer should
>> decide if to render the string into the Display.  There is the issue
>> of setAnimationStringVisible() when there isn't a ScalarMap to
>> Animation?
>
>
> On the latter point, it shouldn't matter since it only affects what 
> getAnimationString()does. If there is no ScalarMap to Animation now,
> either it doesn't get called or it doesn't matter what it returns.
>
> If we do go this route, then we have to decide on a method name. ;-)
>
> enableAnimationString(boolean enabled)
> setAnimationStringEnabled(boolean enabled)
> setAnimationStringOn(boolean enabled)
> setAnimationStringVisible(boolean enabled)
>
> Don
> *************************************************************
> Don Murray                               UCAR Unidata Program
> dmurray@unidata.ucar.edu                        P.O. Box 3000
> (303) 497-8628                              Boulder, CO 80307
> http://www.unidata.ucar.edu/staff/donm
> *************************************************************
>
>
>