TableAttr class
This class defines of attributes which are used as defaults for the appearance or style of a BasicTable. Use setAttr to modify attributes.
Constructors
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 table attributes defining the dialog style
read / write
-
ATTR_DEFAULTS
→ Map<
String, String> -
Default attributes for desktop screen
final
- TABLE_BACKGROUND_COLOR → String
-
The attribute names
final
- TABLE_BORDER_RADIUS → String
-
The attribute names
final
- TABLE_BSPAN_COLOR → String
-
The attribute names
final
- TABLE_BSPAN_UNDERSCORE → String
-
The attribute names
final
- TABLE_BUTTON_FONTSIZE → String
-
The attribute names
final
- TABLE_HEADER_BACKGROUND_COLOR → String
-
The attribute names
final
- TABLE_HEADER_FONTSIZE → String
-
The attribute names
final
- TABLE_HEADER_TEXT_ALIGN → String
-
The attribute names
final
- TABLE_HEADER_TEXT_COLOR → String
-
The attribute names
final
- TABLE_HIGHLIGHT_COLOR → String
-
The attribute names
final
- TABLE_INNER_CELL_LEFT_BORDER_COLOR → String
-
The attribute names
final
- TABLE_OUTER_BORDER → String
-
The attribute names
final
- TABLE_TEXT_COLOR → String
-
The attribute names
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 table attributes specified in
myAttr
. Overrides the respective current values (e.g. the defaults). Example: setAttr({TABLE_HIGHLIGHT_COLOR: "red",TABLE_BUTTON_FONTSIZE: "20"}); -
setCellStyle(
TableCellElement cell, String textAlign) → void - Defines the style of standard cells in a row
-
setRowStyleHeader(
TableRowElement row) → void -
Defines the style of a table
row
used as a table header -
setTableStyle(
TableElement table) → void -
Sets some table styles for
table
.