Package org.compiere.plaf
Class CompiereTabbedPaneUI.TabbedPaneLayout
- java.lang.Object
-
- javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout
-
- javax.swing.plaf.metal.MetalTabbedPaneUI.TabbedPaneLayout
-
- org.compiere.plaf.CompiereTabbedPaneUI.TabbedPaneLayout
-
- All Implemented Interfaces:
LayoutManager
- Enclosing class:
- CompiereTabbedPaneUI
public class CompiereTabbedPaneUI.TabbedPaneLayout extends MetalTabbedPaneUI.TabbedPaneLayout
Layout Manager to overwrite TabRect size
-
-
Constructor Summary
Constructors Constructor Description TabbedPaneLayout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
calculateTabRects(int tabPlacement, int tabCount)
Calculate Tab Rectangle Size-
Methods inherited from class javax.swing.plaf.metal.MetalTabbedPaneUI.TabbedPaneLayout
normalizeTabRuns, padSelectedTab, rotateTabRuns
-
Methods inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout
addLayoutComponent, calculateLayoutInfo, calculateSize, layoutContainer, minimumLayoutSize, padTabRun, preferredLayoutSize, preferredTabAreaHeight, preferredTabAreaWidth, removeLayoutComponent
-
-
-
-
Method Detail
-
calculateTabRects
protected void calculateTabRects(int tabPlacement, int tabCount)
Calculate Tab Rectangle Size- Overrides:
calculateTabRects
in classBasicTabbedPaneUI.TabbedPaneLayout
- Parameters:
tabPlacement
- tab placementtabCount
- no of tabs
-
-