InfoDialog class
A modal dialog to display information. No buttons except for a Red Cross to close the dialog are provided.
- Inheritance
- Object
- BaseDialog
- InputDialog
- InfoDialog
Constructors
- InfoDialog(String htmlInfoText, BaseDialogCloseCallback closeCallback)
-
Creates and shows a modal dialog with
htmlInfoText
. IfcloseCallback
is not null it will be called with the user input button code DiaAttr.DIA_ACT_ABORT. AlignshtmlInfoText
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
- popup ↔ PopupMenu
-
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< comboInfoND, Map<List< >String> >int, List< defaultInputTextsND, List<String> >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