public class MetalTabbedPaneUI.TabbedPaneLayout extends BasicTabbedPaneUI.TabbedPaneLayout
MetalTabbedPaneUI
.Constructor and Description |
---|
TabbedPaneLayout()
Constructs
TabbedPaneLayout . |
Modifier and Type | Method and Description |
---|---|
protected void |
normalizeTabRuns(int tabPlacement,
int tabCount,
int start,
int max)
Normalizes the tab runs.
|
protected void |
padSelectedTab(int tabPlacement,
int selectedIndex)
Pads selected tab.
|
protected void |
rotateTabRuns(int tabPlacement,
int selectedRun)
Rotates the run-index array so that the selected run is run[0].
|
addLayoutComponent, calculateLayoutInfo, calculateSize, calculateTabRects, layoutContainer, minimumLayoutSize, padTabRun, preferredLayoutSize, preferredTabAreaHeight, preferredTabAreaWidth, removeLayoutComponent
protected void normalizeTabRuns(int tabPlacement, int tabCount, int start, int max)
BasicTabbedPaneUI.TabbedPaneLayout
normalizeTabRuns
in class BasicTabbedPaneUI.TabbedPaneLayout
tabPlacement
- the tab placementtabCount
- the tab countstart
- the startmax
- the maxprotected void rotateTabRuns(int tabPlacement, int selectedRun)
BasicTabbedPaneUI.TabbedPaneLayout
rotateTabRuns
in class BasicTabbedPaneUI.TabbedPaneLayout
tabPlacement
- the tab placementselectedRun
- the selected runprotected void padSelectedTab(int tabPlacement, int selectedIndex)
BasicTabbedPaneUI.TabbedPaneLayout
padSelectedTab
in class BasicTabbedPaneUI.TabbedPaneLayout
tabPlacement
- the tab placementselectedIndex
- the selected index Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait