All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.BulletinLayout

java.lang.Object
   |
   +----gjt.BulletinLayout

public class BulletinLayout
extends Object
implements LayoutManager
Lays out components as though they were pinned to a bulletin board, meaning:

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.

See Also:
Also

Constructor Index

 o BulletinLayout()

Method Index

 o addLayoutComponent(String, Component)
 o layoutContainer(Container)
 o minimumLayoutSize(Container)
 o preferredLayoutSize(Container)
 o removeLayoutComponent(Component)

Constructors

 o BulletinLayout
 public BulletinLayout()

Methods

 o addLayoutComponent
 public void addLayoutComponent(String s,
                                Component comp)
 o removeLayoutComponent
 public void removeLayoutComponent(Component comp)
 o preferredLayoutSize
 public Dimension preferredLayoutSize(Container target)
 o minimumLayoutSize
 public Dimension minimumLayoutSize(Container target)
 o layoutContainer
 public void layoutContainer(Container target)

All Packages  Class Hierarchy  This Package  Previous  Next  Index