java.lang.Object
CollectionBase
com.aspose.cells.CheckBoxCollection
- All Implemented Interfaces:
- java.lang.Iterable
public class CheckBoxCollection
- extends CollectionBase
Represents a collection of CheckBox objects in a worksheet.
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() | → inherited from com.aspose.cells.CollectionBase |
| |
CheckBox | get(int index) | |
|
Gets the CheckBox element at the specified index.
|
Method Summary |
int | add(int upperLeftRow, int upperLeftColumn, int height, int width) | |
Adds a checkBox to the collection.
|
int | add(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase |
Reserved for internal use. |
void | clear() | → inherited from com.aspose.cells.CollectionBase |
|
boolean | contains(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase |
Reserved for internal use. |
java.lang.Object | get(int index) | → inherited from com.aspose.cells.CollectionBase |
Reserved for internal use. |
int | indexOf(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase |
Reserved for internal use. |
java.util.Iterator | iterator() | → inherited from com.aspose.cells.CollectionBase |
|
void | removeAt(int index) | → inherited from com.aspose.cells.CollectionBase |
|
Property Getters/Setters Detail |
getCount | → inherited from com.aspose.cells.CollectionBase |
public int getCount()
|
-
-
Gets the CheckBox element at the specified index.
- Parameters:
index
- The zero based index of the element.
- Returns:
- The element at the specified index.
add | |
public int add(int upperLeftRow, int upperLeftColumn, int height, int width) |
-
Adds a checkBox to the collection.
- Parameters:
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.
- Returns:
- CheckBox object index.
clear | → inherited from com.aspose.cells.CollectionBase |
public void clear() |
-
removeAt | → inherited from com.aspose.cells.CollectionBase |
public void removeAt(int index) |
-
iterator | → inherited from com.aspose.cells.CollectionBase |
public java.util.Iterator iterator() |
-
get | → inherited from com.aspose.cells.CollectionBase |
public java.lang.Object get(int index) |
- Reserved for internal use.
contains | → inherited from com.aspose.cells.CollectionBase |
public boolean contains(java.lang.Object value) |
- Reserved for internal use.
add | → inherited from com.aspose.cells.CollectionBase |
public int add(java.lang.Object value) |
- Reserved for internal use.
indexOf | → inherited from com.aspose.cells.CollectionBase |
public int indexOf(java.lang.Object value) |
- Reserved for internal use.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.