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 TypeMethodDescriptionvoidaddLayoutComponent(String name, Component comp) voidprotected DimensioncalculateSize(boolean minimum) protected voidcalculateTabRects(int tabPlacement, int tabCount) voidlayoutContainer(Container parent) minimumLayoutSize(Container parent) protected voidnormalizeTabRuns(int tabPlacement, int tabCount, int start, int max) protected voidpadSelectedTab(int tabPlacement, int selectedIndex) protected voidpadTabRun(int tabPlacement, int start, int end, int max) preferredLayoutSize(Container parent) protected intpreferredTabAreaHeight(int tabPlacement, int width) protected intpreferredTabAreaWidth(int tabPlacement, int height) voidprotected voidrotateTabRuns(int tabPlacement, int selectedRun)
-
Constructor Details
-
TabbedPaneLayout
public TabbedPaneLayout()
-
-
Method Details
-
addLayoutComponent
- Specified by:
addLayoutComponentin interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponentin interfaceLayoutManager
-
preferredLayoutSize
- Specified by:
preferredLayoutSizein interfaceLayoutManager
-
minimumLayoutSize
- Specified by:
minimumLayoutSizein interfaceLayoutManager
-
calculateSize
-
preferredTabAreaHeight
protected int preferredTabAreaHeight(int tabPlacement, int width) -
preferredTabAreaWidth
protected int preferredTabAreaWidth(int tabPlacement, int height) -
layoutContainer
- Specified by:
layoutContainerin 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)
-