JavaScript is disabled on your browser.
java.lang.Object
CollectionBase
com.aspose.cells.CellWatchCollection
All Implemented Interfaces: java.lang.Iterable
public class CellWatchCollection extends CollectionBase
Represents the collection of cells on this worksheet being watched in the 'watch window'.
Example:
//Instantiating a Workbook object
Workbook workbook = new Workbook();
// Get the first Worksheet.
Worksheet sheet = workbook.getWorksheets().get(0);
// Add Cell Watch Item into the watch window
sheet.getCellWatches().add("B2");
Method Summary
int
add (int row, int column)
Adds CellWatch with row and column.
int
add (java.lang.Object value)
→ inherited from com.aspose.cells.CollectionBase
Reserved for internal use.
int
add (java.lang.String cellName)
Adds
void
clear ()
→ inherited from com.aspose.cells.CollectionBase
boolean
contains (java.lang.Object value)
→ 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
CellWatchCollection
public CellWatchCollection ()
Property Getters/Setters Detail
getCount → inherited from com.aspose.cells.CollectionBase
public int getCount ()
Gets and sets CellWatch by index.
Parameters: index
- The index.Returns:
get
public CellWatch get (java.lang.String cellName)
Gets and sets CellWatch by the name of the cell.
Parameters: cellName
- The name of the cell.Returns:
add
public int add (int row, int column)
Adds CellWatch with row and column.
Parameters: row
- The row index.column
- The column index.Returns: Returns the position of this item in the collection.
add
public int add (java.lang.String cellName)
Adds
Parameters: cellName
- Returns:
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 ()
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.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.