|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object util.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(java.lang.String name,
java.awt.Component comp)
|
(package private) int[] |
getBreiten(int gesBreite,
java.awt.Component[][] comp)
|
(package private) java.awt.Component[][] |
getComponentFeld(java.awt.Container c)
|
(package private) int[] |
getHoehen(int gesHoehe,
java.awt.Component[][] comp)
|
void |
layoutContainer(java.awt.Container target)
|
java.awt.Dimension |
minimumLayoutSize(java.awt.Container target)
|
java.awt.Dimension |
preferredLayoutSize(java.awt.Container c)
|
void |
removeLayoutComponent(java.awt.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 componentspublic 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 |
---|
java.awt.Component[][] getComponentFeld(java.awt.Container c)
int[] getBreiten(int gesBreite, java.awt.Component[][] comp)
int[] getHoehen(int gesHoehe, java.awt.Component[][] comp)
public void addLayoutComponent(java.lang.String name, java.awt.Component comp)
addLayoutComponent
in interface java.awt.LayoutManager
public void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent
in interface java.awt.LayoutManager
public java.awt.Dimension preferredLayoutSize(java.awt.Container c)
preferredLayoutSize
in interface java.awt.LayoutManager
public java.awt.Dimension minimumLayoutSize(java.awt.Container target)
minimumLayoutSize
in interface java.awt.LayoutManager
public void layoutContainer(java.awt.Container target)
layoutContainer
in interface java.awt.LayoutManager
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |