RadialSlider

<< 点击显示目录 >>

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

RadialSlider

Widget "RadialSlider" allows a value to be changed using a radial slider thumb.

This widget is multi-touch capable: For more information, see Multi-touch function.

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

zIndex, left, top, height, width

Appearance

radialslidereditor

radialsliderruntime

Editor

Web browser

Properties

Name

Type

Description

Bindable

Necessary

Default value

permissionView

RoleCollection

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

 

 

 

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.

 

 

 

style

StyleReference

Reference to a customizable widget style.

check

 

default

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 "disabled..." style is displayed at runtime. The "enable" behavior is inherited from the container widgets to the child widgets.

check

 

true

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.

 

 

250

width

Size

Defines the total width of the widget in pixels.

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

 

 

250

value

Number

Defines the value of the widget.

check

 

50

maxValue

Number

Defines the maximum permissible value for value binding.

With node binding, the "high" attribute for the EU range from the OPC UA variable is used.

 

 

100

minValue

Number

Defines the minimum permissible value for value binding.

With node binding, the "low" attribute for the EU range from the OPC UA variable is used.

 

 

0

node

Node

Value with unit for node binding.

check

 

 

showValueDisplay

Boolean

Defines whether the value and unit should be displayed. Display value = true / Do not display value = false.

 

 

true

showUnit

Boolean

Defines whether the unit should be displayed. A node binding is necessary for this.

 

 

false

changeOnMove

Boolean

Specifies whether the new value should be sent to the server immediately when the slider thumb is moved. If true, the value is sent to the server immediately. If false, only when the widget is released (no longer being pressed, property "MouseUp").

 

 

true

unit

MeasurementSystemUnit

Defines the unit code of the widget.

check

 

 

format

MeasurementSystemFormat

Defines the number format for the widget.

check

 

{'metric':{ 'decimalPlaces': 1, 'minimumIntegerDigits':1 }, 'imperial':{ 'decimalPlaces': 1, 'minimumIntegerDigits':1 }, 'imperial-us':{ 'decimalPlaces': 1, 'minimumIntegerDigits':1 }}

trackSize

PixelVal

Defines the width of the slider track.

 

 

7px

thumbSize

PixelVal

Defines the size of the slider thumb.

 

 

50px

radius

PixelVal

Defines the radius of the slider track.

 

 

100px

startAngle

UNumber

Defines the starting angle at which the radial range begins. Valid range: 0 to 359

 

 

225

range

UNumber

Defines the length of the radial area (beginning at startAngle), where the values between minValue and maxValue are distributed. Valid range: 0 to 360

 

 

270

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 events MouseDown, MouseUp and Click for tabIndex ≥0.

It is not possible to operate the thumb with the keyboard.

 

 

-1

Styleable properties

Name

Type

Description

Default value

backColor

Color

Defines the background color of the widget.

Transparent

borderStyle

BorderStyle

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

solid

borderWidth

PixelValCollection

Defines the width of the border around the widget.

2px

borderColor

ColorCollection

Defines the color of the border around the widget.

#000000

opacity

Opacity

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

1

textColor

Color

Defines the color used to display the text.

#000000

fontName

FontName

Defines the font used for the text shown.

Arial

bold

Boolean

Defines whether the text is shown in bold.

false

italic

Boolean

Defines whether the text is shown in italics.

false

fontSize

PixelVal

Defines the font size of the displayed value.

35px

fillColor

Color

Defines the color to be used for the slider track between the starting point and current value.

Transparent

trackColor

Color

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

#C8C8C8

thumbColor

Color

Defines the background color of the slider thumb.

#FF8800

disabledBorderWidth

PixelValCollection

Defines the width of the border around the widget in the disabled state.

2px

disabledBorderColor

ColorCollection

Defines the color of the border around the widget in the disabled state.

#C8C8C8

disabledBackColor

Color

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

Transparent

disabledThumbColor

Color

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

#F1F1F1

disabledTrackColor

Color

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

#EAEAEA

disabledFillColor

Color

Defines the color to be used for the slider track between the starting point and current value in the disabled state.

#C8C8C8

Topics in this section:

Actions and events