documentationfor yFiles for HTML 3.0.0.3

Usages of IUndoUnit

Method Return Values

createUndoUnitForBendAddition (IBend, number)in GraphCreates the bend addition undo unit for the given bend.
createUndoUnitForBendRemoval (IBend)in GraphCreates the bend removal undo unit for the given bend.
createUndoUnitForBendTagChange (IBend, any)in GraphCreates the undo unit for changing the tag of the given bend.
createUndoUnitForEdgeCreation (IEdge)in GraphCreates the edge creation undo unit for the given edge.
createUndoUnitForEdgeReconnection (IEdge, IPort, IPort)in GraphCreates the edge reconnection undo unit for the given edge.
createUndoUnitForEdgeRemoval (IEdge)in GraphCreates the edge removal undo unit for the given edge.
createUndoUnitForEdgeStyleChange (IEdge, IEdgeStyle)in GraphCreates the undo unit for changing the style of the given edge.
createUndoUnitForEdgeTagChange (IEdge, any)in GraphCreates the undo unit for changing the tag of the given edge.
createUndoUnitForGraphTagChange (ITagOwner, any)in GraphCreates the undo unit for changing the tag of the given graph.
createUndoUnitForIsGroupNodeChange (INode, boolean)in GraphCreates the undo unit for changing whether the given node is a group node.
createUndoUnitForLabelAddition (ILabel)in GraphCreates the label addition undo unit for the given label.
createUndoUnitForLabelModelParameterChange (ILabel, ILabelModelParameter)in GraphCreates the undo unit for changing the layout parameter of the given label.
createUndoUnitForLabelRemoval (ILabel)in GraphCreates the label removal undo unit for the given label.
createUndoUnitForLabelStyleChange (ILabel, ILabelStyle)in GraphCreates the undo unit for changing the style of the given label.
createUndoUnitForLabelTagChange (ILabel, any)in GraphCreates the undo unit for changing the tag of the given label.
createUndoUnitForLabelTextChange (ILabel, string)in GraphCreates the undo unit for changing the text of the given label.
createUndoUnitForLocationParameterChange (IPort, IPortLocationModelParameter)in GraphCreates the undo unit for changing the location parameter of the given port.
createUndoUnitForNodeCreation (INode, INode, boolean)in GraphCreates the node creation undo unit for the given node.
createUndoUnitForNodeRemoval (INode)in GraphCreates the node removal undo unit for the given node.
createUndoUnitForNodeStyleChange (INode, INodeStyle)in GraphCreates the undo unit for changing the style of the given node.
createUndoUnitForNodeTagChange (INode, any)in GraphCreates the undo unit for changing the tag of the given node.
createUndoUnitForParentChange (INode, INode, INode)in GraphCreates the parent change undo unit for the given node.
createUndoUnitForPortAddition (IPort)in GraphCreates the port addition undo unit for the given port.
createUndoUnitForPortRemoval (IPort)in GraphCreates the port removal undo unit for the given port.
createUndoUnitForPortStyleChange (IPort, IPortStyle)in GraphCreates the undo unit for changing the style of the given port.
createUndoUnitForPortTagChange (IPort, any)in GraphCreates the undo unit for changing the tag of the given port.
createUndoUnitForPreferredSizeChange (ILabel, Size)in GraphCreates the undo unit for changing the preferred size of the given label.
combine (IUndoUnit)in IUndoUnitCreates a composite undo unit from several distinct IUndoUnit instances.
combine (string, string, IUndoUnit)in IUndoUnitCreates a composite undo unit from several distinct IUndoUnit instances.
fromHandler (string, function(T):void, T, T)in IUndoUnitCreates a new undo unit using the provided name and an undo/redo handler delegate as well as the parameters to pass to the delegate.
fromHandler (string, function(T):void, function(T):void, T, T)in IUndoUnitCreates a new undo unit using the provided name and undo and redo handler delegates as well as the parameters to pass to the delegates.
fromHandler (string, function(T):void, function(T):void)in IUndoUnitCreates a new undo unit using the provided name and undo and redo handler delegates.

Method Parameters

combine (IUndoUnit)in IUndoUnitCreates a composite undo unit from several distinct IUndoUnit instances.
combine (string, string, IUndoUnit)in IUndoUnitCreates a composite undo unit from several distinct IUndoUnit instances.
tryMergeUnit (IUndoUnit)in IUndoUnitTries to merge the given unit with this one.
tryReplaceUnit (IUndoUnit)in IUndoUnitTries to replace the given unit with this one.
addUnit (IUndoUnit)in UndoEngineAdds a new IUndoUnit to the queue.