Piccolo.NET

PSelectionEventHandler Methods

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

Public Instance Methods

ActivityFinished (inherited from PDragSequenceEventHandler) Called when the drag activity stops running.
ActivityStarted (inherited from PDragSequenceEventHandler) Called when the drag activity starts running.
ActivityStepped (inherited from PDragSequenceEventHandler) Called when the drag activity is running.
AddSelectableParent Adds the specified node to the list of selectable parents.
DecorateSelectedNode Adds bounds handles to the given node.
DoesAcceptEvent (inherited from PBasicInputEventHandler) Returns true if the filter accepts the given event and false otherwise.
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.
GetType (inherited from Object)Gets the Type of the current instance.
IsMarqueeSelection Returns a value indicating whether the event represents a marquee selection or a normal selection.
IsOptionSelection Returns a value indicating whether or not the input event was modified with a Shift key, in which case multiple selections will be allowed.
IsSelected Returns true if the specified node is currently selected and false otherwise.
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. Deletes selection when delete key is pressed (if enabled).
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 (inherited from PDragSequenceEventHandler) Overridden. See PBasicInputEventHandler.OnMouseDown.
OnMouseDrag (inherited from PDragSequenceEventHandler) Overridden. See PBasicInputEventHandler.OnMouseDrag.
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 PDragSequenceEventHandler) Overridden. See PBasicInputEventHandler.OnMouseUp.
OnMouseWheel (inherited from PBasicInputEventHandler) Called when a MouseWheel event is sent to this listener.
RemoveSelectableParent Removes the specified node from the list of selectable parents.
SelectOverloaded. Selects the given node, if it is not already selected, and posts a SELECTION_CHANGED_NOTIFICATION if the current selection has changed.
ToString (inherited from PBasicInputEventHandler) Overridden. Returns a string representation of this object for debugging purposes.
UndecorateSelectedNode Removes bounds handles from the given node.
UnselectOverloaded. Unselects the given node, if it is currently selected, and posts a SELECTION_CHANGED_NOTIFICATION if the current selection has changed.
UnselectAll Unselects all the nodes that are currently selected, and posts a SELECTION_CHANGED_NOTIFICATION if the current selection has changed.

Protected Instance Methods

ComputeMarqueeSelection Select the selectable nodes whose bounds intersect the marquee, unselecting previously selected nodes.
ComputeOptionMarqueeSelection Select the selectable nodes whose bounds intersect the marquee, without unselecting previously selected nodes.
CreateNodeFilter Creates a new PSelectionEventHandler.BoundsFilter with the given bounds.
DragStandardSelection Drags the nodes in a standard selection.
EndMarqueeSelection Ends a marquee selection sequence.
EndStandardSelection Ends a standard selection sequence.
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.
Init Called by the constructors to perform some common initialization tasks.
InitializeMarquee Sets some initial values for the marquee including it's brush and pen.
InitializeSelection Sets the initial press point and press node for the selection.
InternalSelect Selects the given node, if it is not already selected.
InternalUnselect Unselects the given node, if it is currently selected.
IsSelectable Determines if the specified node is selectable (i.e., if it is a child of a node in the list of selectable parents).
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnDrag Overridden. See PDragSequenceEventHandler.OnDrag.
OnDragActivityFinalStep (inherited from PDragSequenceEventHandler) Override this method to get notified when the drag activity stops stepping.
OnDragActivityFirstStep (inherited from PDragSequenceEventHandler) Override this method to get notified when the drag activity is stepping.
OnDragActivityStep Overridden. This gets called continuously during the drag, and is used to animate the marquee.
OnEndDrag Overridden. See PDragSequenceEventHandler.OnEndDrag.
OnStartDrag Overridden. See PDragSequenceEventHandler.OnStartDrag.
PBasicInputEventHandlerAcceptsEvent (inherited from PBasicInputEventHandler) The filter for a PBasicInputEventHandler. This method only rejects an event if it has already been marked as handled.
SelectOverloaded. Selects each node used as a key in the dictionary, if the node is not already selected.
SetSafeMarqueePen When the width and the height are too small to render the path using the current pen, this method sets the marquee to a pen that can render the path safely.
ShouldStartDragInteraction (inherited from PDragSequenceEventHandler) Returns true if a drag sequence should be initiated.
StartDragActivity (inherited from PDragSequenceEventHandler) Schedules the drag activity to run.
StartMarqueeSelection Starts a marquee selection sequence.
StartOptionMarqueeSelection Starts an option marquee selection sequence (i.e. a marquee selection sequence where the Shift key was pressed).
StartStandardOptionSelection Starts an option selection sequence (i.e. a selection sequence where the Shift key was pressed).
StartStandardSelection Starts a standard selection sequence.
UnselectOverloaded. Unselects each node in the collection, if the node is currently selected.
UpdateMarquee Update the marquee bounds based on the given event data.

See Also

PSelectionEventHandler Class | UMD.HCIL.PiccoloX.Events Namespace


Web Accessibility