public class SimpleContainerLayout extends Object implements LayoutManager2
Constructor and Description |
---|
SimpleContainerLayout(String name,
String columnSpecs,
String rowSpecs) |
Modifier and Type | Method and Description |
---|---|
void |
addCellConstraints(String name,
com.jgoodies.forms.layout.CellConstraints constraints) |
void |
addLayoutComponent(Component comp,
Object constraints) |
void |
addLayoutComponent(String name,
Component comp) |
float |
getLayoutAlignmentX(Container target) |
float |
getLayoutAlignmentY(Container target) |
String |
getName() |
void |
invalidateLayout(Container target) |
void |
layoutContainer(Container parent) |
Dimension |
maximumLayoutSize(Container target) |
Dimension |
minimumLayoutSize(Container parent) |
Dimension |
preferredLayoutSize(Container parent) |
void |
removeLayoutComponent(Component comp) |
public SimpleContainerLayout(String name, String columnSpecs, String rowSpecs)
public void addCellConstraints(String name, com.jgoodies.forms.layout.CellConstraints constraints)
public void addLayoutComponent(String name, Component comp)
addLayoutComponent
in interface LayoutManager
public float getLayoutAlignmentX(Container target)
getLayoutAlignmentX
in interface LayoutManager2
public float getLayoutAlignmentY(Container target)
getLayoutAlignmentY
in interface LayoutManager2
public void invalidateLayout(Container target)
invalidateLayout
in interface LayoutManager2
public void layoutContainer(Container parent)
layoutContainer
in interface LayoutManager
public Dimension maximumLayoutSize(Container target)
maximumLayoutSize
in interface LayoutManager2
public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize
in interface LayoutManager
public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize
in interface LayoutManager
public void removeLayoutComponent(Component comp)
removeLayoutComponent
in interface LayoutManager
public void addLayoutComponent(Component comp, Object constraints)
addLayoutComponent
in interface LayoutManager2
Copyright © 2004–2014. All rights reserved.