TextBoxCollection

TextBoxCollection class

Encapsulates a collection of TextBox objects.

Methods

NameDescription
add(upperLeftRow, upperLeftColumn, height, width)Adds a textbox to the collection.
add()Reserved for internal use.
clear()Clear all text boxes.
contains()Reserved for internal use.
get(index)Gets the TextBox element at the specified index.
get(name)Gets the TextBox element by the name.
get()Reserved for internal use.
getCount()
indexOf()Reserved for internal use.
iterator()
removeAt(index)Remove a text box from the file.

add(upperLeftRow, upperLeftColumn, height, width)

Adds a textbox to the collection.

ParameterTypeDescription
upperLeftRowUpper left row index.
upperLeftColumnUpper left column index.
heightNumberHeight of textbox, in unit of pixel.
widthNumberWidth of textbox, in unit of pixel.

Returns: Number — Number TextBox object index.

add()

Reserved for internal use.

clear()

Clear all text boxes.

contains()

Reserved for internal use.

get(index)

Gets the TextBox element at the specified index.

ParameterTypeDescription
indexNumberThe zero based index of the element.

Returns: TextBox — TextBox The element at the specified index.

get(name)

Gets the TextBox element by the name.

ParameterTypeDescription
nameStringThe name of the text box.

Returns: TextBox — TextBox

get()

Reserved for internal use.

getCount()

indexOf()

Reserved for internal use.

iterator()

removeAt(index)

Remove a text box from the file.

ParameterTypeDescription
indexNumberThe text box index.