C# Class SuperMap.Web.Actions.Edit

${ui_action_Edit_Title}

${ui_action_Edit_Description}

Inheritance: MapAction
显示文件 Open project: SuperMap/iClient-for-Silverlight Class Usage Examples

Public Methods

Method Description
Deactivate ( ) : void

${ui_action_MapAction_method_deactivate_D}

Edit ( Map map, FeaturesLayer layer ) : System

${ui_action_Edit_constructor_D}

OnDblClick ( System.Windows.Input.MouseButtonEventArgs e ) : void

${ui_action_MapAction_event_onDblClick_D}

OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void

${ui_action_MapAction_event_onKeyDown_D}

OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void

${ui_action_MapAction_event_onMouseMove_D}

OnMouseRightButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void

${ui_action_MapAction_event_onMouseRightButtonDown_D}

StopEdit ( ) : void

${ui_action_Edit_method_stopEdit_D}

Private Methods

Method Description
FindPointOnLineClosestToPoint ( Point2D p0, Point2D p1, Point2D p ) : Point2D
OnGeometryEdit ( Feature f, GeometryEditAction action ) : void
SetDefaultStyle ( ) : void
addCenterFeature ( Feature feature ) : void
addHoverLineSegment ( Point2D p0, Point2D p1, int index0, int index1, Feature feature, Point2DCollection points, int partIndex ) : void
addHoverVertex ( Feature feature, GeoPoint p, int index, int partIndex ) : Feature
addOneVertex ( Feature hoverFeature, Point2D pMap ) : void
buildByGeoLine ( Feature feature ) : void
buildByGeoPoint ( Feature feature ) : void
buildByGeoRegion ( Feature feature ) : void
buildHoverLayer ( Feature feature ) : void
changeActiveFeatureVertex ( Point2D newPnt ) : void
changeCenterFeatureLocation ( ) : void
changeLineSegment ( Point2D newPnt ) : void
deleteOneVertex ( Feature hoverVertex ) : void
editLayer_MouseLeftButtonDown ( object sender, FeatureMouseButtonEventArgs args ) : void
editLayer_MouseLeftButtonUp ( object sender, FeatureMouseButtonEventArgs args ) : void
moveFeaturesOnVirtualLayer ( double deltaX, double deltaY ) : void
moveLineOrRegionFeature ( Point2D newPnt ) : void
prepareMoveLineOrRegionFeature ( Point2D start ) : void
prepareMovePointFeature ( Feature hoverFeature ) : void
rebuildHoverLayer ( Feature feature ) : void
startEdit ( Feature feature, bool suppressEvent ) : void
startEdit ( Feature feature, bool suppressEvent, Point2D start ) : void
startTracking ( ) : void
stopEdit ( bool suppressEvent ) : void
stopTracking ( ) : void
virtualLayer_MouseLeave ( object sender, FeatureMouseEventArgs args ) : void
virtualLayer_MouseLeftButtonDown ( object sender, FeatureMouseButtonEventArgs args ) : void
virtualLayer_MouseLeftButtonUp ( object sender, FeatureMouseButtonEventArgs args ) : void
virtualLayer_MouseMove ( object sender, FeatureMouseEventArgs args ) : void

Method Details

Deactivate() public method

${ui_action_MapAction_method_deactivate_D}
public Deactivate ( ) : void
return void

Edit() public method

${ui_action_Edit_constructor_D}
public Edit ( Map map, FeaturesLayer layer ) : System
map SuperMap.Web.Mapping.Map ${ui_action_Edit_constructor_param_map}
layer FeaturesLayer ${ui_action_Edit_constructor_param_layer}
return System

OnDblClick() public method

${ui_action_MapAction_event_onDblClick_D}
public OnDblClick ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs ${ui_action_MapAction_event_onDblClick_param_e}
return void

OnKeyDown() public method

${ui_action_MapAction_event_onKeyDown_D}
public OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs ${ui_action_MapAction_event_onKeyDown_param_e}
return void

OnMouseMove() public method

${ui_action_MapAction_event_onMouseMove_D}
public OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs ${ui_action_MapAction_event_onMouseMove_param_e}
return void

OnMouseRightButtonDown() public method

${ui_action_MapAction_event_onMouseRightButtonDown_D}
public OnMouseRightButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs ${ui_action_MapAction_event_onMouseRightButtonDown_param_e}
return void

StopEdit() public method

${ui_action_Edit_method_stopEdit_D}
public StopEdit ( ) : void
return void