Packagenet.systemeD.halcyon.connection.actions
Classpublic class JoinNodeAction
InheritanceJoinNodeAction Inheritance CompositeUndoableAction Inheritance UndoableAction



Public Properties
 PropertyDefined by
 Inheritedname : String
CompositeUndoableAction
Public Methods
 MethodDefined 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
 Inherited
clearActions():void
Clear the list of actions
CompositeUndoableAction
  
doAction():uint
JoinNodeAction
 Inherited
mergePrevious(previous:UndoableAction):Boolean
Can this action be merged with the previous action? This is sometimes wanted, such as when moving nodes around.
UndoableAction
 Inherited
push(action:UndoableAction):void
Add an action to the list of actions that make up this CompositeUndoableAction
CompositeUndoableAction
 Inherited
toString():String
Returns the name of this composite action, along with the (recursive) description of all the sub actions
CompositeUndoableAction
  
undoAction():uint
JoinNodeAction
 Inherited
undoFrom(index:int):void
Undo the actions from a given index.
CompositeUndoableAction
Public Constants
 ConstantDefined by
 InheritedFAIL : uint = 0
[static] Something went wrong while attempting the action
UndoableAction
 InheritedNO_CHANGE : uint = 2
[static] No entity was altered by this action
UndoableAction
 InheritedSUCCESS : uint = 1
[static] The action worked, and entities were changed
UndoableAction
Constructor detail
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.

Parameters
node:Node
 
nodes:Array
 
ways:Array
Method detail
doAction()method
public override function doAction():uint

Returns
uint
undoAction()method 
public override function undoAction():uint

Returns
uint