C# Class PurplePen.TopologyDragControlMode

Inheritance: BaseMode
显示文件 Open project: petergolde/PurplePen Class Usage Examples

Public Methods

Method Description
GetHighlights ( Pane pane ) : IMapViewerHighlight[]
GetMouseCursor ( Pane pane, PointF location, float pixelSize ) : Cursor
LeftButtonCancelDrag ( Pane pane, bool &displayUpdateNeeded ) : void
LeftButtonDown ( Pane pane, PointF location, float pixelSize, bool &displayUpdateNeeded ) : MapViewer.DragAction
LeftButtonDrag ( Pane pane, PointF location, PointF locationStart, float pixelSize, bool &displayUpdateNeeded ) : void
LeftButtonEndDrag ( Pane pane, PointF location, PointF locationStart, float pixelSize, bool &displayUpdateNeeded ) : void
TopologyDragControlMode ( Controller controller, EventDB eventDB, SelectionMgr selectionMgr, CourseObj courseObject, PointF startDrag, PointF currentLocation ) : System

Private Methods

Method Description
FindNearbyDropTarget ( PointF location ) : TopologyDropTargetCourseObj

Method Details

GetHighlights() public method

public GetHighlights ( Pane pane ) : IMapViewerHighlight[]
pane Pane
return IMapViewerHighlight[]

GetMouseCursor() public method

public GetMouseCursor ( Pane pane, PointF location, float pixelSize ) : Cursor
pane Pane
location System.Drawing.PointF
pixelSize float
return System.Windows.Forms.Cursor

LeftButtonCancelDrag() public method

public LeftButtonCancelDrag ( Pane pane, bool &displayUpdateNeeded ) : void
pane Pane
displayUpdateNeeded bool
return void

LeftButtonDown() public method

public LeftButtonDown ( Pane pane, PointF location, float pixelSize, bool &displayUpdateNeeded ) : MapViewer.DragAction
pane Pane
location System.Drawing.PointF
pixelSize float
displayUpdateNeeded bool
return MapViewer.DragAction

LeftButtonDrag() public method

public LeftButtonDrag ( Pane pane, PointF location, PointF locationStart, float pixelSize, bool &displayUpdateNeeded ) : void
pane Pane
location System.Drawing.PointF
locationStart System.Drawing.PointF
pixelSize float
displayUpdateNeeded bool
return void

LeftButtonEndDrag() public method

public LeftButtonEndDrag ( Pane pane, PointF location, PointF locationStart, float pixelSize, bool &displayUpdateNeeded ) : void
pane Pane
location System.Drawing.PointF
locationStart System.Drawing.PointF
pixelSize float
displayUpdateNeeded bool
return void

TopologyDragControlMode() public method

public TopologyDragControlMode ( Controller controller, EventDB eventDB, SelectionMgr selectionMgr, CourseObj courseObject, PointF startDrag, PointF currentLocation ) : System
controller Controller
eventDB EventDB
selectionMgr SelectionMgr
courseObject CourseObj
startDrag PointF
currentLocation PointF
return System