Inherits javax::swing::JPanel.
Public Member Functions | |
OKCancelButtonPanel (ActionListener oListener, HelpBroker oHelpBroker, String sHelpID) | |
Constructor. | |
OKCancelButtonPanel (ActionListener oListener, HelpBroker oHelpBroker, String sHelpID, boolean bUseCancel) | |
Constructor. | |
Static Package Attributes | |
static final long | serialVersionUID = 1 |
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
javawrapper.OKCancelButtonPanel.OKCancelButtonPanel | ( | ActionListener | oListener, | |
HelpBroker | oHelpBroker, | |||
String | sHelpID | |||
) |
Constructor.
Creates the panel and registers the action listener with the buttons.
oListener | ActionListener to register. | |
sHelpID | Help topic ID for the help button. | |
oHelpBroker | The help broker to register the help button with. |
javawrapper.OKCancelButtonPanel.OKCancelButtonPanel | ( | ActionListener | oListener, | |
HelpBroker | oHelpBroker, | |||
String | sHelpID, | |||
boolean | bUseCancel | |||
) |
Constructor.
Creates the panel and registers the action listener with the buttons.
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. |
final long javawrapper.OKCancelButtonPanel.serialVersionUID = 1 [static, package] |