AbstractTheme
On this page
AbstractTheme ⇐ Abstract
Kind: global abstract class
Extends: Abstract
Singleton:
Properties
| Name | Type | Description |
|---|---|---|
| profile | Object | Current associated profile for this theme |
| rendererBackgroundColor | String | Background color for the application (default value is transparent) |
| width | number | The width of the designed UI screen (in pixels) |
| height | number | The height of the designed UI screen (in pixels) |
| $height | number | READONLY ! The computed value of the height which is the design-width multiplied by the ratio (in pixels) |
| $width | number | READONLY ! The computed value of the width which is the design-height multiplied by the ratio (in pixels) |
| ratio | number | The ratio is the resulting value of the current resolution divided by the one the UI was designed for |
| fonts | Object | The font mapping (id, path) declared and used in the application |
| defaultFont | String | null | The font identifier to be used by default in the application |
| excludedPropertiesForResolutionAdaptation | Object | |
| excludedPropertiesForResolutionAdaptation.ratio | boolean | Flag to force properties not being processed by the resolution adaptation task (i.e. multiplied by current ratio) |
| isObservable | boolean | Internal flag always set to true |
AbstractTheme()
The Theme groups all the common properties for the UI style. (It is a singleton that is accessible from all the UI components)