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.
Exibir arquivo Open project: mono/nplot-gtk

Public Methods

Method 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 method

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
return bool

DoMouseLeave() public method

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
return bool

DoMouseMove() public method

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
return bool

DoMouseUp() public method

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
return bool

DoMouseWheel() public method

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
return bool

DoPaint() public method

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
return void