Kanzi 4.1.1
ScreenMetadata Interface Reference

Metadata definitions for Screen. More...

Inheritance diagram for ScreenMetadata:
[legend]

Classes

class  ActivateThemeMessageArguments
 Metadata definitions for ActivateThemeMessageArguments. More...
 

Public Attributes

DynamicMessageType< ScreenMetadata.ActivateThemeMessageArguments > ActivateThemeMessage
 Activates a specified theme from a theme group.
 
DynamicPropertyType< ColorRGBAClearColorProperty
 If screen has a clear color, screen will be cleared with the specified color before all other rendering.
 
DynamicPropertyType< FloatHeightProperty
 When Metrics Type is set to:
 
DynamicPropertyType< String > HostNameProperty
 Contains the name of the host the node originates from.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.Screen")
 Metaclass for Screen.
 
DynamicPropertyType< ScreenEnums.WindowMetricsTypeMetricsTypeProperty
 Defines the type of the coordinate system for the window metrics.
 
DynamicPropertyType< WindowOrientationOrientationProperty
 Sets the orientation of the application window.
 
DynamicPropertyType< FloatWidthProperty
 When Metrics Type is set to:
 

Detailed Description

Metadata definitions for Screen.

Member Data Documentation

◆ ActivateThemeMessage

DynamicMessageType<ScreenMetadata.ActivateThemeMessageArguments> ActivateThemeMessage
Initial value:
=
new DynamicMessageType<>(
"Message.Screen.ActivateTheme", ScreenMetadata.ActivateThemeMessageArguments.class)

Activates a specified theme from a theme group.

◆ ClearColorProperty

DynamicPropertyType<ColorRGBA> ClearColorProperty
Initial value:
=
new DynamicPropertyType<>("Screen.ClearColor", ColorRGBA.class)

If screen has a clear color, screen will be cleared with the specified color before all other rendering.

Depth will be cleared to 1.0f and stencil will be cleared to 0.

◆ HeightProperty

DynamicPropertyType<Float> HeightProperty
Initial value:
=
new DynamicPropertyType<>("Window.Height", Float.class)

When Metrics Type is set to:

  • Relative, a relative height of the window in the range [0,1]
  • Absolute, the height of the window in pixels.

◆ HostNameProperty

DynamicPropertyType<String> HostNameProperty
Initial value:
=
new DynamicPropertyType<>("Screen.HostName", String.class)

Contains the name of the host the node originates from.

◆ MetricsTypeProperty

Initial value:
=
new DynamicPropertyType<>("Window.MetricsType", ScreenEnums.WindowMetricsType.class)

Defines the type of the coordinate system for the window metrics.

Defined in core.ui/node/screen.cpp as WindowMetricsTypeProperty.

◆ OrientationProperty

DynamicPropertyType<WindowOrientation> OrientationProperty
Initial value:
=
new DynamicPropertyType<>("Window.Orientation", WindowOrientation.class)

Sets the orientation of the application window.

Defined in core.ui/node/screen.cpp as WindowOrientationProperty.

◆ WidthProperty

DynamicPropertyType<Float> WidthProperty
Initial value:
=
new DynamicPropertyType<>("Window.Width", Float.class)

When Metrics Type is set to:

  • Relative, a relative width of the window in the range [0,1]
  • Absolute, the width of the window in pixels.