GoDiagram Win Reference
GoObject Class Methods


For a list of all members of this type, see GoObject members.

Public Methods
 NameDescription
Public MethodAddObserverRegister an object as an observer of changes to this object.  
Public MethodAddSelectionHandlesAdd selection handles for this object for the given selection collection.  
Public MethodCanCopyCalled to see if the user can copy this object.  
Public MethodCanDeleteCalled to see if the user can delete this object.  
Public MethodCanEditCalled to see if the user can edit this object.  
Public MethodCanMoveCalled to see if the user can move this object.  
Public MethodCanPrintCalled to see if the view can print this object.  
Public MethodCanReshapeCalled to see if the user can reshape this object.  
Public MethodCanResizeCalled to see if the user can resize this object.  
Public MethodCanSelectCalled to see if the user can select this object.  
Public MethodCanViewCalled to see if the user can see this object.  
Public MethodChangedNotify this object's document or view that some part of this object's state has been changed, via the GoDocument.Changed event and using the GoChangedEventArgs event args class.  
Public MethodChangeValuePerform an undo or redo, given a GoChangedEventArgs representing a change on this object.  
Public MethodChangingNotify this object's document or view that some part of this object's state is about to be changed.  
Public MethodComputeMoveCalculate a new location for this object.  
Public MethodComputeResizeCalculate a new bounding rectangle for this object.  
Public MethodContainedByRectangleDetermine if a given rectangle completely encloses this object.  
Public MethodContainsPointDetermine if a given point is inside and on this object.  
Public MethodCopyThis convenience method just makes a copy of the object itself, using a generic GoCopyDictionary.  
Public MethodCopyNewValueForRedoPreserve any mutable state needed to perform an IGoUndoableEdit.Redo.  
Public MethodCopyObjectCalled during the first phase of the copy process to produce a copy of this object within the given copy dictionary.  
Public MethodCopyObjectDelayedFor objects that require a second pass to complete the copying, this method is called after the first pass of copying all of the objects in CopyFromCollection(IGoCollection).  
Public MethodCopyOldValueForUndoPreserve any mutable state needed to perform an IGoUndoableEdit.Undo.  
Public MethodCreateBoundingHandleCreate a bounding handle for this object.  
Public MethodCreateEditorCreate a GoControl that implements an editor for this object in the given view.  
Public MethodCreateResizeHandleCreate a resize handle for this object, given a handle ID.  
Public MethodDoBeginEditStart editing this object in the given view.  
Public MethodDoEndEditStop editing this object in the given view.  
Public MethodDoMoveCalled when a user moves this object.  
Public MethodDoResizeCalled when a user resizes this object.  
Public MethodExpandPaintBoundsExpand a bounding rectangle to better represent where this object is painted.  
Public Methodstatic (Shared in Visual Basic)FindCommonParentFind the GoGroup that is closest parent group for this object and another.  
Public MethodGetContextMenuCalled to get a GoContextMenu to display for this object.  
Public MethodGetContextMenuStripCalled to get a ContextMenuStrip to display for this object.  
Public MethodGetCursorNameCalled by OnMouseOver to determine the cursor, if any, to display over this object.  
Public MethodGetNearestIntersectionPointOverloaded. Find the closest point in this object to a given point that is on a line from that point.  
Public MethodGetPartInfoReturn a GoPartInfo that describes this object and that can be transmitted to the client (user agent) as JavaScript data structures that can be used by code running on the client.  
Public MethodGetRectangleSpotLocationGet the position of a spot in a rectangle.  
Public MethodGetShadowBrushGet a Brush for painting a drop shadow in the given view.  
Public MethodGetShadowOffsetGets the size of a drop shadow for this object in the given view.  
Public MethodGetShadowPenGet a Pen for painting a drop shadow in the given view.  
Public MethodGetSpotLocationGet the position of a spot on this object.  
Public MethodGetToolTipCalled to get a String to display as a tooltip for this object.  
Public MethodInvalidateViewsCause all views to repaint this object when they get a chance.  
Public MethodIsChildOfDetermines if this object is a child, perhaps indirectly, of the given object.  
Public Methodstatic (Shared in Visual Basic)LargestSizeKeepingAspectRatioCompute a SizeF that fits in target while maintaining the aspect ratio given by aspect.  
Public Methodstatic (Shared in Visual Basic)MakeRectOverloaded. A static method for converting a float to a RectangleF, for calls to Changed.  
Public MethodOnContextClickCalled when the user context clicks on this object.  
Public MethodOnDoubleClickCalled when the user double clicks on this object.  
Public MethodOnEnterLeaveCalled when the document object immediately under the mouse changes as the mouse moves when no particular tool is running or when the GoToolDragging tool is running.  
Public MethodOnGotSelectionCalled when this object becomes selected.  
Public MethodOnHoverCalled when the user hovers over this object.  
Public MethodOnLostSelectionCalled when this object becomes unselected.  
Public MethodOnMouseOverCalled when the user moves the mouse over this object when not dragging or resizing.  
Public MethodOnSelectionDroppedCalled after the user has dropped the selection on this object.  
Public MethodOnSelectionDropRejectCalled during a user's drag of the view's Selection when the mouse is over this object, to give this object a chance to veto a drop.  
Public MethodOnSingleClickCalled when the user single clicks on this object.  
Public MethodPaintRender this object to a Graphics object.  
Public MethodPickReturn an object at a point, perhaps only a selectable one.  
Public MethodRemoveThis convenience method just removes this object from its container, if there is any.  
Public MethodRemoveObserverMake sure an object is not an observer of changes to this object.  
Public MethodRemoveSelectionHandlesRemove all selection handles for this object for the given selection collection.  
Public MethodSetRectangleSpotLocationModify a rectangle such that its new spot location is at a given point.  
Public MethodSetSizeKeepingLocationSets a new size for this object while maintaining the same location.  
Public MethodSetSpotLocationOverloaded. Move this object so this object's given spot is at the given location.  
Public MethodSpotOppositeGet the spot that is on the opposite side of a given spot.  
Top
Protected Methods
 NameDescription
Protected MethodComputeBoundsRecalculates the actual bounding rectangle for this object when it might be invalid.  
Protected MethodOnBoundsChangedCalled after this object's bounds has changed.  
Protected MethodOnLayerChangedCalled when this object's layer is changed.  
Protected MethodOnObservedChangedCalled when an observed object has been changed.  
Protected MethodOnParentChangedCalled when this object's parent is changed.  
Top
See Also

Reference

GoObject Class
Northwoods.Go Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback