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