Say Well-it-come: TabbedPane V.3

TabbedPane in Action !

……..

How to control TabbedPane !

……..
This version is a little cleaner than the previous.
……..

  • But he can always make something ugly playing with CSS. :D
  • It may or may not have multiple buttons to close the tab (as was possible before) But now they are made from the component ComboButtons.
  • These are only displayed when the Tab is selected. This avoids the unfortunate mistakes …
  • The titles of the tabs are automatically shortcuts with “…” when the name is too long compared to the available space in the tab.
  • Tabs can be colored or not.
  • It is possible to configure the behavior of selections when adding or removing tabs.
  • The TabbedPane inherits Resizable and behaves as such – ie the number of tabs is visible depending on the size of the component. You can scroll tabs with appropriate functions or with wheel mouse.
  • It is possible to define content as “persistent” for optimization (Scenario: All the tabs are associated with something that is in fact the same … For example a list.) Demonstrator that I show would have made the very good example.
  • It has three Callback functions for each tab ( onClosedCallback / onSelectedCallback / onUnSelectedCallback ).
  • It has four Callback functions but reachable from TabbedPane instance ( onAddedTabCallback / onClosedTabCallback / onSelectedTabCallback / onUnSelectedTabCallback ) they are actually used in this example to put sounds on TabbedPane’s actions
  • You can press “Space” to switch to another tab and keys ”X, C, D” to close the one selected.”N or INSERT” to create a new tab (without control buttons! – Because since TabbedPane.fx not test.fx …). ”Keys left / right arrows to scroll through tabs visible.

……..

• For a short explanation of packages that revolve around TabbedPane is just below here:

……..

Packages explanation

……..

• Try it !


……..

• Get it !


……..

The French equivalent:

http://www.blog.saturny.com/?p=239

……..

Posted in controls, graphics, real world, utility

Go to Source

Leave a Reply

You must be logged in to post a comment.