public class LCBLayout extends Object implements LayoutManager, Serializable
| Constructor and Description |
|---|
LCBLayout(int maxrows)
Creates a new LCBLayout with the specified maximum number of rows.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLayoutComponent(Component comp)
Not used.
|
void |
addLayoutComponent(String name,
Component comp)
Not used.
|
void |
layoutContainer(Container parent)
Lays out the components.
|
Dimension |
minimumLayoutSize(Container parent)
Returns the minimum size using this layout manager.
|
Dimension |
preferredLayoutSize(Container parent)
Returns the preferred size using this layout manager.
|
void |
removeLayoutComponent(Component comp)
Not used.
|
void |
removeLayoutComponent(String name,
Component comp)
Not used.
|
public LCBLayout(int maxrows)
maxrows - the maximum number of rows.public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize in interface LayoutManagerparent - the parent.public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize in interface LayoutManagerparent - the parent.public void layoutContainer(Container parent)
layoutContainer in interface LayoutManagerparent - the parent.public void addLayoutComponent(Component comp)
comp - the component.public void removeLayoutComponent(Component comp)
removeLayoutComponent in interface LayoutManagercomp - the component.public void addLayoutComponent(String name, Component comp)
addLayoutComponent in interface LayoutManagername - the component name.comp - the component.Copyright © 2009-2012 jtstand.com. All Rights Reserved.