Packagenet.systemeD.potlatch2.controller
Classpublic class DrawQuadrilateral
InheritanceDrawQuadrilateral Inheritance ControllerState



Public Properties
 PropertyDefined by
 InheritedfirstSelected : Entity
ControllerState
 Inheritedlayer : MapPaint
ControllerState
 Inheritedmap : Map
Retrieves the map associated with the current EditController
ControllerState
 InheritedselectCount : uint
ControllerState
 InheritedselectedNodes : Array
ControllerState
 InheritedselectedWay : Way
ControllerState
 InheritedselectedWays : Array
ControllerState
 Inheritedselection : Array
ControllerState
Protected Properties
 PropertyDefined by
 Inheritedcontroller : EditController
ControllerState
 InheritedpreviousState : ControllerState
ControllerState
 Inherited_selection : Array
ControllerState
Public Methods
 MethodDefined by
  
DrawQuadrilateral
 Inherited
addToSelection(items:Array):void
ControllerState
  
enterState():void
DrawQuadrilateral
  
exitState(newState:ControllerState):void
DrawQuadrilateral
 Inherited
[static] Gets the way that the selected node is part of, if that makes sense.
ControllerState
 Inherited
hasAdjoiningWays():Boolean
ControllerState
 Inherited
hasSelectedAreas():Boolean
ControllerState
 Inherited
ControllerState
 Inherited
Determine whether or not any nodes are selected, and if so whether any of them belong to areas.
ControllerState
 Inherited
hasSelectedWays():Boolean
ControllerState
 Inherited
isSelectionState():Boolean
ControllerState
  
processKeyboardEvent(event:KeyboardEvent):ControllerState
DrawQuadrilateral
  
processMouseEvent(event:MouseEvent, entity:Entity):ControllerState
DrawQuadrilateral
 Inherited
removeFromSelection(items:Array):void
ControllerState
 Inherited
setController(controller:EditController):void
ControllerState
 Inherited
setPreviousState(previousState:ControllerState):void
ControllerState
 Inherited
toggleSelection(item:Entity):Boolean
ControllerState
  
toString():String
DrawQuadrilateral
Protected Methods
 MethodDefined by
 Inherited
getMapPaint(d:DisplayObject):MapPaint
Find the MapPaint object that this DisplayObject belongs to.
ControllerState
 Inherited
getNodeIndex(way:Way, node:Node):uint
ControllerState
 Inherited
repeatTags(object:Entity):void
Create a "repeat tags" action on the current entity, if possible.
ControllerState
 Inherited
revertHandler(event:CloseEvent):void
ControllerState
 Inherited
Revert all selected items to previously saved state, via a dialog box.
ControllerState
 Inherited
setSourceTag():void
Create an action to add "source= tag to current entity based on background imagery.
ControllerState
 Inherited
sharedKeyboardEvents(event:KeyboardEvent):ControllerState
Default behaviour for the current state that should be called if state-specific action has been taken care of or ruled out.
ControllerState
 Inherited
sharedMouseEvents(event:MouseEvent, entity:Entity):ControllerState
Default behaviour for the current state that should be called if state-specific action has been taken care of or ruled out.
ControllerState
Constructor detail
DrawQuadrilateral()constructor
public function DrawQuadrilateral(node:Node)Parameters
node:Node
Method detail
enterState()method
public override function enterState():void
exitState()method 
public override function exitState(newState:ControllerState):voidParameters
newState:ControllerState
processKeyboardEvent()method 
public override function processKeyboardEvent(event:KeyboardEvent):ControllerStateParameters
event:KeyboardEvent

Returns
ControllerState
processMouseEvent()method 
public override function processMouseEvent(event:MouseEvent, entity:Entity):ControllerStateParameters
event:MouseEvent
 
entity:Entity

Returns
ControllerState
toString()method 
public override function toString():String

Returns
String