TextBoxCollection
Contents
[
Hide
]TextBoxCollection class
Encapsulates a collection of TextBox objects.
Methods
| Name | Description |
|---|---|
| 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.
| Parameter | Type | Description |
|---|---|---|
| upperLeftRow | Upper left row index. | |
| upperLeftColumn | Upper left column index. | |
| height | Number | Height of textbox, in unit of pixel. |
| width | Number | Width 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.
| Parameter | Type | Description |
|---|---|---|
| index | Number | The zero based index of the element. |
Returns: TextBox — TextBox The element at the specified index.
get(name)
Gets the TextBox element by the name.
| Parameter | Type | Description |
|---|---|---|
| name | String | The 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.
| Parameter | Type | Description |
|---|---|---|
| index | Number | The text box index. |