ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ScottPlot.Interactivity.IUserActionResponse Interface Reference

Describes a class that has logic to watch user actions and manipulate the plot accordingly. More...

Inheritance diagram for ScottPlot.Interactivity.IUserActionResponse:
ScottPlot.Interactivity.UserActionResponses.KeyboardPanAndZoom

Public Member Functions

ResponseInfo Execute (IPlotControl plotControl, IUserAction userActions, KeyboardState keys)
 Perform the given action on the specified plot and return a result indicating what to do next.
 
void ResetState (IPlotControl plotControl)
 Reset state to what it was when the action response was first created. This method is called when the user processor resets (e.g., when the control loses and re-gains focus or is disabled and re-enabled) and is designed to reset responses like mouse-drag events that accumulate state.
 

Detailed Description

Describes a class that has logic to watch user actions and manipulate the plot accordingly.

Member Function Documentation

◆ Execute()

ResponseInfo ScottPlot.Interactivity.IUserActionResponse.Execute ( IPlotControl  plotControl,
IUserAction  userActions,
KeyboardState  keys 
)

Perform the given action on the specified plot and return a result indicating what to do next.

Implemented in ScottPlot.Interactivity.UserActionResponses.KeyboardPanAndZoom.

◆ ResetState()

void ScottPlot.Interactivity.IUserActionResponse.ResetState ( IPlotControl  plotControl)

Reset state to what it was when the action response was first created. This method is called when the user processor resets (e.g., when the control loses and re-gains focus or is disabled and re-enabled) and is designed to reset responses like mouse-drag events that accumulate state.

Implemented in ScottPlot.Interactivity.UserActionResponses.KeyboardPanAndZoom.


The documentation for this interface was generated from the following file: