public class ListLayout extends Object implements LayoutManager, Serializable
| Constructor and Description |
|---|
ListLayout() |
ListLayout(int gap) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLayoutComponent(String s,
Component component) |
void |
layoutContainer(Container container) |
Dimension |
minimumLayoutSize(Container container) |
Dimension |
preferredLayoutSize(Container container) |
void |
removeLayoutComponent(Component component) |
public void addLayoutComponent(String s, Component component)
addLayoutComponent in interface LayoutManagerpublic void removeLayoutComponent(Component component)
removeLayoutComponent in interface LayoutManagerpublic Dimension preferredLayoutSize(Container container)
preferredLayoutSize in interface LayoutManagerpublic Dimension minimumLayoutSize(Container container)
minimumLayoutSize in interface LayoutManagerpublic void layoutContainer(Container container)
layoutContainer in interface LayoutManagerCopyright © 2017. All rights reserved.