|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.swingx.VerticalLayout
@JavaBean public class VerticalLayout
Organizes components in a vertical layout.
| Constructor Summary | |
|---|---|
VerticalLayout()
Creates a layout without a gap between components. |
|
VerticalLayout(int gap)
Creates a layout with the specified gap between components. |
|
| Method Summary | |
|---|---|
void |
addLayoutComponent(String name,
Component comp)
|
int |
getGap()
The current gap to place between components. |
void |
layoutContainer(Container parent)
|
Dimension |
minimumLayoutSize(Container parent)
|
Dimension |
preferredLayoutSize(Container parent)
|
void |
removeLayoutComponent(Component comp)
|
void |
setGap(int gap)
The new gap to place between components. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VerticalLayout()
public VerticalLayout(int gap)
gap - the gap between components| Method Detail |
|---|
public int getGap()
public void setGap(int gap)
gap - the new gappublic Dimension preferredLayoutSize(Container parent)
public void layoutContainer(Container parent)
public void addLayoutComponent(String name,
Component comp)
This implementation does nothing.
addLayoutComponent in interface LayoutManagerpublic void removeLayoutComponent(Component comp)
This implementation does nothing.
removeLayoutComponent in interface LayoutManagerpublic Dimension minimumLayoutSize(Container parent)
This implementation defers to LayoutManager.preferredLayoutSize(Container).
minimumLayoutSize in interface LayoutManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||