类名 UserInterfaceControl

# abstract new UserInterfaceControl(terria)

参数:

名称 类型 描述
terria Object

The Terria instance.

成员变量

String

# cssClass

Gets or sets the CSS class of the control. This property is observable.

Boolean

# isActive

Gets or sets the property describing whether or not the control is in the active state. This property is observable.

String

# name

Gets or sets the name of the control which is set as the controls title. This property is observable.

Number

# svgHeight

Gets or sets the height of the svg icon. This property is observable.

Object

# svgIcon

Gets or sets the svg icon of the control. This property is observable.

Number

# svgWidth

Gets or sets the width of the svg icon. This property is observable.

Object

# terria

Gets the Terria instance.

String

# text

Gets or sets the text to be displayed in the UI control. This property is observable.

方法

# abstract protected activate()

When implemented in a derived class, performs an action when the user clicks on this control.

构造函数
成员变量
方法
事件