Search
Item.saveState Method
See Also
 






Saves the state of this item.

Namespace: com.mindfusion.scheduling.model
Package: com.mindfusion.scheduling.model

 Syntax

Java  Copy Code

protected ItemState saveState ()

 Return Value

An ItemState that represents the current state of the item.

 Remarks

This method is used by the undo/redo system to save the state of an item. Custom item classes must override saveState in order to implement undo/redo support for any additional members they define. This method should be overridden together with createState and restoreState.

 See Also