C# Class PurplePen.DefaultMode

Inheritance: BaseMode
Show file Open project: petergolde/PurplePen

Public Methods

Method Description
CanCancel ( ) : bool
DefaultMode ( Controller controller, EventDB eventDB, SymbolDB symbolDB, SelectionMgr selectionMgr ) : System
GetHighlights ( Pane pane ) : IMapViewerHighlight[]
GetMouseCursor ( Pane pane, PointF location, float pixelSize ) : Cursor
GetToolTip ( Pane pane, PointF location, float pixelSize, string &tipText, string &titleText ) : bool
LeftButtonClick ( Pane pane, PointF location, float pixelSize, 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

Private Methods

Method Description
DraggableObject ( CourseObj courseObject ) : bool
HitTest ( Pane pane, PointF location, float pixelSize, Predicate filter ) : CourseObj
HitTestDraggable ( PointF location, float pixelSize ) : CourseObj
HitTestHandle ( PointF location, float pixelSize, PointF &handleLocation, Cursor &handleCursor ) : CourseObj
SelectableObject ( CourseObj courseObject ) : bool

Method Details

CanCancel() public method

public CanCancel ( ) : bool
return bool

DefaultMode() public method

public DefaultMode ( Controller controller, EventDB eventDB, SymbolDB symbolDB, SelectionMgr selectionMgr ) : System
controller Controller
eventDB EventDB
symbolDB SymbolDB
selectionMgr SelectionMgr
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

GetToolTip() public method

public GetToolTip ( Pane pane, PointF location, float pixelSize, string &tipText, string &titleText ) : bool
pane Pane
location System.Drawing.PointF
pixelSize float
tipText string
titleText string
return bool

LeftButtonClick() public method

public LeftButtonClick ( Pane pane, PointF location, float pixelSize, bool &displayUpdateNeeded ) : void
pane Pane
location System.Drawing.PointF
pixelSize float
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