TextBoxCollection

TextBoxCollection class

Encapsulates a collection of TextBox objects.

Properties

NameTypeDescription
Countint
Item (int)TextBoxGets the TextBox element at the specified index.
Item (java.lang.String)TextBoxGets the TextBox element by the name.

Methods

NameDescription
addAdds a textbox to the collection.
removeAtRemove a text box from the file.
clearClear all text boxes.
iterator
getReserved for internal use.
containsReserved for internal use.
indexOfReserved for internal use.

TextBoxCollection.Count property

Type: int

TextBoxCollection.Item (int) property

Gets the TextBox element at the specified index.

Type: TextBox

TextBoxCollection.Item (java.lang.String) property

Gets the TextBox element by the name.

Type: TextBox

add(topRow, leftColumn, height, width) (1 of 2)

Adds a textbox to the collection.

ParameterTypeDescription
upperLeftRowUpper left row index.
upperLeftColumnUpper left column index.
heightintHeight of textbox, in unit of pixel.
widthintWidth of textbox, in unit of pixel.

Returns: TextBox object index.


add(value) (2 of 2)

Reserved for internal use.

removeAt(index)

Remove a text box from the file.

ParameterTypeDescription
indexintThe text box index.

clear()

Clear all text boxes.

iterator()

get(index)

Reserved for internal use.

contains(value)

Reserved for internal use.

indexOf(value)

Reserved for internal use.