ConfirmDialog class

A modal dialog to confirm a decision. This is just an InputDialog without text input fields, but one or more action buttons.

Inheritance

Constructors

ConfirmDialog(String htmlTitleText, List<String> buttonLabels, BaseDialogCloseCallback closeCallback)
Creates and shows a modal dialog with: htmlTitleText = the dialog header buttonLabels = the labels of the action buttons at the bottom of the closeCallback = called when an action button is pressed (may be null)
ConfirmDialog.noModal(String htmlTitleText, List<String> buttonLabels, BaseDialogCloseCallback closeCallback)
Creates and shows a non-modal (non-blocking) dialog. See ConfirmDialog for the arguments.

Properties

actButs ↔ List<ActButton>
read / write, inherited
closeCallback BaseDialogCloseCallback
read / write, inherited
dia ↔ DivElement
read / write, inherited
diaContainer ↔ DivElement
read / write, inherited
diaTable ↔ TableElement
read / write, inherited
hashCode → int
The hash code for this object. [...]
read-only, inherited
isModal ↔ bool
read / write, inherited
isopen ↔ bool
read / write, inherited
read / write, inherited
RADIOGROUP1 → String
final, inherited
redcross_left ↔ bool
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

close(UserInput userInput) → void
Closes the dialog. userInput is passed on to closeCallback if a non-null callback is defined.
inherited
createShowDia() → void
Performs the dialog creation and display logic.
inherited
init(String buttontype, String htmlTitleText, List<String> inputTextLabelInfo, Map<int, List<List<String>>> comboInfoND, Map<int, List<String>> defaultInputTextsND, List<int> sizes, List<String> isChecked, bool alternateRowColor, List<String> buttonLabels) → dynamic
Creates and displays a dialog. See InputDialog and InputDialog.twoD for the arguments.
inherited
isOpen() → bool
Returns true if the dialog is open.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited

Static Methods

show(String htmlTitleText, List<String> buttonLabels) → Future<UserInput>
Shows a modal ConfirmDialog. See ConfirmDialog for a description of the arguments. While ConfirmDialog needs a close callback, this async method returns the user input (which consists of the pressed button since other user input can't be entered in a ConfirmDialog.
override