LayoutManager
BasicJideTabbedPaneUI.TabbedPaneScrollLayout
public class BasicJideTabbedPaneUI.TabbedPaneLayout extends Object implements LayoutManager
Constructor | Description |
---|---|
TabbedPaneLayout() |
Modifier and Type | Method | Description |
---|---|---|
void |
addLayoutComponent(String name,
Component comp) |
|
void |
calculateLayoutInfo() |
|
protected Dimension |
calculateSize(boolean minimum) |
|
protected void |
calculateTabRects(int tabPlacement,
int tabCount) |
|
void |
layoutContainer(Container parent) |
|
Dimension |
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) |
|
Dimension |
preferredLayoutSize(Container parent) |
|
protected int |
preferredTabAreaHeight(int tabPlacement,
int width) |
|
protected int |
preferredTabAreaWidth(int tabPlacement,
int height) |
|
void |
removeLayoutComponent(Component comp) |
|
protected void |
rotateTabRuns(int tabPlacement,
int selectedRun) |
public void addLayoutComponent(String name, Component comp)
addLayoutComponent
in interface LayoutManager
public void removeLayoutComponent(Component comp)
removeLayoutComponent
in interface LayoutManager
public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize
in interface LayoutManager
public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize
in interface LayoutManager
protected Dimension calculateSize(boolean minimum)
protected int preferredTabAreaHeight(int tabPlacement, int width)
protected int preferredTabAreaWidth(int tabPlacement, int height)
public void layoutContainer(Container parent)
layoutContainer
in interface LayoutManager
public void calculateLayoutInfo()
protected void calculateTabRects(int tabPlacement, int tabCount)
protected void rotateTabRuns(int tabPlacement, int selectedRun)
protected void normalizeTabRuns(int tabPlacement, int tabCount, int start, int max)
protected void padTabRun(int tabPlacement, int start, int end, int max)
protected void padSelectedTab(int tabPlacement, int selectedIndex)