com.webobjects.eointerface.swing
Class EOSwingSetPlugin
java.lang.Object
com.webobjects.eointerface.EOWidgetPluginRegistry.WidgetSetPlugin
com.webobjects.eointerface.swing.EOSwingSetPlugin
- public class EOSwingSetPlugin
- extends EOWidgetPluginRegistry.WidgetSetPlugin
EOSwingSetPlugin is a concrete subclass of EOWidgetPluginRegistry.WidgetSetPlugin which
is used to diplay alerts using JFC.
Method Summary |
int |
runAlertPanel(String title,
String message,
String defaultButton,
String alternateButton,
String otherButton)
Displays an alert with up to three buttons, with all the configurations given in the parameters. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EOSwingSetPlugin
public EOSwingSetPlugin()
- Creates a new EOSwingSetPlugin.
runAlertPanel
public int runAlertPanel(String title,
String message,
String defaultButton,
String alternateButton,
String otherButton)
- Displays an alert with up to three buttons, with all the configurations given in the parameters.
- Specified by:
runAlertPanel
in class EOWidgetPluginRegistry.WidgetSetPlugin
- Parameters:
title
- a String for the window title of the alertmessage
- a String for the message text of the alertdefaultButton
- a String for title of the default buttonalternateButton
- a String for title of an optional alternate button (or null
if only one button wanted)otherButton
- a String for title of an optional third (other) button (or null
if only two buttons wanted)
- Returns:
- an int indicating which button was pressed to close (answer) the alert
Copyright © 2004 Apple Computer, Inc.