C# Класс UMD.HCIL.Piccolo.PInputManager

PInputManager is responsible for dispatching PInputEvents to node's event listeners.
Events are dispatched from PRoot's processInputs method.
Наследование: InputSource
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

CheckForMouseDragEnteredAndExited() публичный Метод

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.
Результат void

CheckForMouseEnteredAndExited() публичный Метод

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.
Результат void

Dispatch() публичный Метод

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.
Результат void

DispatchToPath() публичный Метод

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.
Результат void

PInputManager() публичный Метод

Constructs a new PInputManager.
public PInputManager ( ) : System
Результат System

ProcessEventFromCamera() публичный Метод

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.
Результат void

ProcessInput() публичный Метод

Create a new PInputEvent based on the next windows event and dispatch it to Piccolo.
public ProcessInput ( ) : void
Результат void