KONtx.element.TextField (KONtx 1.2 and above)

creates a text field Object

The text field element extends the KONtx.element.Container Object to provide functionality to the KONtx.control.TextEntryOverlay class used in the onscreen keyboard display.

Extends

KONtx.element.Container

Example

Properties

Property

Type

Description

anchorStyle

String

Controls how an Object is aligned to the vOffset property. Two values you can use are topLeft and baseline.The default value is topLeft.

element

Type

Type of the element, set to Text.

focus

Boolean

Indicates if the text entry field has focus. The default value is true.

Methods

void initialize();

Initializes the text element.

void setText(String text);

Sets the value of the text element based on the given text parameter.

Table of Contents