GoDiagram Web Reference
GoSelection Class Members
Properties  Methods 


The following tables list the members exposed by GoSelection.

Public Constructors
 NameDescription
Public ConstructorGoSelection ConstructorCreate an empty collection of objects representing the user's selection for a view.  
Top
Public Properties
 NameDescription
Public PropertyBackwardsGets an enumerable whose enumerator will iterate over the GoObjects in reverse order. (Inherited from Northwoods.GoWeb.GoCollection)
Public PropertyCountGets the number of objects in this collection. (Inherited from Northwoods.GoWeb.GoCollection)
Public PropertyFirstGets the first object in this collection. (Inherited from Northwoods.GoWeb.GoCollection)
Public PropertyFocusedGets whether this selection thinks its view has gotten focus.  
Public PropertyHotSpotGets or sets the offset for where the mouse pointer should be, relative to the GoObject.Position of the Primary selection.  
Public PropertyIsEmptyThis predicate is true when there are no objects in this collection. (Inherited from Northwoods.GoWeb.GoCollection)
Public PropertyIsReadOnlyTrue when this collection may not be modified. (Inherited from Northwoods.GoWeb.GoCollection)
Public PropertyLastGets the last object in this collection. (Inherited from Northwoods.GoWeb.GoCollection)
Public PropertyPrimaryGets the first object in this selection.  
Public PropertyViewGets the view that maintains this selection collection.  
Top
Public Methods
 NameDescription
Public MethodAddOverridden. Add an object to this selection.  
Public MethodAddAllSelectionHandlesCall GoObject.AddSelectionHandles on the GoObject.SelectionObject of each selected object if GoObject.CanView is true, or call GoObject.RemoveSelectionHandles otherwise.  
Public MethodAddHandleAssociate a handle with an object in this selection.  
Public MethodAddRangeOverridden. Call GoView.RaiseSelectionStarting and GoView.RaiseSelectionFinished around the addition of all of the objects in the given collection to this selection.  
Public MethodClearOverridden. Clearing the selection raises the GoView.GoView.SelectionStarting and GoView.SelectionFinished events, if there were multiple objects selected.  
Public MethodContainsOverridden. Determine if an object is part of this selection.  
Public MethodCopyArrayReturns a newly allocated array of all of the GoObjects in the collection. (Inherited from Northwoods.GoWeb.GoCollection)
Public MethodCopyToCopy references to all of the objects in this collection into an array. (Inherited from Northwoods.GoWeb.GoCollection)
Public MethodCreateBoundingHandleCreate and determine the appearance of a large handle around an object.  
Public MethodCreateResizeHandleCreate and determine the appearance of a small handle for an object.  
Public MethodFindHandleByIDFind a particular selection handle for an object, given its IGoHandle.HandleID.  
Public MethodGetAnExistingHandleReturn one of the handles associated with an object in this selection.  
Public MethodGetEnumeratorGets an enumerator for iterating over the GoObjects in this collection. (Inherited from Northwoods.GoWeb.GoCollection)
Public MethodGetHandleCountReturn the number of handles associated with an object in this selection.  
Public MethodGetHandleEnumerableReturn an enumerable collection of the selection handles for an object.  
Public MethodOnGotFocusThis method is called to make sure all selection handles appear normally.  
Public MethodOnLostFocusThis method is called to make sure all selection handles either disappear (if GoView.HidesSelection is true), or appear with the GoView.NoFocusSelectionColor (if different from GoView.PrimarySelectionColor).  
Public MethodRemoveOverridden. Remove an object from this selection.  
Public MethodRemoveAllSelectionHandlesCall GoObject.RemoveSelectionHandles on the GoObject.SelectionObject of each selected object.  
Public MethodRemoveHandlesRemove all handles associated with an object in this selection.  
Public MethodSelectMake the given object the one and only selected object.  
Public MethodToggleIf the given object is part of this selection, remove it; otherwise add it.  
Top
See Also

Reference

GoSelection Class
Northwoods.GoWeb Namespace

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback