Example:
excel = Workbook() index = excel.getWorksheets().get(0).getCheckBoxes().add(15, 15, 20, 100) checkBox = excel.getWorksheets().get(0).getCheckBoxes().get(index) checkBox.setText("Check Box 1")
Property Getters/Setters Summary | ||
---|---|---|
method | getCount() | |
method | get(index) | |
Gets the |
Method Summary | ||
---|---|---|
method | add(upperLeftRow, upperLeftColumn, height, width) | |
Adds a checkBox to the collection.
|
||
method | add(value) | |
Reserved for internal use. |
||
method | clear() | |
method | contains(value) | |
Reserved for internal use. |
||
method | get(index) | |
Reserved for internal use. |
||
method | indexOf(value) | |
Reserved for internal use. |
||
method | iterator() | |
method | removeAt(index) | |
int getCount()
CheckBox get(index)
index
- The zero based index of the element.int add(upperLeftRow, upperLeftColumn, height, width)
upperLeftRow: int
- Upper left row index.upperLeftColumn: int
- Upper left column index.height: int
- Height of checkBox, in unit of pixel.width: int
- Width of checkBox, in unit of pixel.clear()
removeAt(index)
Iterator iterator()
Object get(index)
boolean contains(value)
int add(value)
int indexOf(value)