How to render tabs title, just like List renderer?
In the old tabbed pane you could override the look and feel.
In the new Tab's component just style them using the theme (Tab style) and we support some things like text placement, icons etc. Nothing as full blown as a renderer though.
I read TabbePane , in the source code TabbedPane uses List to manage title
why Tabs does not use List to manage Title anymore?
hopefully there will be a rederer method for tabs : -)
so that the tabs title can be customize to many kinds of styles
The list approach was harder to customize and contained many drawbacks/hacks.
The buttons (and more recently toggle button) approach is actually easier to customize via styles without deriving anything. In theory we can allow subclassing of a tab to allow even more customization but I'm not sure we want to.
Personally I was able to customize the new Tabs component much more heavily (and easily) than the old tabbed pane.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.