Cancels the dialog, invoking the OnCancelListener.
Dismisses the dialog, invoking the OnDismissListener.
Gets one interface of the buttons used in the dialog. Returns null if the specified button does not exist or the dialog has not yet been fully created.
Which button to get a ButtonInterface.
Return a ButtonInterface about the {@link which}, otherwise null.
Gets an interface to handle close button. Returns null if the button does not set or the dialog has not yet been fully created.
Return a CloseButtonInterface about the {@link which}, otherwise null.
Get dialog id.
Return the dialog id.
Whether the dialog is currently showing.
Return true if the dialog is showing, otherwise false.
Set a background dim on the dialog. You cannot change a title view after call IDialog.show.
Set whether the background dim is enabled or not.
Set a button.
Which button to set.
A text to display in the button.
Whether the button is enabled or not.
A OnClickListener to be invoked when this button is pressed.
Set a button.
Which button to set.
A OnClickListener to be invoked when this button is pressed.
Sets whether this dialog is canceled when touched outside the dialog's bounds. If user close a dialog via touched outside the dialog's bounds, then OnCancelListener will be called.
Whether the dialog should be canceled when touched outside the dialog's bounds.
Set a close button in the dialog. The button is shown at top right corner in the dialog. If user close a dialog via this button, then OnCancelListener will be called.
Set whether the close button is enabled or not.
Set the content view for this dialog. You cannot change a content view after call IDialog.show.
A view to display in the custom content view area.
Set an custom icon.
icon.
Set the detail message for this dialog.
A text to display in the detail content.
Set as collapsible a detail message view.
Set as expand a detail message view. It works when you set {@link collapsible} as true.
Set the emphasis message for this dialog.
A text to display in the content.
Set an icon type. Available icon types are:
Type of an icon.
Set the message for this dialog.
A text to display in the content.
Sets a listener to be invoked when the dialog is canceled.
The OnCancelListener to use.
Sets a listener to be invoked when the dialog is dismissed.
The OnDismissListener to use.
Sets a listener to be invoked when the dialog is shown.
The OnShowListener to use.
Set the secondary message for this dialog.
A text to display in the content.
Set the title text for this dialog.
A text to display in the title.
Set the title view for this dialog. You cannot change a title view after call IDialog.show.
A view to display in the custom title view area.
Show a dialog. If module want to show a dialog on the system layer than it should be set the Manifest.PERMISSION_SYSTEM_DIALOG. But a module which has a user permission can only show a dialog on the {@link Panel.TYPE.SYSTEM_DIALOG} even if it has the Manifest.PERMISSION_SYSTEM_DIALOG. Available panel types are:
A Panel type (ex. {@link Panel.TYPE.SYSTEM_DIALOG}) to show the dialog. If the context is an instance of System context, than the default is {@link Panel.TYPE.SYSTEM_DIALOG}, otherwise {@link Panel.TYPE.MODULE_TAB}.
Generated using TypeDoc
A class to handle a dialog.
1