public class ColumnLayout extends Object implements LayoutManager
Constructor and Description |
---|
ColumnLayout() |
Modifier and Type | Method and Description |
---|---|
void |
addLayoutComponent(String s,
Component c) |
void |
layoutContainer(Container c) |
Dimension |
minimumLayoutSize(Container c) |
Dimension |
preferredLayoutSize(Container c) |
void |
removeLayoutComponent(Component c) |
public void addLayoutComponent(String s, Component c)
addLayoutComponent
in interface LayoutManager
public void layoutContainer(Container c)
layoutContainer
in interface LayoutManager
public Dimension minimumLayoutSize(Container c)
minimumLayoutSize
in interface LayoutManager
public Dimension preferredLayoutSize(Container c)
preferredLayoutSize
in interface LayoutManager
public void removeLayoutComponent(Component c)
removeLayoutComponent
in interface LayoutManager
Copyright © 2014. All Rights Reserved.