C# Class UMD.HCIL.Piccolo.PInputManager

PInputManager is responsible for dispatching PInputEvents to node's event listeners.
Events are dispatched from PRoot's processInputs method.
Inheritance: InputSource
Datei anzeigen Open project: ME3Explorer/ME3Explorer

Public Methods

Method Description
CheckForMouseDragEnteredAndExited ( PInputEventArgs e ) : void

Check if the mouse has entered or exited a node during a drag and drop operation and, if so, dispatch the appropriate event.

CheckForMouseEnteredAndExited ( PInputEventArgs e ) : void

Check if the mouse has entered or exited a node during a mouse move or drag operation and, if so, dispatch the appropriate event.

Dispatch ( PInputEventArgs e ) : void

Dispatch the given event to the appropriate focus node.

DispatchToPath ( PInputEventArgs e, PInputType type, UMD.HCIL.Piccolo.Util.PPickPath path ) : void

Dispatch the given PInputEvent to the given pick path.

PInputManager ( ) : System

Constructs a new PInputManager.

ProcessEventFromCamera ( EventArgs e, PInputType type, UMD.HCIL.Piccolo.PCamera camera, UMD.HCIL.Piccolo.PCanvas canvas ) : void

Process the given windows event from the camera.

ProcessInput ( ) : void

Create a new PInputEvent based on the next windows event and dispatch it to Piccolo.

Method Details

CheckForMouseDragEnteredAndExited() public method

Check if the mouse has entered or exited a node during a drag and drop operation and, if so, dispatch the appropriate event.
public CheckForMouseDragEnteredAndExited ( PInputEventArgs e ) : void
e UMD.HCIL.Piccolo.Event.PInputEventArgs A PInputEventArgs that contains the event data.
return void

CheckForMouseEnteredAndExited() public method

Check if the mouse has entered or exited a node during a mouse move or drag operation and, if so, dispatch the appropriate event.
public CheckForMouseEnteredAndExited ( PInputEventArgs e ) : void
e UMD.HCIL.Piccolo.Event.PInputEventArgs A PInputEventArgs that contains the event data.
return void

Dispatch() public method

Dispatch the given event to the appropriate focus node.
public Dispatch ( PInputEventArgs e ) : void
e UMD.HCIL.Piccolo.Event.PInputEventArgs An PInputEventArgs that contains the event data.
return void

DispatchToPath() public method

Dispatch the given PInputEvent to the given pick path.
public DispatchToPath ( PInputEventArgs e, PInputType type, UMD.HCIL.Piccolo.Util.PPickPath path ) : void
e UMD.HCIL.Piccolo.Event.PInputEventArgs A PInputEventArgs that contains the event data.
type PInputType The type of PInputEvent being dispatched.
path UMD.HCIL.Piccolo.Util.PPickPath The pick path to which the PInputEvent will be dispatched.
return void

PInputManager() public method

Constructs a new PInputManager.
public PInputManager ( ) : System
return System

ProcessEventFromCamera() public method

Process the given windows event from the camera.
public ProcessEventFromCamera ( EventArgs e, PInputType type, UMD.HCIL.Piccolo.PCamera camera, UMD.HCIL.Piccolo.PCanvas canvas ) : void
e System.EventArgs The windows event to be processed.
type PInputType The type of windows event being processed.
camera UMD.HCIL.Piccolo.PCamera The camera from which to process the windows event.
canvas UMD.HCIL.Piccolo.PCanvas The source of the windows event being processed.
return void

ProcessInput() public method

Create a new PInputEvent based on the next windows event and dispatch it to Piccolo.
public ProcessInput ( ) : void
return void