public interface IDialogAPI
| Modifier and Type | Method and Description |
|---|---|
int |
displayMessageBox(java.lang.String astrTitle,
java.lang.String astrMessage,
int aiStyleBits)
Display a message box to the user bearing the title, message and style characteristics
specified.
|
IExceptionDialogDelegate |
getIExceptionDialogDelegate()
get the exception dialog delegate api.
|
java.util.Locale |
getLocale()
Get API Locale.
|
java.lang.String |
getMessage(java.lang.String astrBundleKey)
Return the localized message corresponding to the specified bundle key.
|
java.lang.String |
getMessage(java.lang.String astrBundleKey,
java.util.Locale aLocale)
Return the localized message corresponding to the specified bundle key and locale.
|
java.lang.String |
getMessageBase(java.lang.String astrKeyPrefix,
java.lang.String astrLocalizedString)
Return the base message corresponding to the specified bundle key.
|
IMessageBoxDelegate |
getMessageBoxDelegate()
Get the message box delegate for this API.
|
IPreferences |
getPreferences()
Return the preferences service for this API.
|
IScrollableMessageDelegate |
getScrollableMessageDelegate()
Get the scrollable message delegate for this API.
|
IUserInterfaceInfoDelegate |
getUserInterfaceInfoDelegate()
Get the user interface info delegate for this API.
|
void |
setIExceptionDialogDelegate(IExceptionDialogDelegate aIExceptionDialogDelegate)
Set the exception dialog delegate api.
|
void |
setLocale(java.util.Locale aLocale)
Set API Locale.
|
void |
setMessageBoxDelegate(IMessageBoxDelegate aIMessageBoxDelegate)
Set the optional message box delegate for the API.
|
void |
setPreferencesDelegate(IPreferencesDelegate aIPreferencesDelegate)
Set the optional preferences delegate for the API.
|
void |
setScrollableMessageDelegate(IScrollableMessageDelegate aIScrollableMessageDelegate)
Set the optional scrollable messages delegate for the API.
|
void |
setUserInterfaceInfoDelegate(IUserInterfaceInfoDelegate aIUserInterfaceInfoDelegate)
Set the optional user interface info delegate for the API.
|
int displayMessageBox(java.lang.String astrTitle,
java.lang.String astrMessage,
int aiStyleBits)
astrTitle - Title (typically appears at the top of the dialog window).astrMessage - Message to display in the body of the message box.aiStyleBits - Style specification.java.util.Locale getLocale()
java.lang.String getMessage(java.lang.String astrBundleKey)
astrBundleKey - Bundle key.java.lang.String getMessage(java.lang.String astrBundleKey,
java.util.Locale aLocale)
astrBundleKey - Bundle key.aLocale - Locale to retrieve.java.lang.String getMessageBase(java.lang.String astrKeyPrefix,
java.lang.String astrLocalizedString)
astrKeyPrefix - Bundle key prefix.astrLocalizedString - Localized String.IMessageBoxDelegate getMessageBoxDelegate()
null if none has been specified.IPreferences getPreferences()
IScrollableMessageDelegate getScrollableMessageDelegate()
IUserInterfaceInfoDelegate getUserInterfaceInfoDelegate()
null if none has been specified.void setLocale(java.util.Locale aLocale)
Locale - for this API.void setMessageBoxDelegate(IMessageBoxDelegate aIMessageBoxDelegate)
aIMessageBoxDelegate - Message box delegate instance.void setPreferencesDelegate(IPreferencesDelegate aIPreferencesDelegate)
aIPreferencesDelegate - Preferences delegate instance.void setScrollableMessageDelegate(IScrollableMessageDelegate aIScrollableMessageDelegate)
aIScrollableMessageDelegate - Message box delegate instance.void setIExceptionDialogDelegate(IExceptionDialogDelegate aIExceptionDialogDelegate)
aIExceptionDialogDelegate - instance of ExceptionDialogDelegateApiIExceptionDialogDelegate getIExceptionDialogDelegate()
void setUserInterfaceInfoDelegate(IUserInterfaceInfoDelegate aIUserInterfaceInfoDelegate)
aIUserInterfaceInfoDelegate - User interface info delegate instance.Copyright © 2005-2016 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.