API Documentation | All Packages | All Classes | Index | Frames No Frames |
Interface IEditFeature

Package | org.openscales.core.handler.feature.draw
Interface | public interface IEditFeature
Implementors | AbstractEditHandler

This is the interface for all modification handler

Public Methods

| Method | Defined by
--- | --- | ---
|  | dragVerticeStart(vectorfeature:PointFeature):void This function is launched when you are dragging a vertice(Virtual or not) | IEditFeature
|  | dragVerticeStop(vectorfeature:PointFeature):void This function is launched when you stop dragging a vertice(Virtual or not) | IEditFeature
|  | editionModeStart():Boolean Start the edition Mode | IEditFeature
|  | editionModeStop():Boolean Stop the edition Mode | IEditFeature
|  | featureClick(event:FeatureEvent):void This function is launched when you click on a vertice(Virtual or not) for the moment nothing is done | IEditFeature
|  | featureDoubleClick(event:FeatureEvent):void This function is launched when you double click on a vertice(Virtual or not) For the moment the vertice is deleted | IEditFeature
|  | refreshEditedfeatures(event:MapEvent = null):void This function is used for refreshing all edited features after event like Mapevent.zoomend or moveend | IEditFeature

Method detail

dragVerticeStart | () | method

`public function dragVerticeStart(vectorfeature:PointFeature):void`

This function is launched when you are dragging a vertice(Virtual or not)

Parameters

| `vectorfeature:PointFeature`

dragVerticeStop | () | method |

`public function dragVerticeStop(vectorfeature:PointFeature):void`

This function is launched when you stop dragging a vertice(Virtual or not)

Parameters

| `vectorfeature:PointFeature`

editionModeStart | () | method |

`public function editionModeStart():Boolean`

Start the edition Mode

Returns

| `Boolean`

editionModeStop | () | method |

`public function editionModeStop():Boolean`

Stop the edition Mode

Returns

| `Boolean`

featureClick | () | method |

`public function featureClick(event:FeatureEvent):void`

This function is launched when you click on a vertice(Virtual or not) for the moment nothing is done

Parameters

| `event:FeatureEvent`

featureDoubleClick | () | method |

`public function featureDoubleClick(event:FeatureEvent):void`

This 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 |

`public function refreshEditedfeatures(event:MapEvent = null):void`

This function is used for refreshing all edited features after event like Mapevent.zoomend or moveend

Parameters

| `event:MapEvent` (default = `null`)``