Piccolo.NET

PNavigationEventHandler Methods

The methods of the PNavigationEventHandler class are listed below. For a complete list of PNavigationEventHandler class members, see the PNavigationEventHandler Members topic.

Public Instance Methods

DirectCameraViewToFocus Animates the camera's view to keep the focus node on the screen and at 100 percent scale with minimal view movement.
DoesAcceptEvent Overridden. Accepts left mouse button events and non-mouse events.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetNeighborInDirection Gets the nearest neighbor in the specified direction.
GetNeighbors Get a list of all neighbors (parent, siblings and children).
GetType (inherited from Object)Gets the Type of the current instance.
MoveFocusDown Moves the focus to the nearest node below this node.
MoveFocusIn Moves the focus to the nearest child of this node.
MoveFocusLeft Moves the focus to the nearest node left of this node.
MoveFocusOut Moves the focus to the nearest ancestor of this node.
MoveFocusRight Moves the focus to the nearest node right of this node.
MoveFocusToMouseOver Moves the focus to the node under the cursor.
MoveFocusUp Moves the focus to the nearest node above this node.
NodeIsNeighborInDirection Returns true if the given node is a neighbor of the current focus in the specified direction.
OnClick (inherited from PBasicInputEventHandler) Called when a Click event is sent to this listener.
OnDoubleClick (inherited from PBasicInputEventHandler) Called when a DoubleClick event is sent to this listener.
OnDragDrop (inherited from PBasicInputEventHandler) Called when a DragDrop event is sent to this listener.
OnDragEnter (inherited from PBasicInputEventHandler) Called when a DragEnter event is sent to this listener.
OnDragLeave (inherited from PBasicInputEventHandler) Called when a DragLeave event is sent to this listener.
OnDragOver (inherited from PBasicInputEventHandler) Called when a DragOver event is sent to this listener.
OnGotFocus (inherited from PBasicInputEventHandler) Called when a GotFocus event is sent to this listener.
OnKeyDown Overridden. Handles key events that move the focus.
OnKeyPress (inherited from PBasicInputEventHandler) Called when a KeyPress event is sent to this listener.
OnKeyUp (inherited from PBasicInputEventHandler) Called when a KeyUp event is sent to this listener.
OnLostFocus (inherited from PBasicInputEventHandler) Called when a LostFocus event is sent to this listener.
OnMouseDown Overridden. Moves the focus to the node under the cursor.
OnMouseDrag (inherited from PBasicInputEventHandler) Called when a MouseDrag event is sent to this listener.
OnMouseEnter (inherited from PBasicInputEventHandler) Called when a MouseEnter event is sent to this listener.
OnMouseLeave (inherited from PBasicInputEventHandler) Called when a MouseLeave event is sent to this listener.
OnMouseMove (inherited from PBasicInputEventHandler) Called when a MouseMove event is sent to this listener.
OnMouseUp (inherited from PBasicInputEventHandler) Called when a MouseUp event is sent to this listener.
OnMouseWheel (inherited from PBasicInputEventHandler) Called when a MouseWheel event is sent to this listener.
SortNodesByDistanceFromPoint Sorts the given list of nodes by their distance from the given point. Nodes closest to the point will be placed first in the list.
ToString (inherited from PBasicInputEventHandler) Overridden. Returns a string representation of this object for debugging purposes.

Protected Instance Methods

AnimateCameraViewMatrixTo Animate the camera's view matrix from its current value when the activity starts to the new destination matrix value.
FillViewWhiteSpace Removes any white space. The canvas may be panned and zoomed in to do this.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
PBasicInputEventHandlerAcceptsEvent (inherited from PBasicInputEventHandler) The filter for a PBasicInputEventHandler. This method only rejects an event if it has already been marked as handled.

See Also

PNavigationEventHandler Class | UMD.HCIL.PiccoloX.Events Namespace