|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsound.chat.StripeLayout
public class StripeLayout
A Layout-manager that displays the added components
in lines. The width of this layout is determined by
the widest component that was added. The height of
each stripe is the preferred height of the
respective component.
Constructor Summary | |
---|---|
StripeLayout()
|
|
StripeLayout(int edge)
Constructs a StripeLayout with left, right, top, and bottom edge of edge |
|
StripeLayout(int leftEdge,
int topEdge,
int rightEdge,
int bottomEdge)
Constructs a StripeLayout with the given edges. |
|
StripeLayout(int leftEdge,
int topEdge,
int rightEdge,
int bottomEdge,
int spacer)
Constructs a StripeLayout with the given edges and spacer |
Method Summary | |
---|---|
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp)
|
void |
layoutContainer(java.awt.Container target)
application du layout sur le container. |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container target)
retourne les dimensions minimales pour le layout. |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container target)
retourne les dimensions preferees pour le layout. |
void |
removeLayoutComponent(java.awt.Component comp)
enleve le layout. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StripeLayout()
public StripeLayout(int edge)
public StripeLayout(int leftEdge, int topEdge, int rightEdge, int bottomEdge)
public StripeLayout(int leftEdge, int topEdge, int rightEdge, int bottomEdge, int spacer)
Method Detail |
---|
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
Component
- comp) {
public java.awt.Dimension preferredLayoutSize(java.awt.Container target)
preferredLayoutSize
in interface java.awt.LayoutManager
target
- le composant a appliquer sur le layoutpublic java.awt.Dimension minimumLayoutSize(java.awt.Container target)
minimumLayoutSize
in interface java.awt.LayoutManager
target
- le composant a appliquer sur le layout
* @see #preferredLayoutSizepublic void layoutContainer(java.awt.Container target)
layoutContainer
in interface java.awt.LayoutManager
target
- le composant a appliquer sur le layout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |