Class TextBoxMetadata

Defines properties and message types for TextBox.

Property Types

See also PropertyType

Message Types

See also MessageType

Message Arguments

Message arguments classes define message arguments used for different message types. Each class defines a number of property types - arguments - together with getter and setter functions for them.

TextBoxMetadata.CharacterRemovalMessageArguments

TextBoxMetadata.DeleteSelectionMessageArguments

TextBoxMetadata.ModifyEditingStateMessageArguments

TextBoxMetadata.ModifySelectionMessageArguments

TextBoxMetadata.MoveCursorMessageArguments

TextBoxMetadata.CursorPositionMessageArguments

CursorPositionProperty

Contains the current position of the cursor.

Example
local value = arguments:getCursorPositionProperty()
arguments:setCursorPositionProperty(value)

TextBoxMetadata.EditingStateChangedMessageArguments

TextBoxMetadata.InputMethodActionMessageArguments

TextBoxMetadata.InputMethodAvailableMessageArguments

TextBoxMetadata.SelectedTextMessageArguments

SelectionStartProperty

Contains the index of the character in the beginning of the text selection.

Example
local value = arguments:getSelectionStartProperty()
arguments:setSelectionStartProperty(value)
SelectionEndProperty

Contains the end index of the selection.

Example
local value = arguments:getSelectionEndProperty()
arguments:setSelectionEndProperty(value)

TextBoxMetadata.TextChangedMessageArguments

TextBoxMetadata.TextCompositionStateMessageArguments

TextBoxMetadata.TextContentMessageArguments

TextFieldContentProperty

Contains the content of a Text Box node.

Example
local value = arguments:getTextFieldContentProperty()
arguments:setTextFieldContentProperty(value)

TextBoxMetadata.TextInsertionMessageArguments

PositionProperty

The character index at which to insert text.

Example
local value = arguments:getPositionProperty()
arguments:setPositionProperty(value)
TextProperty

Sets the text to insert in the Text Box node.

Example
local value = arguments:getTextProperty()
arguments:setTextProperty(value)

TextBoxMetadata.TextRangeMessageArguments

StartPositionProperty

Sets the index of the first character in the text range.

Example
local value = arguments:getStartPositionProperty()
arguments:setStartPositionProperty(value)
EndPositionProperty

Sets the index of the last character in the text range.

Example
local value = arguments:getEndPositionProperty()
arguments:setEndPositionProperty(value)