Search
MergedCellsCollection Methods
 


 Public Methods

  Name Description

addCollectionListener

Registers listener so that it will receive events from the collection. (Inherited from UndoableCollection.)

clear

Clears the collection.

contains

Determines whether an element is in the collection. (Inherited from UndoableCollection.)

get

Gets the item at the specified index. (Inherited from UndoableCollection.)

indexOf

Searches for the specified item and returns the zero-based index of the first occurrence within the entire collection. (Inherited from UndoableCollection.)

iterator

  (Inherited from UndoableCollection.)

removeCollectionListener

Unregisters listener so that it will no longer receive collection events. (Inherited from UndoableCollection.)

size

Gets the number of items in the collection. (Inherited from UndoableCollection.)

 Protected Methods

  Name Description

getWorkbook

Gets a reference to the parent Workbook object. (Inherited from UndoableCollection.)

onCollectionChanged

Raises the CollectionListener.collectionChanged event. (Inherited from UndoableCollection.)

trackAdd

Adds the specified item to the collection. If undo is enabled, the item is added through a command. Otherwise, the item is added directly. (Inherited from UndoableCollection.)

trackClear

Clears the collection. If undo is enabled, the collection is cleared through a command. Otherwise, the collection is cleared directly. (Inherited from UndoableCollection.)

trackMove

Moves the specified item to another position. If undo is enabled, the item is moved through a command. Otherwise, the item is moved directly. (Inherited from UndoableCollection.)

trackRemove

Removes the specified item to the collection. If undo is enabled, the item is removed through a command. Otherwise, the item is removed directly. (Inherited from UndoableCollection.)

trackReplace

Removes the specified item in the collection. If undo is enabled, the item is replaced through a command. Otherwise, the item is replaced directly. (Inherited from UndoableCollection.)

 See Also