Package com.jidesoft.plaf.basic
Class BasicJideTabbedPaneUI.TabbedPaneLayout
java.lang.Object
com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.TabbedPaneLayout
- All Implemented Interfaces:
LayoutManager
- Direct Known Subclasses:
BasicJideTabbedPaneUI.TabbedPaneScrollLayout
- Enclosing class:
BasicJideTabbedPaneUI
This inner class is marked "public" due to a compiler bug. This class should be treated as a
"protected" inner class. Instantiate it only within subclasses of VsnetJideTabbedPaneUI.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayoutComponent
(String name, Component comp) void
protected Dimension
calculateSize
(boolean minimum) protected void
calculateTabRects
(int tabPlacement, int tabCount) void
layoutContainer
(Container parent) minimumLayoutSize
(Container parent) protected void
normalizeTabRuns
(int tabPlacement, int tabCount, int start, int max) protected void
padSelectedTab
(int tabPlacement, int selectedIndex) protected void
padTabRun
(int tabPlacement, int start, int end, int max) preferredLayoutSize
(Container parent) protected int
preferredTabAreaHeight
(int tabPlacement, int width) protected int
preferredTabAreaWidth
(int tabPlacement, int height) void
protected void
rotateTabRuns
(int tabPlacement, int selectedRun)
-
Constructor Details
-
TabbedPaneLayout
public TabbedPaneLayout()
-
-
Method Details
-
addLayoutComponent
- Specified by:
addLayoutComponent
in interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponent
in interfaceLayoutManager
-
preferredLayoutSize
- Specified by:
preferredLayoutSize
in interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSize
in interfaceLayoutManager
-
calculateSize
-
preferredTabAreaHeight
protected int preferredTabAreaHeight(int tabPlacement, int width) -
preferredTabAreaWidth
protected int preferredTabAreaWidth(int tabPlacement, int height) -
layoutContainer
- Specified by:
layoutContainer
in interfaceLayoutManager
-
calculateLayoutInfo
public void calculateLayoutInfo() -
calculateTabRects
protected void calculateTabRects(int tabPlacement, int tabCount) -
rotateTabRuns
protected void rotateTabRuns(int tabPlacement, int selectedRun) -
normalizeTabRuns
protected void normalizeTabRuns(int tabPlacement, int tabCount, int start, int max) -
padTabRun
protected void padTabRun(int tabPlacement, int start, int end, int max) -
padSelectedTab
protected void padSelectedTab(int tabPlacement, int selectedIndex)
-