javawrapper::OKCancelButtonPanel Class Reference

A panel containing OK, Cancel, and Help buttons. More...

List of all members.

Public Member Functions

 OKCancelButtonPanel (ActionListener oListener, HelpBroker oHelpBroker, String sHelpID)
 Constructor.
 OKCancelButtonPanel (ActionListener oListener, HelpBroker oHelpBroker, String sHelpID, boolean bUseCancel)
 Constructor.


Detailed Description

A panel containing OK, Cancel, and Help buttons.

This allows a reusable panel across our dialogs. The buttons are placed at the right of the panel. The panel is bordered along the top by a black line. The buttons are set to have the action commands "OK" and "Cancel" and are registered with the ActionListener passed in the constructor. The help button gets an ID passed to it and is then registered with the help system.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
July 21, 2004: Added option to not put in a Cancel button.


Constructor & Destructor Documentation

javawrapper::OKCancelButtonPanel::OKCancelButtonPanel ( ActionListener  oListener,
HelpBroker  oHelpBroker,
String  sHelpID 
) [inline]

Constructor.

Creates the panel and registers the action listener with the buttons.

Parameters:
oListener ActionListener to register.
sHelpID Help topic ID for the help button.
oHelpBroker The help broker to register the help button with.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

javawrapper::OKCancelButtonPanel::OKCancelButtonPanel ( ActionListener  oListener,
HelpBroker  oHelpBroker,
String  sHelpID,
boolean  bUseCancel 
) [inline]

Constructor.

Creates the panel and registers the action listener with the buttons.

Parameters:
oListener ActionListener to register.
sHelpID Help topic ID for the help button.
oHelpBroker The help broker to register the help button with.
bUseCancel Whether or not to include a Cancel button.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


The documentation for this class was generated from the following file:
Generated on Wed Nov 29 08:45:05 2006 for SORTIE Java Interface by  doxygen 1.4.7