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

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



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
*************************************************************