DiaAttr class

This class defines a number of attributes which are used as defaults for the appearance or style of a dialog. Use setAttr to modify attributes.

Constructors

DiaAttr()

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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 Properties

attr ↔ Map<String, String>
The currently active dialog attributes defining the dialog style
read / write
ATTR_DIALOGS_DESKTOP → Map<String, String>
Default attributes for desktop screen
final
ATTR_DIALOGS_PHONE → Map<String, String>
Default attributes for phone screen
final
ATTR_DIALOGS_TABLET → Map<String, String>
Default attributes for tablet screen
final
CHECKBOX → String
final
DEF_POPUP_SELECTION_COLOR → String
final
DIA_ACT_ABORT → String
dialog action names
final
DIA_ACT_ATOMS → String
dialog action names
final
DIA_ACT_BUT1 → String
dialog action names
final
DIA_ACT_BUT2 → String
dialog action names
final
DIA_ACT_BUT3 → String
dialog action names
final
DIA_ACT_CANCEL → String
dialog action names
final
DIA_ACT_OK → String
dialog action names
final
DIA_ACT_REGION → String
dialog action names
final
DIA_ACTIONS → List<String>
Currently up to 3 action buttons are supported for a dialog in addition to the Red Cross (=Abort). Easy to extend.
final
DIA_BUT_CANCEL → String
some useful dialog button names
final
DIA_BUT_NO → String
some useful dialog button names
final
DIA_BUT_OK → String
some useful dialog button names
final
DIA_BUT_OPT → String
some useful dialog button names
final
DIA_BUT_YES → String
some useful dialog button names
final
DIA_BUTTON_BG_COLOR → String
final
DIA_BUTTON_BG_COLOR_DEF → String
final
DIA_BUTTON_RADIUS → String
final
DIA_BUTTON_TEXT_COLOR → String
final
DIA_BUTTON_TEXT_COLOR_DEF → String
final
DIA_TEX_COL → String
final
DIALOG_BACKGROUND → String
The attribute names
final
DIALOG_BORDER_COLOR → String
The attribute names
final
DIALOG_BORDER_RADIUS → String
The attribute names
final
DIALOG_BOX_SHADOW → String
The attribute names
final
DIALOG_BUTTON_FONTSIZE → String
The attribute names
final
DIALOG_CROSS_FONTSIZE → String
The attribute names
final
DIALOG_HEADER_COLOR → String
The attribute names
final
DIALOG_HEADER_FONTSIZE → String
The attribute names
final
DIALOG_HEADER_TEXTALIGN → String
The attribute names
final
DIALOG_HELP_TEXT_FONTSIZE → String
The attribute names
final
DIALOG_INPUT_BG → String
The attribute names
final
DIALOG_POPUP_FONTSIZE1 → String
The attribute names
final
DIALOG_POPUP_FONTSIZE2 → String
The attribute names
final
DIALOG_POPUP_TEXT_CELL_PADDING → String
The attribute names
final
DIALOG_TEXT_COLOR → String
The attribute names
final
DIALOG_TEXT_COLOR2 → String
The attribute names
final
DIALOG_TEXT_FONTSIZE → String
The attribute names
final
DIALOG_TOPBAR_COLOR → String
The attribute names
final
DIALOG_WIN_OPACITY → String
The attribute names
final
ICONPANEL_BACKGROUND → String
The attribute names
final
OPTIONS_BUTTON_FONTSIZE → String
The attribute names
final
The attribute names
final
The attribute names
final
RADIO → String
final
TITLEBAR_BACKGROUND → String
final
ZINDEX_DIALOG → int
final
ZINDEX_ICONPANEL → int
final
ZINDEX_POPUP → int
final

Static Methods

initAttrFromDefaults() → void
Initializes the dialog attributes depending on the used device from the respective defaults.
setAttr(Map<String, String> myAttr) → void
Sets the dialog attributes specified in myAttr. Overrides the respective current values (e.g. the defaults). Example: setAttr({DIALOG_HEADER_TEXTALIGN: "left",DIALOG_HEADER_FONTSIZE: "20"});
setDialogStyle(Element dia) → void
Sets some dialog styles for dia.
setDialogStyle2(Element dia) → void
Sets some other dialog styles for dia