Class MetalTabbedPaneUI.TabbedPaneLayout
- java.lang.Object
-
- javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout
-
- javax.swing.plaf.metal.MetalTabbedPaneUI.TabbedPaneLayout
- All Implemented Interfaces:
- LayoutManager
- Enclosing class:
- MetalTabbedPaneUI
public class MetalTabbedPaneUI.TabbedPaneLayout extends BasicTabbedPaneUI.TabbedPaneLayout
This class should be treated as a "protected" inner class. Instantiate it only within subclasses of MetalTabbedPaneUI
.
Constructors
Constructor and Description |
---|
TabbedPaneLayout() |
Methods
Modifier and Type | Method and Description |
---|---|
protected void |
normalizeTabRuns(int tabPlacement,
int tabCount,
int start,
int max) |
protected void |
padSelectedTab(int tabPlacement,
int selectedIndex) |
protected void |
rotateTabRuns(int tabPlacement,
int selectedRun) |
Methods inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout
addLayoutComponent, calculateLayoutInfo, calculateSize, calculateTabRects, layoutContainer, minimumLayoutSize, padTabRun, preferredLayoutSize, preferredTabAreaHeight, preferredTabAreaWidth, removeLayoutComponent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructors
TabbedPaneLayout
public TabbedPaneLayout()
Methods
normalizeTabRuns
protected void normalizeTabRuns(int tabPlacement, int tabCount, int start, int max)
- Overrides:
-
normalizeTabRuns
in classBasicTabbedPaneUI.TabbedPaneLayout
rotateTabRuns
protected void rotateTabRuns(int tabPlacement, int selectedRun)
- Overrides:
-
rotateTabRuns
in classBasicTabbedPaneUI.TabbedPaneLayout
padSelectedTab
protected void padSelectedTab(int tabPlacement, int selectedIndex)
- Overrides:
-
padSelectedTab
in classBasicTabbedPaneUI.TabbedPaneLayout
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/javax/swing/plaf/metal/MetalTabbedPaneUI.TabbedPaneLayout.html