C# Class PurplePen.BaseMode

Inheritance: ICommandMode
Afficher le fichier Open project: petergolde/PurplePen

Méthodes publiques

Méthode Description
BeginMode ( ) : void
CanCancel ( ) : bool
EndMode ( ) : void
GetHighlights ( Pane pane ) : IMapViewerHighlight[]
GetMouseCursor ( Pane pane, PointF location, float pixelSize ) : Cursor
GetToolTip ( Pane pane, PointF location, float pixelSize, string &tipText, string &titleText ) : bool
LeftButtonCancelDrag ( Pane pane, bool &displayUpdateNeeded ) : void
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
LeftButtonEndDrag ( Pane pane, PointF location, PointF locationStart, float pixelSize, bool &displayUpdateNeeded ) : void
LeftButtonUp ( Pane pane, PointF location, float pixelSize, bool &displayUpdateNeeded ) : void
MouseMoved ( Pane pane, PointF location, float pixelSize, bool &displayUpdateNeeded ) : void
RightButtonCancelDrag ( Pane pane, bool &displayUpdateNeeded ) : void
RightButtonClick ( Pane pane, PointF location, float pixelSize, bool &displayUpdateNeeded ) : void
RightButtonDown ( Pane pane, PointF location, float pixelSize, bool &displayUpdateNeeded ) : MapViewer.DragAction
RightButtonDrag ( Pane pane, PointF location, PointF locationStart, float pixelSize, bool &displayUpdateNeeded ) : void
RightButtonEndDrag ( Pane pane, PointF location, PointF locationStart, float pixelSize, bool &displayUpdateNeeded ) : void
RightButtonUp ( Pane pane, PointF location, float pixelSize, bool &displayUpdateNeeded ) : void

Méthodes protégées

Méthode Description
ConvertTextPartsToToolTip ( TextPart textParts, string &tipText, string &tipTitle ) : void

Method Details

BeginMode() public méthode

public BeginMode ( ) : void
Résultat void

CanCancel() public méthode

public CanCancel ( ) : bool
Résultat bool

ConvertTextPartsToToolTip() protected méthode

protected ConvertTextPartsToToolTip ( TextPart textParts, string &tipText, string &tipTitle ) : void
textParts TextPart
tipText string
tipTitle string
Résultat void

EndMode() public méthode

public EndMode ( ) : void
Résultat void

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

GetToolTip() public méthode

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

LeftButtonCancelDrag() public méthode

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

LeftButtonClick() public méthode

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

LeftButtonUp() public méthode

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

MouseMoved() public méthode

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

RightButtonCancelDrag() public méthode

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

RightButtonClick() public méthode

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

RightButtonDown() public méthode

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

RightButtonDrag() public méthode

public RightButtonDrag ( 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

RightButtonEndDrag() public méthode

public RightButtonEndDrag ( 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

RightButtonUp() public méthode

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