All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.test.BulletinLayoutTest

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----gjt.test.UnitTest
                                           |
                                           +----gjt.test.BulletinLayoutTest

public class BulletinLayoutTest
extends UnitTest
One of each basic AWT component, plus a gjt.ImageButton are laid out by a BulletinLayout.

Note that we override addNotify() for the BulletinLayoutTestPanel because awt.Lists must have a peer created before they can be moved or resized. Also, awt.Choices must have a peer created before they can be resized.

The applet draws a blue rectangle around the preferred size for the BulletinLayoutTestPanel, and also prints the preferred and minimum sizes in the applets status area.

See Also:
UnitTest, BulletinLayout

Constructor Index

 o BulletinLayoutTest()

Method Index

 o centerPanel()
 o title()

Constructors

 o BulletinLayoutTest
 public BulletinLayoutTest()

Methods

 o title
 public String title()
Overrides:
title in class UnitTest
 o centerPanel
 public Panel centerPanel()
Overrides:
centerPanel in class UnitTest

All Packages  Class Hierarchy  This Package  Previous  Next  Index