Class Screen

Class Hierarchy

The Screen represents the metrics of the target device and acts as the root node for the whole node tree.

Although the Screen is a 2D node, it is a special node in the sense that normally there is only one screen that is the root node of the whole node tree. Use the Screen node to attach and detach the node tree.

The Screen node can have only one child node that must be a 2D node.

You can change the locale of the UI in the screen node. You can use Kanzi Studio to localize resources. The Screen tries to load the locale dictionary and updates the dynamic resource references with localized values. The Screen applies the neutral locale, if it cannot load the locale dictionary.

Example
screenNode:setProperty(Screen.LocaleProperty, "en-US")

Inherits properties and message types from ScreenMetadata.