KONtx.dialogs.TextEntry

Toolbox text entry dialog

The KONtx.dialogs.TextEntry class defines a text entry dialog box.

Extends

KONtx.dialogs.BaseDialogImplementation

Properties

Property

Type

Description

callback

Function

Callback function executed when the text is submitted. The default value is null.

cancelCallback

Function

Callback function executed when the dialog is cancelled. The default value is null.

message

String

The message string in the alert box.

title

String

The title of the alert box.

Methods

void getDialogConfig();

Returns the config Object for the dialog box.

void handleCallback(Object response);

Triggers the callback for the based on the given response. If response.cancelled is true, the cancelCallback() callback function defined in the configuration is called.

void initialize();

Initializes the dialog Object.

Table of Contents