See: Description
Package | Description |
---|---|
org.netbeans.swing.popupswitcher | |
org.netbeans.swing.tabcontrol |
TabDisplayer and TabbedControl
|
org.netbeans.swing.tabcontrol.customtabs | |
org.netbeans.swing.tabcontrol.event | |
org.netbeans.swing.tabcontrol.plaf |
The Swing components in this package were carefully designed to be consistent with standard Swing components in their function, usage and ui registration mechanisms.
A new method AbstractTabCellRenderer.getCaptionYPosition
may now be overridden by subclasses, to customize the calculation of
the tab label's Y position. This allows specific implementations to
improve the calculation code without affecting other LAFs (which
may contain adjustments hard-coded to work with the old calculation.)
TabDisplayer no implements java.awt.dnd.Autoscroll interface. The new methods just delegate to TabDisplayerUI. The actual implementation is in BasicScrollingTabDisplayerUI class which scrolls the tabs to the left or to the right when a TopComponent is being dragged over its left or right edge.
TabDisplayer class has getter and setter for ComponentConverter so that its UI delegate can calculate proper minimum size when ComponentConverter is being used.
New UI delegates for editor and non-editor tabs for Windows 8 look and feel.
There's a new method void setSwitcherItems(SwitcherTableItems[],int)
in
SwitcherTable
class which allows to change the content of document switcher
popup.
|
|
Read more about the implementation in the answers to architecture questions.