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 dialog's alignment. If setAnchor has been set, then alignment will be ignored. You cannot change a dialog alignment after call IBoardDialog.show.
Available alignment types are:
A type of horizontal alignment. Default is DialogInterface.ALIGN_CENTER.
A type of vertical alignment. Default is DialogInterface.ALIGN_CENTER.
Set a dialog anchor position. The coordinates are relative to the application's client area. If anchor has been set, then setAlignment will be ignored. You cannot change a dialog anchor after call IBoardDialog.show.
A type of anchor where is for dialog.
A two positions that may be to set the position of the dialog.
Set a background dim on the dialog. You cannot change a title view after call IBoardDialog.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. It is impossible use only close button without title. So if you want to use close button, then set title before. 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 IBoardDialog.show.
A view to display in the custom content view area.
Sets whether this dialog is draggable. It a dialog is set as draggable, then setAnchor, setAlignment and setCancelable will be ignored. You cannot change a dialog size after call IBoardDialog.show.
Whether the dialog is draggable.
The [x, y] position at which the popup screen will be displayed. If is not set, then the dialog will be positioned at center.
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 a dialog width type. You cannot change a dialog size after call IBoardDialog.show.
Type of a width size.
Set the title text for this dialog. If trimmed text's length is 0, then title area will be hidden. But, it is impossible use only close button without title. So if you want to remove title then remove close button before.
A text to display in the title.
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 board dialog.
1