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
Afficher le fichier Open project: ME3Explorer/ME3Explorer

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

CheckForMouseEnteredAndExited() public méthode

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.
Résultat void

Dispatch() public méthode

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.
Résultat void

DispatchToPath() public méthode

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.
Résultat void

PInputManager() public méthode

Constructs a new PInputManager.
public PInputManager ( ) : System
Résultat System

ProcessEventFromCamera() public méthode

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.
Résultat void

ProcessInput() public méthode

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