|
WebObjects 5.2.3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.eointerface.EOWidgetPluginRegistry.WidgetSetPlugin
Abstract super class for plugins that handle the widget set specific task of displaying alert panels.
Field Summary | |
static int |
AlertPanelAlternateAction
Value retruned when the user selects cancel, no, or the alternate button in an alert panel. |
static int |
AlertPanelDefaultAction
Value retruned when the user selects ok, yes, or the default button in an alert panel. |
static int |
AlertPanelOtherAction
Value retruned when the user selects the third or other button in an alert panel. |
Constructor Summary | |
EOWidgetPluginRegistry.WidgetSetPlugin()
|
Method Summary | |
ResourceBundle |
defaultStringLocalizationResourceBundle()
Returns the ResourceBundle used to locate localized strings. |
String |
localizedString(String string)
Returns a localized string for string . |
abstract int |
runAlertPanel(String title,
String message,
String defaultButton,
String alternateButton,
String otherButton)
Displays an alert panel to the user giving the user up to three option buttons. |
void |
runErrorPanel(String title,
String message,
String okButton)
Displays an error panel to the user with one button. |
void |
setDefaultStringLocalizationResourceBundle(ResourceBundle resourceBundle)
Sets the ResourceBunde to search when looking for localized strings. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int AlertPanelAlternateAction
public static final int AlertPanelDefaultAction
public static final int AlertPanelOtherAction
Constructor Detail |
public EOWidgetPluginRegistry.WidgetSetPlugin()
Method Detail |
public ResourceBundle defaultStringLocalizationResourceBundle()
public String localizedString(String string)
string
- string value to find a localized equivalent for
public abstract int runAlertPanel(String title, String message, String defaultButton, String alternateButton, String otherButton)
title
- title of the alert windowmessage
- message contents of the alert paneldefaultButton
- display string of the panel's default buttonalternateButton
- display string of the panel's 'alternate' buttonotherButton
- display string of the panel's 'other' button
public void runErrorPanel(String title, String message, String okButton)
title
- title of the error windowmessage
- message contents of the error panelokButton
- display string of the button that the user must select
to dismiss the error panelpublic void setDefaultStringLocalizationResourceBundle(ResourceBundle resourceBundle)
resourceBundle
- the ResourceBundle to search when looking for localized strings
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |