Files
infineon_plc/Packages/Beckhoff.TwinCAT.HMI.Controls.14.4.1/runtimes/native1.12-tchmi/TcHmiCombobox/Description.json
m.heisig 2d11c43579 Added minimal functionality for Robot teaching
- Added minimal HMI
- Added possibility to open and close all chamber doors
2026-01-17 09:20:39 +01:00

1196 lines
48 KiB
JSON

{
"$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json",
"apiVersion": 1,
"name": "TcHmiCombobox",
"namespace": "TcHmi.Controls.Beckhoff",
"displayName": "Combobox",
"version": {
"full": "14.4.1.0",
"major": 14,
"minor": 4,
"build": 1,
"revision": 0
},
"visible": true,
"themeable": "Standard",
"base": "TcHmi.Controls.System.TcHmiControl",
"description": "A Control that presents textinput and preselected entries in a drop down menu.",
"defaultDesignerEvent": ".onSelectionChanged",
"properties": {
"containerControl": false,
"geometry": {
"width": 264,
"height": 26
}
},
"icons": [
{
"name": "Icons/16x16.png",
"width": 16,
"height": 16
}
],
"template": "Template.html",
"dependencyFiles": [
{
"name": "Style.css",
"type": "Stylesheet",
"description": ""
},
{
"name": "../dist/TcHmiCombobox/TcHmiCombobox.esm.js",
"type": "EsModule",
"description": "Contains all the main logic as ES module."
}
],
"themes": {
"Base": {
"resources": [
{
"name": "Themes/Base/Style.css",
"type": "Stylesheet",
"description": ""
}
]
},
"Base-Dark": {
"resources": [
{
"name": "Themes/Base-Dark/Style.css",
"type": "Stylesheet",
"description": ""
}
]
}
},
"attributes": [
{
"name": "data-tchmi-src-data",
"propertyName": "SrcData",
"propertySetterName": "setSrcData",
"propertyGetterName": "getSrcData",
"displayName": "Src Data",
"visible": true,
"themeable": "Advanced",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiCombobox.ListItemList",
"category": "Common",
"description": "Defines the Data for the dropdown menu.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": []
},
{
"name": "data-tchmi-enum-data-symbol",
"propertyName": "EnumDataSymbol",
"propertySetterName": "setEnumDataSymbol",
"propertyGetterName": "getEnumDataSymbol",
"displayName": "Enum Data Symbol",
"visible": true,
"themeable": "None",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiCombobox.EnumDataSymbol",
"category": "Common",
"description": "A symbol which represents an enumeration from the server. The combobox will list all members and select the current one. If selection is changed it will be synchronized with the symbol. This attribute overwrites an existing SrcData attribute.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowEarlySymbolReferenceInjection": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-text",
"propertyName": "Text",
"propertySetterName": "setText",
"propertyGetterName": "getText",
"displayName": "Text",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:general#/definitions/String",
"category": "Common",
"description": "Defines the content of the textbox.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": ""
},
{
"name": "data-tchmi-system-keyboard-input-mode",
"propertyName": "SystemKeyboardInputMode",
"propertySetterName": "setSystemKeyboardInputMode",
"propertyGetterName": "getSystemKeyboardInputMode",
"displayName": "System Keyboard Input Mode",
"visible": true,
"themeable": "Advanced",
"displayPriority": 90,
"type": "tchmi:framework#/definitions/Inputmode",
"category": "Text",
"description": "Defines which keyboard layout should be loaded in the system keyboard when interacting. The exact layout file is defined in the project. \nThe most common one are: 'numeric', 'decimal', 'text'. Own project keywords are possible. \n'skip' ignores a focusIn, 'none' closes a keyboard on focusIn.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "text"
},
{
"name": "data-tchmi-ignore-escape-sequences",
"propertyName": "IgnoreEscapeSequences",
"propertySetterName": "setIgnoreEscapeSequences",
"propertyGetterName": "getIgnoreEscapeSequences",
"displayName": "Ignore Escape Sequences",
"visible": true,
"themeable": "Advanced",
"displayPriority": 100,
"type": "tchmi:general#/definitions/Boolean",
"category": "Text",
"description": "When set to true a backslash in a text will be shown verbatim in the HMI.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": false
},
{
"name": "data-tchmi-selected-text",
"propertyName": "SelectedText",
"propertyGetterName": "getSelectedText",
"displayName": "Selected Text",
"visible": true,
"type": "tchmi:general#/definitions/String",
"category": "Data",
"description": "Currently selected text",
"readOnly": true,
"bindable": false,
"defaultBindingMode": "OneWay",
"heritable": true
},
{
"name": "data-tchmi-selected-index",
"propertyName": "SelectedIndex",
"propertySetterName": "setSelectedIndex",
"propertyGetterName": "getSelectedIndex",
"displayName": "Selected Index",
"visible": true,
"themeable": "Advanced",
"displayPriority": 20,
"type": "tchmi:general#/definitions/UDINT",
"category": "Data",
"description": "Currently selected index (guaranteed zero based)",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-selected-id",
"propertyName": "SelectedId",
"propertySetterName": "setSelectedId",
"propertyGetterName": "getSelectedId",
"displayName": "Selected Id",
"visible": true,
"themeable": "Advanced",
"type": "tchmi:general#/definitions/UDINT",
"category": "Data",
"description": "Currently selected ID (could be zero or one based depending on the input data).",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-selected-value",
"propertyName": "SelectedValue",
"propertyGetterName": "getSelectedValue",
"displayName": "Selected Value",
"visible": true,
"type": "tchmi:general#/definitions/String",
"category": "Data",
"description": "Currently selected value",
"readOnly": true,
"bindable": false,
"defaultBindingMode": "OneWay",
"heritable": true
},
{
"name": "data-tchmi-show-selected-image",
"propertyName": "ShowSelectedImage",
"propertySetterName": "setShowSelectedImage",
"propertyGetterName": "getShowSelectedImage",
"displayName": "Show Selected Image",
"visible": true,
"themeable": "Advanced",
"displayPriority": 100,
"type": "tchmi:general#/definitions/Boolean",
"category": "Data",
"description": "If set to 'true', the selected image is displayed in main control (not dropdown).",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": true
},
{
"name": "data-tchmi-data-height",
"propertyName": "DataHeight",
"propertySetterName": "setDataHeight",
"propertyGetterName": "getDataHeight",
"displayName": "Data Height",
"visible": true,
"themeable": "Standard",
"displayPriority": 51,
"type": "tchmi:framework#/definitions/MeasurementValue",
"category": "Drop Down",
"description": "Data Row Height",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": 20
},
{
"name": "data-tchmi-data-height-unit",
"propertyName": "DataHeightUnit",
"propertyGetterName": "getDataHeightUnit",
"refTo": "DataHeight",
"displayName": "Data Height Unit",
"visible": true,
"displayPriority": 51,
"type": "tchmi:framework#/definitions/PixelUnit",
"category": "Drop Down",
"description": "Only Pixel is allowed.",
"readOnly": true,
"bindable": false,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValueInternal": "px"
},
{
"name": "data-tchmi-max-list-height",
"propertyName": "MaxListHeight",
"propertySetterName": "setMaxListHeight",
"propertyGetterName": "getMaxListHeight",
"displayName": "Max List Height",
"visible": true,
"themeable": "Standard",
"displayPriority": 51,
"type": "tchmi:framework#/definitions/MeasurementValue",
"category": "Drop Down",
"description": "Max height of the drop down list when not in mobile style.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": 400
},
{
"name": "data-tchmi-max-list-height-unit",
"propertyName": "MaxListHeightUnit",
"propertyGetterName": "getMaxListHeightUnit",
"refTo": "MaxListHeight",
"displayName": "Max List Height Unit",
"visible": true,
"displayPriority": 51,
"type": "tchmi:framework#/definitions/PixelUnit",
"category": "Drop Down",
"description": "Only Pixel is allowed.",
"readOnly": true,
"bindable": false,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValueInternal": "px"
},
{
"name": "data-tchmi-combobox-text",
"propertyName": "ComboboxText",
"propertySetterName": "setComboboxText",
"propertyGetterName": "getComboboxText",
"displayName": "Combobox Text",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:general#/definitions/String",
"category": "Data",
"description": "Text which is displayed if no item is selected.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": "Select",
"defaultValueInternal": ""
},
{
"name": "data-tchmi-text-horizontal-alignment",
"propertyName": "TextHorizontalAlignment",
"propertySetterName": "setTextHorizontalAlignment",
"propertyGetterName": "getTextHorizontalAlignment",
"displayName": "Text Horizontal Alignment",
"visible": true,
"themeable": "Standard",
"displayPriority": 20,
"type": "tchmi:framework#/definitions/HorizontalAlignment",
"category": "Text",
"description": "Defines the horizontal alignment of the text.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-text-font-family",
"propertyName": "TextFontFamily",
"propertySetterName": "setTextFontFamily",
"propertyGetterName": "getTextFontFamily",
"displayName": "Text Font Family",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontFamily",
"category": "Text",
"description": "Comma separated list of family name or keyword: 'serif', 'sans-serif', 'monospace'.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-text-font-size",
"propertyName": "TextFontSize",
"propertySetterName": "setTextFontSize",
"propertyGetterName": "getTextFontSize",
"displayName": "Text Font Size",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/MeasurementValue",
"category": "Text",
"description": "The size of the font. Percent values are relative to the parent elements font size.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-text-font-size-unit",
"propertyName": "TextFontSizeUnit",
"propertySetterName": "setTextFontSizeUnit",
"propertyGetterName": "getTextFontSizeUnit",
"refTo": "TextFontSize",
"displayName": "Text Font Size Unit",
"visible": true,
"themeable": "Advanced",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/MeasurementUnit",
"category": "Text",
"description": "Could be 'px' or for relative sizing '%'.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "px"
},
{
"name": "data-tchmi-text-font-style",
"propertyName": "TextFontStyle",
"propertySetterName": "setTextFontStyle",
"propertyGetterName": "getTextFontStyle",
"displayName": "Text Font Style",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontStyle",
"category": "Text",
"description": "'Normal', 'Italic' (slanted with special glyphs), 'Oblique' (slanted normal glyphs) or 'Auto' for inherited.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Auto"
},
{
"name": "data-tchmi-text-font-weight",
"propertyName": "TextFontWeight",
"propertySetterName": "setTextFontWeight",
"propertyGetterName": "getTextFontWeight",
"displayName": "Text Font Weight",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontWeight",
"category": "Text",
"description": "'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Auto"
},
{
"name": "data-tchmi-auto-focus-out",
"propertyName": "AutoFocusOut",
"propertySetterName": "setAutoFocusOut",
"propertyGetterName": "getAutoFocusOut",
"displayName": "Auto Focus Out",
"visible": true,
"themeable": "Advanced",
"displayPriority": 20,
"type": "tchmi:general#/definitions/Boolean",
"category": "Common",
"description": "Whether the control should automatically lose focus when the user confirms or cancels his interaction via enter or escape.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": true,
"defaultValueInternal": false
},
{
"name": "data-tchmi-auto-select-text",
"propertyName": "AutoSelectText",
"propertySetterName": "setAutoSelectText",
"propertyGetterName": "getAutoSelectText",
"displayName": "Auto Select Text",
"visible": true,
"themeable": "Advanced",
"displayPriority": 30,
"type": "tchmi:general#/definitions/Boolean",
"category": "Common",
"description": "Whether a focusIn selects the whole text or not.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": false
},
{
"name": "data-tchmi-is-read-only",
"propertyName": "IsReadOnly",
"propertySetterName": "setIsReadOnly",
"propertyGetterName": "getIsReadOnly",
"displayName": "Is Read Only",
"visible": true,
"themeable": "Standard",
"displayPriority": 52,
"type": "tchmi:general#/definitions/Boolean",
"category": "Common",
"description": "Controls whose primary purpose is data input can be set to read-only to only display data without allowing modification.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": false
},
{
"name": "data-tchmi-text-color",
"propertyName": "TextColor",
"propertySetterName": "setTextColor",
"propertyGetterName": "getTextColor",
"displayName": "Text Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/SolidColor",
"category": "Colors",
"description": "Defines the color of the text.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-drop-down-highlight-color",
"propertyName": "DropDownHighlightColor",
"propertySetterName": "setDropDownHighlightColor",
"propertyGetterName": "getDropDownHighlightColor",
"displayName": "Drop Down Highlight Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/SolidColor",
"category": "Colors",
"description": "Defines the highlight color of the dropdown element.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-drop-down-highlight-text-color",
"propertyName": "DropDownHighlightTextColor",
"propertySetterName": "setDropDownHighlightTextColor",
"propertyGetterName": "getDropDownHighlightTextColor",
"displayName": "Drop Down Highlight Text Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/SolidColor",
"category": "Colors",
"description": "Defines the highlight color of the dropdown text.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-drop-down-toggle-button-background-color",
"propertyName": "DropDownToggleButtonBackgroundColor",
"propertySetterName": "setDropDownToggleButtonBackgroundColor",
"propertyGetterName": "getDropDownToggleButtonBackgroundColor",
"displayName": "Drop Down Toggle Button Background Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/Color",
"category": "Colors",
"description": "Defines the background color of the dropdown toggle button.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-drop-down-toggle-button-arrow-color",
"propertyName": "DropDownToggleButtonArrowColor",
"propertySetterName": "setDropDownToggleButtonArrowColor",
"propertyGetterName": "getDropDownToggleButtonArrowColor",
"displayName": "Drop Down Toggle Button Arrow Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/SolidColor",
"category": "Colors",
"description": "Defines the color of the dropdown toggle button arrow.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-drop-down-style",
"propertyName": "DropDownStyle",
"propertySetterName": "setDropDownStyle",
"propertyGetterName": "getDropDownStyle",
"displayName": "Drop Down Style",
"visible": true,
"themeable": "Advanced",
"displayPriority": 30,
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiCombobox.DropDownStyle",
"category": "Drop Down",
"description": "Classic is a desktop style drop downbox under the control. Mobile is a centered full screen view.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Classic"
},
{
"name": "data-tchmi-image-position",
"propertyName": "ImagePosition",
"propertySetterName": "setImagePosition",
"propertyGetterName": "getImagePosition",
"displayName": "Image Position",
"visible": true,
"themeable": "Advanced",
"displayPriority": 30,
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiCombobox.ImagePosition",
"category": "Drop Down",
"description": "Describes where the icon should be displayed. Selection: LeftOfText or RightOfText",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "LeftOfText"
},
{
"name": "data-tchmi-drop-down-font-family",
"propertyName": "DropDownFontFamily",
"propertySetterName": "setDropDownFontFamily",
"propertyGetterName": "getDropDownFontFamily",
"displayName": "Drop Down Font Family",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontFamily",
"category": "Drop Down",
"description": "Comma separated list of family name or keyword: 'serif', 'sans-serif', 'monospace'.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-drop-down-font-size",
"propertyName": "DropDownFontSize",
"propertySetterName": "setDropDownFontSize",
"propertyGetterName": "getDropDownFontSize",
"displayName": "Drop Down Font Size",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/MeasurementValue",
"category": "Drop Down",
"description": "The size of the font. Percent values are relative to the parent elements font size.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-drop-down-font-size-unit",
"propertyName": "DropDownFontSizeUnit",
"propertySetterName": "setDropDownFontSizeUnit",
"propertyGetterName": "getDropDownFontSizeUnit",
"refTo": "DropDownFontSize",
"displayName": "Drop Down Font Size Unit",
"visible": true,
"themeable": "Advanced",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/MeasurementUnit",
"category": "Drop Down",
"description": "Could be 'px' or for relative sizing '%'.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "px"
},
{
"name": "data-tchmi-drop-down-font-style",
"propertyName": "DropDownFontStyle",
"propertySetterName": "setDropDownFontStyle",
"propertyGetterName": "getDropDownFontStyle",
"displayName": "Drop Down Font Style",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontStyle",
"category": "Drop Down",
"description": "'Normal', 'Italic' (slanted with special glyphs), 'Oblique' (slanted normal glyphs) or 'Auto' for inherited.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Auto"
},
{
"name": "data-tchmi-drop-down-font-weight",
"propertyName": "DropDownFontWeight",
"propertySetterName": "setDropDownFontWeight",
"propertyGetterName": "getDropDownFontWeight",
"displayName": "Drop Down Font Weight",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontWeight",
"category": "Drop Down",
"description": "'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Auto"
},
{
"name": "data-tchmi-drop-down-horizontal-alignment",
"propertyName": "DropDownHorizontalAlignment",
"propertySetterName": "setDropDownHorizontalAlignment",
"propertyGetterName": "getDropDownHorizontalAlignment",
"displayName": "Drop Down Horizontal Alignment",
"visible": true,
"themeable": "Standard",
"displayPriority": 20,
"type": "tchmi:framework#/definitions/HorizontalAlignment",
"category": "Drop Down",
"description": "Defines the horizontal alignment of the text of a dropdown element.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Left"
},
{
"name": "data-tchmi-drop-down-vertical-alignment",
"propertyName": "DropDownVerticalAlignment",
"propertySetterName": "setDropDownVerticalAlignment",
"propertyGetterName": "getDropDownVerticalAlignment",
"displayName": "Drop Down Vertical Alignment",
"visible": true,
"themeable": "Advanced",
"displayPriority": 20,
"type": "tchmi:framework#/definitions/VerticalAlignment",
"category": "Drop Down",
"description": "Defines the vertical alignment of the text of a dropdown element.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Center"
},
{
"name": "data-tchmi-drop-down-text-color",
"propertyName": "DropDownTextColor",
"propertySetterName": "setDropDownTextColor",
"propertyGetterName": "getDropDownTextColor",
"displayName": "Drop Down Text Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 10,
"type": "tchmi:framework#/definitions/SolidColor",
"category": "Colors",
"description": "Defines the text color of a dropdown element.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-drop-down-background-color",
"propertyName": "DropDownBackgroundColor",
"propertySetterName": "setDropDownBackgroundColor",
"propertyGetterName": "getDropDownBackgroundColor",
"displayName": "Drop Down Background Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 20,
"type": "tchmi:framework#/definitions/Color",
"category": "Colors",
"description": "Defines the background color of the dropdown.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-allow-text-input",
"propertyName": "AllowTextInput",
"propertySetterName": "setAllowTextInput",
"propertyGetterName": "getAllowTextInput",
"displayName": "Allow Text Input",
"visible": true,
"displayPriority": 10,
"type": "tchmi:general#/definitions/Boolean",
"category": "Common",
"themeable": "Standard",
"description": "Defines whether text input is allow in the control or not.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": false
},
{
"name": "data-tchmi-input-processing-point",
"propertyName": "InputProcessingPoint",
"propertySetterName": "setInputProcessingPoint",
"propertyGetterName": "getInputProcessingPoint",
"displayName": "Input Processing Point",
"visible": true,
"themeable": "Advanced",
"displayPriority": 50,
"type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.InputProcessingPoint",
"category": "Common",
"description": "When to process the input made by the user. Either while the input is still happening (i.e. on every keystroke) or after the interaction has finished (i.e. the control loses focus).",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "InteractionFinished"
},
{
"name": "data-tchmi-content-padding",
"propertyName": "ContentPadding",
"propertySetterName": "setContentPadding",
"propertyGetterName": "getContentPadding",
"displayName": "Content Padding",
"visible": true,
"displayPriority": 55,
"type": "tchmi:framework#/definitions/Padding",
"category": "Text",
"description": "The distance of the text to the border.",
"themeable": "Standard",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": {
"top": 3,
"right": 3,
"bottom": 3,
"left": 3
},
"defaultValueInternal": null
},
{
"name": "data-tchmi-drop-down-category-background-color",
"propertyName": "DropDownCategoryBackgroundColor",
"propertySetterName": "setDropDownCategoryBackgroundColor",
"propertyGetterName": "getDropDownCategoryBackgroundColor",
"displayName": "Drop Down Category Background Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/Color",
"category": "Colors",
"description": "Defines the background color of a category in the dropdown.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-drop-down-category-text-color",
"propertyName": "DropDownCategoryTextColor",
"propertySetterName": "setDropDownCategoryTextColor",
"propertyGetterName": "getDropDownCategoryTextColor",
"displayName": "Drop Down Category Text Color",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/SolidColor",
"category": "Colors",
"description": "Defines the text color of a category in the dropdown.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"allowSymbolExpressionsInObject": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-drop-down-category-font-family",
"propertyName": "DropDownCategoryFontFamily",
"propertySetterName": "setDropDownCategoryFontFamily",
"propertyGetterName": "getDropDownCategoryFontFamily",
"displayName": "Drop Down Category Font Family",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontFamily",
"category": "Drop Down Categories",
"description": "Comma separated list of family name or keyword: 'serif', 'sans-serif', 'monospace'.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-drop-down-category-font-size",
"propertyName": "DropDownCategoryFontSize",
"propertySetterName": "setDropDownCategoryFontSize",
"propertyGetterName": "getDropDownCategoryFontSize",
"displayName": "Drop Down Category Font Size",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/MeasurementValue",
"category": "Drop Down Categories",
"description": "The size of the font. Percent values are relative to the parent elements font size.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": null
},
{
"name": "data-tchmi-drop-down-category-font-size-unit",
"propertyName": "DropDownCategoryFontSizeUnit",
"propertySetterName": "setDropDownCategoryFontSizeUnit",
"propertyGetterName": "getDropDownCategoryFontSizeUnit",
"refTo": "DropDownCategoryFontSize",
"displayName": "Drop Down Category Font Size Unit",
"visible": true,
"themeable": "Advanced",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/MeasurementUnit",
"category": "Drop Down Categories",
"description": "Could be 'px' or for relative sizing '%'.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "px"
},
{
"name": "data-tchmi-drop-down-category-font-style",
"propertyName": "DropDownCategoryFontStyle",
"propertySetterName": "setDropDownCategoryFontStyle",
"propertyGetterName": "getDropDownCategoryFontStyle",
"displayName": "Drop Down Category Font Style",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontStyle",
"category": "Drop Down Categories",
"description": "'Normal', 'Italic' (slanted with special glyphs), 'Oblique' (slanted normal glyphs) or 'Auto' for inherited.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Italic"
},
{
"name": "data-tchmi-drop-down-category-font-weight",
"propertyName": "DropDownCategoryFontWeight",
"propertySetterName": "setDropDownCategoryFontWeight",
"propertyGetterName": "getDropDownCategoryFontWeight",
"displayName": "Drop Down Category Font Weight",
"visible": true,
"themeable": "Standard",
"displayPriority": 60,
"type": "tchmi:framework#/definitions/FontWeight",
"category": "Drop Down Categories",
"description": "'Normal', 'Bold' (glyphs with more weight) or 'Auto' for inherited.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Bold"
},
{
"name": "data-tchmi-drop-down-category-horizontal-alignment",
"propertyName": "DropDownCategoryHorizontalAlignment",
"propertySetterName": "setDropDownCategoryHorizontalAlignment",
"propertyGetterName": "getDropDownCategoryHorizontalAlignment",
"displayName": "Drop Down Category Horizontal Alignment",
"visible": true,
"themeable": "Standard",
"displayPriority": 20,
"type": "tchmi:framework#/definitions/HorizontalAlignment",
"category": "Drop Down Categories",
"description": "Defines the horizontal alignment of category in the dropdown.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Left"
},
{
"name": "data-tchmi-drop-down-category-vertical-alignment",
"propertyName": "DropDownCategoryVerticalAlignment",
"propertySetterName": "setDropDownCategoryVerticalAlignment",
"propertyGetterName": "getDropDownCategoryVerticalAlignment",
"displayName": "Drop Down Category Vertical Alignment",
"visible": true,
"themeable": "Advanced",
"displayPriority": 20,
"type": "tchmi:framework#/definitions/VerticalAlignment",
"category": "Drop Down Categories",
"description": "Defines the horizontal alignment of category in the dropdown.",
"readOnly": false,
"bindable": true,
"defaultBindingMode": "OneWay",
"heritable": true,
"defaultValue": null,
"defaultValueInternal": "Center"
}
],
"attributeCategories": [
{
"name": "Data",
"displayPriority": 500,
"defaultCollapsed": true,
"description": "Attributes defining the data the control is showing."
},
{
"name": "Text",
"displayPriority": 550,
"defaultCollapsed": true,
"description": "Attributes defining the text of the control."
},
{
"name": "Drop Down",
"displayPriority": 600,
"defaultCollapsed": true,
"description": "Attributes defining the drop down menu of the control."
},
{
"name": "Drop Down Categories",
"displayPriority": 650,
"defaultCollapsed": true,
"description": "Attributes defining the categories of the drop down menu of the control."
}
],
"functions": [
{
"name": "open",
"displayName": "open",
"visible": true,
"description": "Shows the drop down menu of the combobox.",
"category": "Common",
"params": [],
"type": null,
"heritable": true
},
{
"name": "close",
"displayName": "close",
"visible": true,
"description": "Hides the drop down menu of the combobox.",
"category": "Common",
"params": [],
"type": null,
"heritable": true
}
],
"events": [
{
"name": ".onSelectionChanged",
"displayName": ".onSelectionChanged",
"visible": true,
"displayPriority": 5,
"category": "Operator",
"description": "The selection changed event is fired after a item is changed.",
"heritable": true,
"arguments": [
{
"type": "tchmi:framework#/definitions/TcHmiComboboxSelectionChangedEventObject",
"description": "The event object containing information about the selection change."
}
]
},
{
"name": ".onFocusIn",
"displayName": ".onFocusIn",
"visible": true,
"displayPriority": 7,
"category": "Operator",
"description": "The focusin event is fired when an element is about to receive focus.",
"heritable": true,
"arguments": [
{
"type": "tchmi:framework#/definitions/DOMFocusEvent",
"description": "The FocusEvent object of the underlying focusin dom event."
}
]
},
{
"name": ".onFocusOut",
"displayName": ".onFocusOut",
"visible": true,
"displayPriority": 7,
"category": "Operator",
"description": "The focusout event is fired when an element is about to lose focus.",
"heritable": true,
"arguments": [
{
"type": "tchmi:framework#/definitions/DOMEvent",
"description": "The Event object of the underlying focusout dom event."
}
]
},
{
"name": ".onTextChanged",
"displayName": ".onTextChanged",
"visible": true,
"displayPriority": 10,
"category": "Control",
"description": "The textchanged event is fired when the text was changed. This event could be fired multiples times while a user interaction.",
"heritable": true,
"arguments": [
{
"type": "tchmi:general#/definitions/String",
"description": "The new text value."
}
]
},
{
"name": ".onUserInteractionFinished",
"displayName": ".onUserInteractionFinished",
"visible": true,
"displayPriority": 5,
"category": "Operator",
"description": "The userinteractionfinished event is fired after selecting an item or leaving the textbox (when AllowTextInput is true).",
"heritable": true,
"arguments": []
},
{
"name": ".onUserInteractionCanceled",
"displayName": ".onUserInteractionCanceled",
"visible": true,
"displayPriority": 7,
"category": "Operator",
"description": "The userinteractioncanceled event is fired when the user presses the escape key, causing the text to reset to its previous value.",
"heritable": true,
"arguments": []
}
],
"dataTypes": [
{
"schema": "Schema/Types.Schema.json"
}
]
}