C# Class PurplePen.AddDescriptionMode

Inheritance: BaseMode
ファイルを表示 Open project: petergolde/PurplePen

Public Methods

Method Description
AddDescriptionMode ( Controller controller, UndoMgr undoMgr, SelectionMgr selectionMgr, EventDB eventDB, SymbolDB symbolDB, CourseDesignator courseDesignator, DescriptionLine description, DescriptionKind kind ) : System
GetHighlights ( Pane pane ) : IMapViewerHighlight[]
GetMouseCursor ( Pane pane, PointF location, float pixelSize ) : Cursor
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

Private Methods

Method Description
DragTo ( PointF location ) : void

Method Details

AddDescriptionMode() public method

public AddDescriptionMode ( Controller controller, UndoMgr undoMgr, SelectionMgr selectionMgr, EventDB eventDB, SymbolDB symbolDB, CourseDesignator courseDesignator, DescriptionLine description, DescriptionKind kind ) : System
controller Controller
undoMgr UndoMgr
selectionMgr SelectionMgr
eventDB EventDB
symbolDB SymbolDB
courseDesignator CourseDesignator
description DescriptionLine
kind DescriptionKind
return System

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

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