be.ugent.caagt.swirl.dialogs
Class ButtonAreaLayout
java.lang.Object
be.ugent.caagt.swirl.dialogs.ButtonAreaLayout
- LayoutManager
public class ButtonAreaLayout
extends java.lang.Object
implements LayoutManager
Layout manager for button panels. Behaves in a similar manner to
FlowLayout
. It lays out all components from left to right,
flushed right. The widths of all components will be set to the largest
preferred size width.
addLayoutComponent
public void addLayoutComponent(String string,
Component comp)
layoutContainer
public void layoutContainer(Container container)
minimumLayoutSize
public Dimension minimumLayoutSize(Container container)
preferredLayoutSize
public Dimension preferredLayoutSize(Container c)
The preferred layout size is the same as the minimum layout size.
removeLayoutComponent
public void removeLayoutComponent(Component c)