API REVIEW request for RT17668 Disable/enable tabs in a TabPane
Tom Schindl
tom.schindl at bestsolution.at
Fri Apr 13 00:09:42 PDT 2012
Is the tab still selectable? If no, what will happen if the tab you are
just disabling is the active one? Will the focus be shifted to the
next/previous one? What if it is the only tab?
If yes. Is disable really the right property name? Disabled means it can
not be selected anymore (doesn't receive focus, not part of tab
navigation, ...)
Tom
Am 12.04.12 23:39, schrieb Kinsley Wong:
> JIRA: http://javafx-jira.kenai.com/browse/RT-17668
>
> This tweak will add the following api to Tab
>
> public final void setDisable(boolean value);
> public final boolean isDisable();
>
> /**
> * Sets the disabled state of this tab. Setting
> * disable to true will cause this tab and the tab content to
> * become disabled.
> *
> * @defaultValue false
> */
> public final BooleanProperty disableProperty();
--
B e s t S o l u t i o n . a t EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl geschäftsführer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5-7/1 A-6020 innsbruck fax ++43 512 935833
http://www.BestSolution.at phone ++43 512 935834
More information about the openjfx-dev
mailing list