Search
ReplaceItemCommand(T) Constructor
See Also
 






Initializes a new instance of the ReplaceItemCommand class.

Namespace: com.mindfusion.spreadsheet
Package: com.mindfusion.spreadsheet

 Syntax

Java  Copy Code

public ReplaceItemCommand (
    Workbook workbook,
    UndoableCollection<T> collection,
    int index,
    T item,
    T newItem
)

 Parameters

workbook

The Workbook modified by this command.

collection

The collection in which the item is replaced.

index

The zero-based index of the item within the collection.

item

The item that should be replaced in the collection.

newItem

The new item at the specified index.

 See Also