TabbedPager
Implements a 'Tabs' widget where different pages can be switched by selecting a header button.
Each page is an Actor, passed to the Widget via addPage. Pages can be removed, replaced or dynamically added after the Widget is already shown.
Pages are automatically scrollable, switching pages preserves scroll positions individually. Pages can be disabled or secret - any 'secret' pages added require a later call to askForPassword to activate them (or discard if the password is wrong).
The size parameters are lower and upper bounds of the page content area. The widget will always report these bounds (plus header height) as layout properties min/max-Width/Height, and measure the content area of added pages and set the reported pref-W/H to their maximum within these bounds. But, if a maximum is not specified, that coordinate will grow with content unlimited, and layout max-W/H will always report the same as pref-W/H.
Constructors
Types
Functions
Activate any secret pages by asking for the password.
Remove a page by its index.
Remove a page by its caption.
Replace a page's content by its index.
Replace a page's content by its caption.
Change the selected page by using its index.
Change the selected page by using its caption.
Change the disabled property of a page by its index.
Change the disabled property of a page by its caption.
Properties
Index of currently selected page, or -1 of none. Read-only, use selectPage to change.