Search
Item.restoreState Method
See Also
 






Restores the state of this item.

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

 Syntax

Java  Copy Code

protected void restoreState (
    ItemState state
)

 Parameters

state

An ItemState that represents previous state of the item.

 Remarks

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

 See Also