1. Domino UI
  2. Forms
  3. Text box
Top Basic Docs

Basic TextBox

Represents a text input form field. This class extends from BaseTextBox and provides a simple way to handle text input.

Usage example:

 
 TextBox defaultTextBox = new TextBox();
 TextBox labeledTextBox = new TextBox("Enter some text:");
 

See also :

Examples

Basic Input layout in a grid.

API Docs: TextBox

Constructors

public void TextBox()
Default constructor. Initializes the text box.
public void TextBox(String label)
Constructor that initializes the text box with the given label.

label

the label for the text box

Static methods

public static TextBox create()
Factory method to create a new instance of TextBox .

Returns:

a new instance of TextBox

public static TextBox create(String label)
Factory method to create a new instance of TextBox with a label.

label

the label for the text box



Returns:

a new instance of TextBox with the provided label

Public methods

public String getType()
Retrieves the input type for the text box, which is "text". Check super implementation documentation.

Returns:

the string "text"

We are a group of passionate people who love what we do

Donate & Support Us