C# Class PurplePen.TopologyDragControlMode

Inheritance: BaseMode
Afficher le fichier Open project: petergolde/PurplePen Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
FindNearbyDropTarget ( PointF location ) : TopologyDropTargetCourseObj

Method Details

GetHighlights() public méthode

public GetHighlights ( Pane pane ) : IMapViewerHighlight[]
pane Pane
Résultat IMapViewerHighlight[]

GetMouseCursor() public méthode

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

LeftButtonCancelDrag() public méthode

public LeftButtonCancelDrag ( Pane pane, bool &displayUpdateNeeded ) : void
pane Pane
displayUpdateNeeded bool
Résultat void

LeftButtonDown() public méthode

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

LeftButtonDrag() public méthode

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
Résultat void

LeftButtonEndDrag() public méthode

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
Résultat void

TopologyDragControlMode() public méthode

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
Résultat System