WebObjects 5.2

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.


Fields inherited from class com.webobjects.eointerface.EOWidgetPluginRegistry.WidgetSetPlugin
AlertPanelAlternateAction, AlertPanelDefaultAction, AlertPanelOtherAction
 
Constructor Summary
EOSwingSetPlugin()
          Creates a new EOSwingSetPlugin.
 
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 com.webobjects.eointerface.EOWidgetPluginRegistry.WidgetSetPlugin
defaultStringLocalizationResourceBundle, localizedString, runErrorPanel, setDefaultStringLocalizationResourceBundle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EOSwingSetPlugin

public EOSwingSetPlugin()
Creates a new EOSwingSetPlugin.
Method Detail

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.
Overrides:
runAlertPanel in class EOWidgetPluginRegistry.WidgetSetPlugin
Parameters:
title - a String for the window title of the alert
message - a String for the message text of the alert
defaultButton - a String for title of the default button
alternateButton - 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

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.