C# Class NPlot.Windows.PlotSurface2D.Interactions.Interaction

Base class for an interaction. All methods are virtual. Not abstract as not all interactions need to use all methods. Default functionality for each method is to do nothing.
Afficher le fichier Open project: mono/nplot-gtk

Méthodes publiques

Méthode Description
DoMouseDown ( MouseEventArgs e, System ctr ) : bool

Handler for this interaction if a mouse down event is received.

DoMouseLeave ( EventArgs e, System ctr ) : bool

Handler for this interaction if a mouse Leave event is received.

DoMouseMove ( MouseEventArgs e, System ctr, KeyEventArgs lastKeyEventArgs ) : bool

Handler for this interaction if a mouse move event is received.

DoMouseUp ( MouseEventArgs e, System ctr ) : bool

Handler for this interaction if a mouse up event is received.

DoMouseWheel ( MouseEventArgs e, System ctr ) : bool

Handler for this interaction if a mouse move event is received.

DoPaint ( PaintEventArgs pe, int width, int height ) : void

Handler for this interaction if a paint event is received.

Method Details

DoMouseDown() public méthode

Handler for this interaction if a mouse down event is received.
public DoMouseDown ( MouseEventArgs e, System ctr ) : bool
e MouseEventArgs event args
ctr System reference to the control
Résultat bool

DoMouseLeave() public méthode

Handler for this interaction if a mouse Leave event is received.
public DoMouseLeave ( EventArgs e, System ctr ) : bool
e System.EventArgs event args
ctr System reference to the control
Résultat bool

DoMouseMove() public méthode

Handler for this interaction if a mouse move event is received.
public DoMouseMove ( MouseEventArgs e, System ctr, KeyEventArgs lastKeyEventArgs ) : bool
e MouseEventArgs event args
ctr System reference to the control
lastKeyEventArgs System.Windows.Forms.KeyEventArgs
Résultat bool

DoMouseUp() public méthode

Handler for this interaction if a mouse up event is received.
public DoMouseUp ( MouseEventArgs e, System ctr ) : bool
e MouseEventArgs event args
ctr System reference to the control
Résultat bool

DoMouseWheel() public méthode

Handler for this interaction if a mouse move event is received.
public DoMouseWheel ( MouseEventArgs e, System ctr ) : bool
e MouseEventArgs event args
ctr System reference to the control
Résultat bool

DoPaint() public méthode

Handler for this interaction if a paint event is received.
public DoPaint ( PaintEventArgs pe, int width, int height ) : void
pe PaintEventArgs paint event args
width int
height int
Résultat void