AbstractTheme

AbstractTheme ⇐ Abstract

Kind: global abstract class
Extends: Abstract
Singleton:
Properties

NameTypeDescription
profileObject

Current associated profile for this theme

rendererBackgroundColorString

Background color for the application (default value is transparent)

widthnumber

The width of the designed UI screen (in pixels)

heightnumber

The height of the designed UI screen (in pixels)

$heightnumber

READONLY ! The computed value of the height which is the design-width multiplied by the ratio (in pixels)

$widthnumber

READONLY ! The computed value of the width which is the design-height multiplied by the ratio (in pixels)

rationumber

The ratio is the resulting value of the current resolution divided by the one the UI was designed for

fontsObject

The font mapping (id, path) declared and used in the application

defaultFontString | null

The font identifier to be used by default in the application

excludedPropertiesForResolutionAdaptationObject
excludedPropertiesForResolutionAdaptation.ratioboolean

Flag to force properties not being processed by the resolution adaptation task (i.e. multiplied by current ratio)

isObservableboolean

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)