XYJoystick

<< 点击显示目录 >>

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

XYJoystick

Widget "XYJoystick" can perform movements in the x- and y-direction.

IMPORTANT: If the connection to the HMI application is interrupted, it must be ensured by the application that all connected variables are set to 0! For information about how to check the connection, see section Remote OPC UA connection status.

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

zIndex, left, top, height, width

Appearance

xyjoystick_editor

xyjoystick_browser

Editor

Web browser

Properties

Name

Type

Description

Bindable

Necessary

Default value

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

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).

 

 

 

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.

 

 

 

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

width

Size

Defines the total width of the widget in pixels.

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

 

 

250

height

Size

Defines the total height of the widget in pixels.

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

 

 

250

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

 

xValue

Number

Defines the value on the x-axis.

Only write access to the source (binding mode "Init read/write").

check

 

0

yValue

Number

Defines the value on the y-axis.

Only write access to the source (binding mode "Init read/write").

check

 

0

decimalPlaces

UInteger

Defines the decimal places of properties xValue and yValue.

 

 

2

trackSize

PixelVal

Defines the width of the slider track.

 

 

7px

thumbSize

PixelVal

Defines the size of the slider thumb.

 

 

50px

image

ImagePath

Relative path to an image that is displayed on the slider thumb.

For more information, see here.

check

 

 

tooltip

String

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

You can use a static text or a text from the text system. 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.

 

 

 

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 XYJoystick 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.

 

borderStyle

BorderStyle

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

none

borderWidth

PixelValCollection

Defines the width of the border around the widget.

0px

borderColor

ColorCollection

Defines the color of the border around the widget.

#000000

cornerRadius

PixelValCollection

Defines the corner style of the widget.

0px

opacity

Opacity

Defines the transparency of the widget. The lower the value, the more transparent the widget.

1

margin

Margin

Defines the offset of the external boundary of the widget to the widget's actual set position. For more information, see here.

0px

thumbColor

Color

Defines the background color of the slider thumb.

#FF8800

thumbGradient

Gradient

Defines the background color of the slider thumb as a color gradient.

 

trackColor

Color

Defines the background color of the widget's slider track.

#C8C8C8

trackGradient

Gradient

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

 

disabledBackColor

Color

Defines the background color of the widget in the disabled state.

Transparent

disabledBackGroundGradient

Gradient

Defines the background color of the widget as a color gradient in the disabled state.

 

disabledThumbColor

Color

Defines the background color of the slider thumb in the disabled state.

#F1F1F1

disabledThumbGradient

Gradient

Defines the background color of the slider thumb as a color gradient in the disabled state.

 

disabledTrackColor

Color

Defines the background color of the widget's slider track in the disabled state.

#EAEAEA

disabledTrackGradient

Gradient

Defines the background color of the widget slider track in the disabled state as a color gradient.

 

Topics in this section:

Actions and events

Concept