| Package | org.openscales.core.handler.feature.draw |
| Class | public class EditPointHandler |
| Inheritance | EditPointHandler AbstractEditHandler Handler Object |
| Method | Defined By | ||
|---|---|---|---|
EditPointHandler(map:Map = null, active:Boolean = false, layerToEdit:VectorLayer = null, featureClickHandler:FeatureClickHandler = null, drawContainer:Sprite = null, isUsedAlone:Boolean = true, featuresToEdit:Vector.<Feature> = null)
EditPointHandler
This handler is used for edition on selected point such operation as dragging or deleting
| EditPointHandler | ||
![]() | createEditionVertices(vectorfeature:Feature, collection:ICollection = null, arrayToFill:Vector.<Feature> = null):void
create edition vertice(Virtual) only for edition feature
| AbstractEditHandler | |
dragVerticeStart(vectorfeature:PointFeature):void [override]
This function is launched when you are dragging a vertice(Virtual or not)
| EditPointHandler | ||
dragVerticeStop(vectorfeature:PointFeature):void [override]
This function is launched when you stop dragging a vertice(Virtual or not)
| EditPointHandler | ||
editionModeStart():Boolean [override]
Start the edition Mode
| EditPointHandler | ||
![]() | editionModeStop():Boolean
Stop the edition Mode
| AbstractEditHandler | |
![]() | featureClick(event:FeatureEvent):void
This function is launched when you click on a vertice(Virtual or not)
for the moment nothing is done
| AbstractEditHandler | |
featureDoubleClick(event:FeatureEvent):void [override]
This function is launched when you double click on a vertice(Virtual or not)
For the moment the vertice is deleted
| EditPointHandler | ||
![]() | findVirtualVerticeParent(virtualVertice:PointFeature, arrayTosearch:Vector.<Feature> = null):Feature
This function is abble to find a virtual vertice parent
| AbstractEditHandler | |
refreshEditedfeatures(event:MapEvent = null):void [override]
This function is used to start the edition of all vector features
in a layer
only use by LayerEditionHandler
| EditPointHandler | ||
| EditPointHandler | () | Constructor |
public function EditPointHandler(map:Map = null, active:Boolean = false, layerToEdit:VectorLayer = null, featureClickHandler:FeatureClickHandler = null, drawContainer:Sprite = null, isUsedAlone:Boolean = true, featuresToEdit:Vector.<Feature> = null)EditPointHandler This handler is used for edition on selected point such operation as dragging or deleting
Parametersmap:Map (default = null) — object
| |
active:Boolean (default = false) — for handler activation
| |
layerToEdit:VectorLayer (default = null) | |
featureClickHandler:FeatureClickHandler (default = null) — handler only use it when you want to use this handler alone
| |
drawContainer:Sprite (default = null) | |
isUsedAlone:Boolean (default = true) | |
featuresToEdit:Vector.<Feature> (default = null) |
| dragVerticeStart | () | method |
override public function dragVerticeStart(vectorfeature:PointFeature):voidThis function is launched when you are dragging a vertice(Virtual or not)
Parameters
vectorfeature:PointFeature |
| dragVerticeStop | () | method |
override public function dragVerticeStop(vectorfeature:PointFeature):voidThis function is launched when you stop dragging a vertice(Virtual or not)
Parameters
vectorfeature:PointFeature |
| editionModeStart | () | method |
override public function editionModeStart():BooleanStart the edition Mode
ReturnsBoolean |
| featureDoubleClick | () | method |
override public function featureDoubleClick(event:FeatureEvent):voidThis function is launched when you double click on a vertice(Virtual or not) For the moment the vertice is deleted
Parameters
event:FeatureEvent |
| refreshEditedfeatures | () | method |
override public function refreshEditedfeatures(event:MapEvent = null):voidThis function is used to start the edition of all vector features in a layer only use by LayerEditionHandler
Parameters
event:MapEvent (default = null) |