TextBoxCollection
Contents
[
Hide
]TextBoxCollection class
Encapsulates a collection of TextBox objects.
Properties
| Name | Type | Description |
|---|---|---|
| Count | Number | |
| Item (int) | TextBox | Gets the TextBox element at the specified index. |
| Item (java.lang.String) | TextBox | Gets the TextBox element by the name. |
Methods
| Name | Description |
|---|---|
| add | Adds a textbox to the collection. |
| removeAt | Remove a text box from the file. |
| clear | Clear all text boxes. |
| iterator | |
| get | Reserved for internal use. |
| contains | Reserved for internal use. |
| indexOf | Reserved for internal use. |
TextBoxCollection.Count property
Type: Number
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.
| 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: TextBox object index.
add(value) (2 of 2)
Reserved for internal use.
removeAt(index)
Remove a text box from the file.
| Parameter | Type | Description |
|---|---|---|
| index | Number | The 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.