[Review] API to disable open/close animations

Jonathan Giles jonathan.giles at oracle.com
Wed Jan 2 16:03:16 PST 2013


+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