NumPad

<< 点击显示目录 >>

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

NumPad

Widget "NumPad" is used to enter numerical values.

This widget is used and bound internally by other widgets. It therefore cannot be configured directly on a piece of content, but styles can be used for it.

The widget's orientation can be defined under the respective parent widget (e.g. widget "NumericInput").

Appearance

numpad_runtime

Web browser

Styleable properties

Name

Type

Description

Default value

cornerRadius

PixelValCollection

Defines the corner style of the widget.

0px

backColor

Color

Defines the background color of the widget.

#FFFFFF

backGroundGradient

Gradient

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

 

headerGradient

Gradient

Defines the color of the header as a color gradient.

 

borderColor

Color

Defines the color of the border around the widget.

#333333

textColor

Color

Defines the color used to display the text.

#000000

mouseDownBackColor

Color

Defines the background color of the widget while the widget is being pressed.

#FFA800

mouseDownTextColor

Color

Defines the color used to display the text while the widget is being pressed.

#000000

buttonBackGroundGradient

Gradient

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

 

buttonMouseDownBackGroundGradient

Gradient

Defines the background color of the buttons when the buttons are pressed.

 

opacity

Opacity

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

1

fontName

FontName

Defines the font used for the text shown.

Arial

shadow

Shadow

Defines the shadow of the widget.

none

sliderForeColor

Color

Defines the color of the widget's slider.

#FFF

sliderForeGroundGradient

Gradient

Defines the color of the widget's slider as a color gradient.

 

sliderOutputBackColor

Color

Defines the background color of the widget's slider.

Transparent

valueBorderWidth

PixelValCollection

Defines the width of the border around the value display.

1px

valueBackGroundGradient

Gradient

Defines the background color of the value display as a color gradient.

 

valueBorderStyle

BorderStyle

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

solid

valueBorderColor

ColorCollection

Defines the color of the border around the value display.

#333333

valueBackColor

Color

Defines the background color of the value display.

#FFFFFF

valueCornerRadius

PixelValCollection

Defines the rounding of the corners around the value display.

0px

valueFontName

FontName

Defines the font used for the text of the value display shown.

Arial

valueFontSize

PixelVal

Defines the size used of the text of the value display shown.

18px

valueTextColor

Color

Defines the color used to display the text of the value display.

#000000

valueShadow

Shadow

Defines the shadow of the value display.

none

valueTextAlign

TextAlign

Defines the orientation of the value in the value display.

left

showSlider

Boolean

Defines whether the Numpad uses a slider for the value change and value display (default=true) or only a value display without a slider (false).

true

showMinMax

Boolean

Defines whether the Numpad displays the limits (default=true) or hides them (false).

true

imageEnterBackground

ImagePath

Optional image displayed instead of the Enter character. PNG and SVG images can be referenced. NOTE: The color information must be contained in the SVG element (fillColor).

 

mouseDownImageEnterBackground

ImagePath

Optional image for the pressed Enter key displayed instead of the Enter character. PNG and SVG images can be referenced. NOTE: The color information must be contained in the SVG element (fillColor).

 

imageDeleteBackground

ImagePath

Optional image displayed instead of the Delete character. PNG and SVG images can be referenced. NOTE: The color information must be contained in the SVG element (fillColor).

 

mouseDownImageDeleteBackground

ImagePath

Optional image for the pressed Delete key displayed instead of the Delete character. PNG and SVG images can be referenced. NOTE: The color information must be contained in the SVG element (fillColor).

 

buttonMargin

Margin

Defines the distance between the button widgets.

0px

buttonCornerRadius

PixelValCollection

Defines the rounding of the corners around the button widgets.

0px

buttonBorderColor

ColorCollection

Defines the color of the border around the button widgets.

#333333

buttonMouseDownBorderColor

ColorCollection

Defines the color of the border around the button widgets as long as they are pressed.

#333333

buttonBorderWidth

ColorCollection

Defines the width of the buttons' border.

1px

buttonBackColor

Color

Defines the background color of the button.

#FFFFFF