GridLineItem

<< 点击显示目录 >>

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

GridLineItem

Widget "GridLineItem" represents a container element in widget "GridLine". Any number of widgets can be placed in the container.

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

zIndex

Appearance

gridlineitem_editor

gridline_runtime

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

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

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

 

expandedSize

UInteger

Defines how large widget "GridLineItem" is when it is unfolded.

The size is specified in the number of GridLineItems and depends on property gridSize of widget "GridLine".

Example:

expandedSize = 3 and gridSize = 150px

width = expandedSize * gridSize

450px = 3 * 150px

The "expandedSize" value is always displayed in the editor.

 

 

2

collapsedSize

UInteger

Defines the size of widget "GridLineItem" when collapsed.

The size is specified in the number of GridLineItems and depends on property gridSize of widget "GridLine". For an example, see property expandedSize.

 

 

1

showExpanded

Boolean

Defines the initial state of widget "GridLineItem".

false: GridLineItem collapsed

true: GridLineItem expanded

 

 

false

imageAlign

HorizontalAlign

Defines whether the image specified in widget "GridLine" for modifyImage, expandImage or collapseImage is displayed at the top left or top right.

 

 

right

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.

 

 

 

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

solid

borderWidth

PixelValCollection

Defines the width of the border around the widget.

1px

borderColor

ColorCollection

Defines the color of the border around the widget.

#000000

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 10px 0px 0px

shadow

Shadow

Defines the shadow of the widget.

none

cornerRadius

PixelValCollection

Defines the corner style of the widget.

0px

Topics in this section:

Actions and events