Piccolo.NET

PSelectionEventHandler Members

PSelectionEventHandler overview

Public Static Fields

SELECTION_CHANGED_NOTIFICATION The name for a selection changed notificaton.

Public Instance Constructors

PSelectionEventHandlerOverloaded. Initializes a new instance of the PSelectionEventHandler class.

Public Instance Fields

AcceptsEvent (inherited from PBasicInputEventHandler) Used to add a filter to this event handler class.
Click (inherited from PBasicInputEventHandler) Used to handle Click events sent to this event handler class.
DoubleClick (inherited from PBasicInputEventHandler) Used to handle DoubleClick events sent to this event handler class.
Drag (inherited from PDragSequenceEventHandler) Used to notify classes of drag events in a drag sequence.
DragActivityFinalStep (inherited from PDragSequenceEventHandler) Used to notify classes that the drag activity has stopped stepping.
DragActivityFirstStep (inherited from PDragSequenceEventHandler) Used to notify classes that the drag activity has started stepping.
DragActivityStep (inherited from PDragSequenceEventHandler) Used to notify classes that the drag activity is stepping.
DragDrop (inherited from PBasicInputEventHandler) Used to handle DragDrop events sent to this event handler class.
DragEnter (inherited from PBasicInputEventHandler) Used to handle DragEnter events sent to this event handler class.
DragLeave (inherited from PBasicInputEventHandler) Used to handle DragLeave events sent to this event handler class.
DragOver (inherited from PBasicInputEventHandler) Used to handle DragOver events sent to this event handler class.
EndDrag (inherited from PDragSequenceEventHandler) Used to notify classes of the end of a drag sequence.
GotFocus (inherited from PBasicInputEventHandler) Used to handle GotFocus events sent to this event handler class.
KeyDown (inherited from PBasicInputEventHandler) Used to handle KeyDown events sent to this event handler class.
KeyPress (inherited from PBasicInputEventHandler) Used to handle KeyPress events sent to this event handler class.
KeyUp (inherited from PBasicInputEventHandler) Used to handle KeyUp events sent to this event handler class.
LostFocus (inherited from PBasicInputEventHandler) Used to handle LostFocus events sent to this event handler class.
MouseDown (inherited from PBasicInputEventHandler) Used to handle MouseDown events sent to this event handler class.
MouseDrag (inherited from PBasicInputEventHandler) Used to handle MouseDrag events sent to this event handler class.
MouseEnter (inherited from PBasicInputEventHandler) Used to handle MouseEnter events sent to this event handler class.
MouseLeave (inherited from PBasicInputEventHandler) Used to handle MouseLeave events sent to this event handler class.
MouseMove (inherited from PBasicInputEventHandler) Used to handle MouseMove sent to this event handler class.
MouseUp (inherited from PBasicInputEventHandler) Used to handle MouseUp events sent to this event handler class.
MouseWheel (inherited from PBasicInputEventHandler) Used to handle MouseWheel events sent to this event handler class.
StartDrag (inherited from PDragSequenceEventHandler) Used to notify classes of the start of a new drag sequence.

Public Instance Properties

DeleteKeyActive Gets or sets a value that indicates whether or not the Delete key should delete the selection.
DragActivity (inherited from PDragSequenceEventHandler) Gets the drag activity.
DragActivityStepInterval (inherited from PDragSequenceEventHandler) Gets the minimum number of milliseconds that the drag activity associated with this listener should delay between steps.
Dragging (inherited from PDragSequenceEventHandler) Gets or sets a value indicating whether the a drag sequence is in progress.
MarqueeBrush Gets or sets the brush used to fill the interior of the marquee.
MinDragStartDistance (inherited from PDragSequenceEventHandler) Gets or sets the minimum distance (in screen coordinates) the mouse must move before a drag sequence is initiated.
MousePressedCanvasPoint (inherited from PDragSequenceEventHandler) Gets or sets the point in canvas coordinates where the mouse was last pressed.
SelectableParent Clears the list of selectable parents and sets the given node as the only selectable parent.
SelectableParents Gets or sets the list of selectable parents.
Selection Gets a copy of the currently selected nodes.
SelectionReference Gets a reference to the currently selected nodes. You should not modify or store this collection.

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 Properties

MarqueeBounds Gets the bounds of the marquee, if the marquee exists.
ParamString (inherited from PDragSequenceEventHandler) Returns a string representing the state of this object.

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