|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutil.ui.TabLayout
public class TabLayout
A layout similar to the GridLayout, whose column widths and
row heights can variate. so a column with only narrow components is narrower
than one with large components.
| Field Summary | |
|---|---|
protected int |
anzahlSpalten
|
protected boolean |
dontMaximizeComponents
|
protected int |
xAbs
|
protected int |
yAbs
|
| Constructor Summary | |
|---|---|
TabLayout(int columns)
Constructs a TabLayout. |
|
TabLayout(int columns,
boolean dontMaximizeComponents)
Constructs a TabLayout. |
|
TabLayout(int columns,
int xAbs,
int yAbs)
Constructs a TabLayout. |
|
TabLayout(int columns,
int xAbs,
int yAbs,
boolean dontMaximizeComponents)
Constructs a TabLayout. |
|
| Method Summary | |
|---|---|
void |
addLayoutComponent(String name,
Component comp)
|
(package private) int[] |
getBreiten(int gesBreite,
Component[][] comp)
|
(package private) Component[][] |
getComponentFeld(Container c)
|
(package private) int[] |
getHoehen(int gesHoehe,
Component[][] comp)
|
void |
layoutContainer(Container target)
|
Dimension |
minimumLayoutSize(Container target)
|
Dimension |
preferredLayoutSize(Container c)
|
void |
removeLayoutComponent(Component comp)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int anzahlSpalten
protected int xAbs
protected int yAbs
protected boolean dontMaximizeComponents
| Constructor Detail |
|---|
public TabLayout(int columns)
columns - The number of columns.
public TabLayout(int columns,
int xAbs,
int yAbs)
columns - The number of columns.xAbs - horizontal gap between the componentsyAbs - vertical gap between the components
public TabLayout(int columns,
boolean dontMaximizeComponents)
columns - The number of columns.dontMaximizeComponents - If true the Components of a Container using this
TabLayout are not maximized to fit in their cell but have a maximum
size equal to their preferred size.
public TabLayout(int columns,
int xAbs,
int yAbs,
boolean dontMaximizeComponents)
columns - The number of columns.xAbs - horizontal gap between the componentsyAbs - vertical gap between the componentsdontMaximizeComponents - If true the Components of a Container using this
TabLayout are not maximized to fit in their cell but have a maximum
size equal to their preferred size.| Method Detail |
|---|
Component[][] getComponentFeld(Container c)
int[] getBreiten(int gesBreite,
Component[][] comp)
int[] getHoehen(int gesHoehe,
Component[][] comp)
public void addLayoutComponent(String name,
Component comp)
addLayoutComponent in interface LayoutManagerpublic void removeLayoutComponent(Component comp)
removeLayoutComponent in interface LayoutManagerpublic Dimension preferredLayoutSize(Container c)
preferredLayoutSize in interface LayoutManagerpublic Dimension minimumLayoutSize(Container target)
minimumLayoutSize in interface LayoutManagerpublic void layoutContainer(Container target)
layoutContainer in interface LayoutManager
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||