InfoDialog class

A modal dialog to display information. No buttons except for a Red Cross to close the dialog are provided.

Inheritance

Constructors

InfoDialog(String htmlInfoText, BaseDialogCloseCallback closeCallback)
Creates and shows a modal dialog with htmlInfoText. If closeCallback is not null it will be called with the user input button code DiaAttr.DIA_ACT_ABORT. Aligns htmlInfoText centered in the cell.
InfoDialog.alignLeft(String htmlInfoText, BaseDialogCloseCallback closeCallback)
Like InfoDialog, but aligns text messages inside dialog left rather than centering them.
InfoDialog.noModal(String htmlInfoText, BaseDialogCloseCallback closeCallback)
Like InfoDialog, but the dialog is non-modal (non-blocking).
InfoDialog.noModalAlignLeft(String htmlInfoText, BaseDialogCloseCallback closeCallback)
Like InfoDialog.alignLeft, but the dialog is non-modal (non-blocking).

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. if userInput is null, a non-null one is generated, with an empty String a button code.
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 htmlInfoText) → Future<UserInput>
Shows a modal InfoDialog with centered htmlInfoText. While InfoDialog needs a close callback, this async method returns the user input (button code DiaAttr.DIA_ACT_ABORT when the red cross is pressed).
override