Skip to main content

PopupDialog

Complete API reference for PopupDialog, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Input

Component: no


public class PopupDialog

Constructors

SignatureDescription
PopupDialog(SweetAlertDialog)Executes PopupDialog and returns after the underlying engine call finishes.
PopupDialog(int)Executes PopupDialog and returns after the underlying engine call finishes.
PopupDialog(String, String)Creates a new instance of PopupDialog.
PopupDialog(int, String, String)Creates a new instance of PopupDialog.

Attributes

NameTypeDescription
SUCCESSintRepresents the SUCCESS value stored on this instance. Read or assign to update the property.
ERRORintRepresents the ERROR value stored on this instance. Read or assign to update the property.
ALERTintRepresents the ALERT value stored on this instance. Read or assign to update the property.
PROGRESSintRepresents the PROGRESS value stored on this instance. Read or assign to update the property.
dialogSweetAlertDialogRepresents the dialog value stored on this instance. Read or assign to update the property.

Methods

SignatureReturnsDescription
setConfirmButton(String, PopupDialogListener)voidSets or updates the confirm button.
setCancelButton(String, PopupDialogListener)voidSets or updates the cancel button.
setMidButton(String, PopupDialogListener)voidSets or updates the mid button.
setConfirmButton(String, Listener)voidSets or updates the confirm button.
setCancelButton(String, Listener)voidSets or updates the cancel button.
setMidButton(String, Listener)voidSets or updates the mid button.
getTittle()StringReturns the current tittle.
setName(String)voidSets or updates the name.
getMessage()StringReturns the current message.
setMessage(String)voidSets or updates the message.
changeType(int)voidPerforms the changeType operation using the provided parameters (type).
show()voidExecutes show and returns after the underlying engine call finishes.
dismiss()voidExecutes dismiss and returns after the underlying engine call finishes.