Package | net.systemeD.halcyon.connection.actions |
Class | public class ReplaceNodeAction |
Inheritance | ReplaceNodeAction ![]() ![]() |
Method | Defined by | ||
---|---|---|---|
| ReplaceNodeAction | ||
![]() |
clearActions():void
Clear the list of actions
| CompositeUndoableAction | |
doAction():uint
| ReplaceNodeAction | ||
![]() |
mergePrevious(previous:UndoableAction):Boolean
Can this action be merged with the previous action? This is sometimes wanted, such as
when moving nodes around.
| UndoableAction | |
![]() |
push(action:UndoableAction):void
Add an action to the list of actions that make up this CompositeUndoableAction
| CompositeUndoableAction | |
![]() |
toString():String
Returns the name of this composite action, along with the (recursive) description of all the sub actions
| CompositeUndoableAction | |
undoAction():uint
| ReplaceNodeAction | ||
![]() |
undoFrom(index:int):void
Undo the actions from a given index.
| CompositeUndoableAction |
ReplaceNodeAction | () | constructor |
public function ReplaceNodeAction(node:Node, replacement:Node)
Parameters
node:Node — The node we're getting rid of
|
|
replacement:Node — The node we want to end up with
|
doAction | () | method |
public override function doAction():uint
Returns
uint |
undoAction | () | method |
public override function undoAction():uint
Returns
uint |