javax.swing.plaf.metal
public class MetalTabbedPaneUI.TabbedPaneLayout extends BasicTabbedPaneUI.TabbedPaneLayout
UNKNOWN: Apparently this class was intended to be protected, but was made public by a compiler bug and is now public for compatibility.
Constructor Summary | |
---|---|
TabbedPaneLayout()
Creates a new instance of the layout manager. |
Method Summary | |
---|---|
protected void | normalizeTabRuns(int tabPlacement, int tabCount, int start, int max)
Overridden because tab runs are only normalized for TOP and BOTTOM
tab placement in the Metal L&F. |
protected void | padSelectedTab(int tabPlacement, int selectedIndex)
Overridden to do nothing, because the selected tab does not have extra
padding in the {@link MetalLookAndFeel}.
|
protected void | rotateTabRuns(int tabPlacement, int selectedRun)
Overridden to do nothing, because tab runs are not rotated in the
{@link MetalLookAndFeel}.
|
Parameters: tabPlacement the tab placement (one of {@link #TOP}, {@link #BOTTOM}, {@link #LEFT} or {@link #RIGHT}). selectedIndex the index of the selected tab.
Parameters: tabPlacement the tab placement (one of {@link #TOP}, {@link #BOTTOM}, {@link #LEFT} or {@link #RIGHT}). selectedRun the index of the selected run.