All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.ButtonPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----gjt.ButtonPanel

public class ButtonPanel
extends Panel
Button panel employs a BorderLayout to lay out a Separator in the north, and a Panel to which Buttons are added in the center.

Buttons may be added to the panel via two methods:

void add(Button)
Button add(String)

Button add(String) creates a Button and adds it to the panel, then returns the Button created, as a convenience to clients so that they do not have to go through the pain and agony of creating an ImageButton.

See Also:
WorkDialog

Constructor Index

 o ButtonPanel()
 o ButtonPanel(Orientation)

Method Index

 o add(Button)
 o add(String)
 o paramString()

Constructors

 o ButtonPanel
 public ButtonPanel()
 o ButtonPanel
 public ButtonPanel(Orientation orientation)

Methods

 o add
 public void add(Button button)
 o add
 public Button add(String buttonLabel)
 o paramString
 protected String paramString()
Overrides:
paramString in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index