FavoriteWatch

<< 点击显示目录 >>

主页  mappView帮助助手 > mapp View帮助信息 > Widgets  > Data  > FavoriteWatch  >

FavoriteWatch

Widget "FavoriteWatch" can display various process values. For each value that should be displayed, widget "FavoriteWatchItemOut" or "FavoriteWatchItemInOut" must be dragged into widget "FavoriteWatch".

The appearance and size of the boxes can be changed at runtime using property boxConfiguration.

logo_use_case

For this widget, there is a use case that explains how widget "FavoriteWatch" works.

The following properties cannot be used in compound widget "Mapping":

zIndex, left, top, height, width

Appearance

favoritewatch_editor

favoritewatch_runtime

Editor

Web browser

Widget "FavoriteWatch" is not visible at runtime; only the associated "FavoriteWatchItemOut" and "FavoriteWatchItemInOut" widgets are displayed.

Properties

Name

Type

Description

Bindable

Necessary

Default value

boxConfiguration

String

Configuration for the appearance and position of the child widgets.

Example:

'[{"itemId":"FavoriteWatchItemInOut1","position":[0,0],"rowSpan":4,"columnSpan":2},{"itemId":"FavoriteWatchItemOut1","position":[2,0],"rowSpan":4,"columnSpan":2}]';

This means that 2 child widgets are present.

check

 

 

columnCount

UInteger

Number of columns in the grid.

 

 

4

enable

Boolean

Defines the usability of the widget. A disabled widget (enable=false) does not react to user interaction and does not trigger events. The "enable" behavior is inherited from the container widgets to the child widgets.

check

 

true

permissionOperate

RoleCollection

Defines the roles that are permitted to use the widget. For roles without sufficient rights, the widget does not react to user interaction and does not trigger events.

 

 

 

permissionView

RoleCollection

Defines the roles that are permitted to see the widget. For roles without sufficient rights, the widget is hidden.

 

 

 

rowCount

UInteger

Number of rows in the grid.

 

 

4

style

StyleReference

Reference to a customizable widget style.

check

 

default

visible

Boolean

Defines the visibility of the widget. The widget can be hidden with visible=false. (visible = true, hidden = false). The "visible" behavior is inherited from the container widget to the child widgets.

check

 

true

zIndex

UInteger

zIndex determines the z-order of the widget. With overlapping widgets, the zIndex determines which widget is on the top and which one is on the bottom. The widget with the larger zIndex is on top, and the one with the smaller zIndex is on the bottom. The zIndex must be unique within a piece of content or a container widget. The zIndex is automatically assigned by the visual editor and can therefore be changed via the toolbar.

 

check

 

left

Integer

Absolute position measured from the left border of the surrounded element (e.g. container widget or content).

 

 

 

top

Integer

Absolute position measured from the top border of the surrounded element (e.g. container widget or content).

 

 

 

height

Size

Defines the total height of the widget in pixels.

A value in % refers to the height of the surrounding element.

 

 

150

width

Size

Defines the total width of the widget in pixels.

A value in % refers to the width of the surrounding element.

 

 

300

tooltip

String

Defines the text that should appear as information when the tooltip indicator is pressed.

A static text or a text from the text system can be used. For more information, see here.

Mode "Tooltip" must be enabled for this. There are two different options for this:

Using action "ShowTooltip"

Using action "Client system" ShowTooltips.

 

 

 

fontScaling

UNumber

Defines the factor for scaling the automatically calculated font size of FavoriteWatchItem.

The larger the value, the smaller the font.

 

 

1.6

tabIndex

Integer

Property tabIndex is used to manage the tab order during keyboard operation.

For additional information, see Keyboard operation.

ENTER triggers event Click if tabIndex ≥0.

It is not possible to operate widget FavoriteWatch with the keyboard.

 

 

-1

Styleable properties

Name

Type

Description

Default value

backColor

Color

Defines the background color of the widget.

Transparent

backGroundGradient

Gradient

Defines the background color of the widget as a color gradient.

 

borderColor

Color

Defines the color of the border around the widget.

#DFDFDF

borderWidth

PixelVal

Defines the width of the border around the widget.

1px

borderStyle

BorderStyle

Defines the style of the border around the widget. Borders can be unbroken, dashed or dotted.

solid

boxBackColor

Color

Defines the background color of the boxes.

#DFDFDF

boxBackGroundGradient

Gradient

Defines the background color of the boxes as a color gradient.

 

boxBorderColor

Color

Defines the color of the boxes' border.

Transparent

boxBorderWidth

PixelVal

Defines the width of the boxes' border.

2px

boxBorderStyle

BorderStyle

Defines the style of the border around the boxes.

solid

boxSelectedValidBackColor

Color

Defines the background color of the boxes when the selected boxes form a rectangle.

#339933

boxSelectedValidBackGroundGradient

Gradient

Defines the background color gradient of the boxes when the selected boxes form a rectangle.

 

boxSelectedValidBorderColor

Color

Defines the border color of the boxes when the selected boxes form a rectangle.

Transparent

boxSelectedValidBorderWidth

PixelVal

Defines the border thickness of the boxes when the selected boxes form a rectangle.

2px

boxSelectedValidBorderStyle

BorderStyle

Defines the style of the boxes when the selected boxes form a rectangle.

solid

boxSelectedInvalidBackColor

Color

Defines the background color of the boxes when the selected boxes do not form a rectangle.

#990000

boxSelectedInvalidBackGroundGradient

Gradient

Defines the background color gradient of the boxes when the selected boxes do not form a rectangle.

 

boxSelectedInvalidBorderColor

Color

Defines the border color of the boxes when the selected boxes do not form a rectangle.

Transparent

boxSelectedInvalidBorderWidth

PixelVal

Defines the border thickness of the boxes when the selected boxes do not form a rectangle.

2px

boxSelectedInvalidBorderStyle

BorderStyle

Defines the style of the boxes when the selected boxes do not form a rectangle.

solid

Topics in this section:

Actions and events