Package | net.systemeD.halcyon.connection.actions |
Class | public class JoinNodeAction |
Inheritance | JoinNodeAction ![]() ![]() |
Method | Defined by | ||
---|---|---|---|
JoinNodeAction(node:Node, nodes:Array, ways:Array)
For the given node, replace all the given nodes with this node, and insert
the given node into the list of ways.
| JoinNodeAction | ||
![]() |
clearActions():void
Clear the list of actions
| CompositeUndoableAction | |
doAction():uint
| JoinNodeAction | ||
![]() |
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
| JoinNodeAction | ||
![]() |
undoFrom(index:int):void
Undo the actions from a given index.
| CompositeUndoableAction |
JoinNodeAction | () | constructor |
public function JoinNodeAction(node:Node, nodes:Array, ways:Array)
For the given node, replace all the given nodes with this node, and insert the given node into the list of ways.
Parametersnode:Node |
|
nodes:Array |
|
ways:Array |
doAction | () | method |
public override function doAction():uint
Returns
uint |
undoAction | () | method |
public override function undoAction():uint
Returns
uint |