[Review] API to disable open/close animations

Richard Bair richard.bair at oracle.com
Wed Jan 9 10:46:41 PST 2013


I think this is fine. Lets just leave this as a skin API for the moment.

Richard

On Jan 2, 2013, at 4:03 PM, Jonathan Giles <jonathan.giles at oracle.com> wrote:

> +1
> 
> To be clear, the new API is -fx-open-tab-animation and -fx-close-tab-animation on .tab-pane. The valid options are none and grow (the only animation we currently support in TabPane). In short, it is now possible to turn off animation for opening and closing tabs.
> 
> One question is whether to expose an API on TabPane to allow for this to be configured.
> 
> -- Jonathan
> 
> On Thursday, 3 January 2013 12:50:20 p.m., Tom Schindl wrote:
>> Hi,
>> 
>> The JIRA ticket is: http://javafx-jira.kenai.com/browse/RT-27088
>> 
>> The "API" I request a review is not in Java but only available through
>> CSS. The API allows the developer to turn on/off the animation happening
>> when opening/closing Tabs in TabPane.
>> 
>> We've intentionally made the API a enum to allow other animation
>> implementations in future (e.g. fade - see
>> http://javafx-jira.kenai.com/browse/RT-27499)
>> 
>> Tom
>> 



More information about the openjfx-dev mailing list