All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----BrainWave.BulletinLayout
Components are moved to the location that was set by calling or setBounds(). Components are sized according to the size that was set by calls to either setSize() or setBounds(). If either the width or height of the component is 0, the component is sized to its preferred size. AWT Caveats: Buttons, Labels, Checkboxes and Choices do not take kindly to being resized - it is better to let them take on their preferred sizes instead. Lists must be moved and shaped only after their peers are created. Choices can only be moved after their peers are created.
1.1, Oct 24, 1996
Fixed bug that reported wrong preferred and minimum sizes.
layoutContainer() now reshapes components according to their actual sizes. If a component has a zero width or height, then its preferred size is used to reshape.
public BulletinLayout()
public void addLayoutComponent(String s, Component comp)
public void removeLayoutComponent(Component comp)
public Dimension preferredLayoutSize(Container target)
public Dimension minimumLayoutSize(Container target)
public void layoutContainer(Container target)
All Packages Class Hierarchy This Package Previous Next Index