{ "$schema": "../../TcHmiFramework/Schema/ControlDescription.Schema.json", "apiVersion": 1, "name": "TcHmiTextblock", "namespace": "TcHmi.Controls.Beckhoff", "displayName": "Textblock", "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 to display Text.", "defaultDesignerEvent": "", "properties": { "containerControl": false, "geometry": { "width": 150, "height": 26 } }, "icons": [ { "name": "Icons/16x16.png", "width": 16, "height": 16 } ], "template": "Template.html", "dependencyFiles": [ { "name": "Style.css", "type": "Stylesheet", "description": "" }, { "name": "../dist/TcHmiTextblock/TcHmiTextblock.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-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": "The color of the displayed text", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-width-mode", "propertyName": "WidthMode", "propertySetterName": "setWidthMode", "propertyGetterName": "getWidthMode", "displayName": "Width Mode", "visible": true, "themeable": "Advanced", "displayPriority": 40, "type": "tchmi:framework#/definitions/SizeModeWithContent", "category": "Layout", "description": "Defines if the width is taken from the width value, calculated from left and right (parent) or calculated from the text length.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Value" }, { "name": "data-tchmi-height-mode", "propertyName": "HeightMode", "propertySetterName": "setHeightMode", "propertyGetterName": "getHeightMode", "displayName": "Height Mode", "visible": true, "themeable": "Advanced", "displayPriority": 40, "type": "tchmi:framework#/definitions/SizeModeWithContent", "category": "Layout", "description": "Defines if the height is taken from the height value, calculated from top and bottom (parent) or calculated from the text length.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Value" }, { "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": "Content of the textbox.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "" }, { "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-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": "The horizontal alignment of the text", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-text-vertical-alignment", "propertyName": "TextVerticalAlignment", "propertySetterName": "setTextVerticalAlignment", "propertyGetterName": "getTextVerticalAlignment", "displayName": "Text Vertical Alignment", "visible": true, "themeable": "Standard", "displayPriority": 20, "type": "tchmi:framework#/definitions/VerticalAlignment", "category": "Text", "description": "The vertical alignment of the text", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": null }, { "name": "data-tchmi-content-padding", "propertyName": "ContentPadding", "propertySetterName": "setContentPadding", "propertyGetterName": "getContentPadding", "displayName": "Content Padding", "visible": true, "themeable": "Standard", "displayPriority": 55, "type": "tchmi:framework#/definitions/Padding", "category": "Text", "description": "The distance of the text to the border.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "allowSymbolExpressionsInObject": 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": 20, "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": 20, "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-horizontal-scroll", "propertyName": "HorizontalScroll", "propertySetterName": "setHorizontalScroll", "propertyGetterName": "getHorizontalScroll", "displayName": "Horizontal Scroll", "visible": true, "themeable": "Advanced", "displayPriority": 40, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiTextblock.ScrollMode", "category": "Text", "description": "Whether to display horizontal scrollbars. Word Wrap has to be deactivated.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Never" }, { "name": "data-tchmi-vertical-scroll", "propertyName": "VerticalScroll", "propertySetterName": "setVerticalScroll", "propertyGetterName": "getVerticalScroll", "displayName": "Vertical Scroll", "visible": true, "themeable": "Advanced", "displayPriority": 41, "type": "tchmi:framework#/definitions/TcHmi.Controls.Beckhoff.TcHmiTextblock.ScrollMode", "category": "Text", "description": "Whether to display vertical scrollbars.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": "Never" }, { "name": "data-tchmi-horizontal-scroll-position", "propertyName": "HorizontalScrollPosition", "propertySetterName": "setHorizontalScrollPosition", "propertyGetterName": "getHorizontalScrollPosition", "displayName": "Horizontal Scroll Position", "visible": true, "themeable": "Advanced", "displayPriority": 42, "type": "tchmi:framework#/definitions/PositiveNumber", "category": "Text", "description": "Scroll position of the horizontal scrollbar.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 0 }, { "name": "data-tchmi-vertical-scroll-position", "propertyName": "VerticalScrollPosition", "propertySetterName": "setVerticalScrollPosition", "propertyGetterName": "getVerticalScrollPosition", "displayName": "Vertical Scroll Position", "visible": true, "themeable": "Advanced", "displayPriority": 43, "type": "tchmi:framework#/definitions/PositiveNumber", "category": "Text", "description": "Scroll position of the vertical scrollbar.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": null, "defaultValueInternal": 0 }, { "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-word-wrap", "propertyName": "WordWrap", "propertySetterName": "setWordWrap", "propertyGetterName": "getWordWrap", "displayName": "Word Wrap", "visible": true, "themeable": "Advanced", "displayPriority": 55, "type": "tchmi:general#/definitions/Boolean", "category": "Text", "description": "Wrap text that is too long to fit in a single line.", "readOnly": false, "bindable": true, "defaultBindingMode": "OneWay", "heritable": true, "defaultValue": true, "defaultValueInternal": false } ], "attributeCategories": [ { "name": "Text", "displayPriority": 500, "defaultCollapsed": true, "description": "Attributes defining the text of the control." } ], "functions": [], "events": [], "dataTypes": [ { "schema": "Schema/Types.Schema.json" } ] }