GoDiagram Web Reference
GoLabeledLink Class Members
Fields  Properties  Methods 


The following tables list the members exposed by GoLabeledLink.

Public Constructors
 NameDescription
Public ConstructorGoLabeledLink ConstructorThe constructor produces a link with no labels that is connected to no ports, and is not movable by the user.  
Top
Public Fields
 NameDescription
Public FieldChangedFromLabelThis is a GoObject.Changed subhint.  
Public FieldChangedFromLabelCenteredThis is a GoObject.Changed subhint.  
Public FieldChangedLinkThis is a GoObject.Changed subhint.  
Public FieldChangedMidLabelThis is a GoObject.Changed subhint.  
Public FieldChangedMidLabelCenteredThis is a GoObject.Changed subhint.  
Public FieldChangedToLabelThis is a GoObject.Changed subhint.  
Public FieldChangedToLabelCenteredThis is a GoObject.Changed subhint.  
Top
Public Properties
 NameDescription
Public PropertyAdjustingStyleGets or sets the RealLink's GoLink.AdjustingStyle property.  
Public PropertyAutoRescalesGets or sets whether this object automatically rescales its appearance when its size changes. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyAvoidsNodesGets or sets the RealLink's GoLink.AvoidsNodes property.  
Public PropertyBottomGets or sets this object's bottom coordinate. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyBrushColorGets or sets the RealLink's GoShape.Brush property.  
Public PropertyChildNamesGets a Dictionary of name/child mappings in both directions. (Inherited from Northwoods.GoWeb.GoGroup)
Public PropertyCopyableGets or sets whether the user can copy this object. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyCountGets the number of child objects in this group. (Inherited from Northwoods.GoWeb.GoGroup)
Public PropertyCurvinessGets or sets the RealLink's GoStroke.Curviness property.  
Public PropertyDeletableGets or sets whether the user can delete this object. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyDocumentGets the document that this object belongs to, or null if this is not in a layer or if this is in a view layer. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyDraggingObjectGets the object that will be dragged instead of this selected object. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyDragsNodeGets or sets whether this object, when selected and a child of a group, and when dragged, drags the parent node instead. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyEditableGets or sets whether the user can edit this object. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyFirstGets the first child object of this group. (Inherited from Northwoods.GoWeb.GoGroup)
Public PropertyFromArrowGets or sets the RealLink's GoStroke.FromArrow property.  
Public PropertyFromArrowFilledGets or sets the RealLink's GoStroke.FromArrowFilled property.  
Public PropertyFromArrowLengthGets or sets the RealLink's GoStroke.FromArrowLength property.  
Public PropertyFromArrowShaftLengthGets or sets the RealLink's GoStroke.FromArrowShaftLength property.  
Public PropertyFromArrowStyleGets or sets the RealLink's GoStroke.FromArrowStyle property.  
Public PropertyFromArrowWidthGets or sets the RealLink's GoStroke.FromArrowWidth property.  
Public PropertyFromLabelGets or sets the label object associated with the source end of the link.  
Public PropertyFromLabelCenteredGets or sets whether the label at the start of the link is positioned on the stroke rather than to the side of the stroke.  
Public PropertyFromNodeGets the node that the link is coming from.  
Public PropertyFromPortGets or sets the port that the link is coming from.  
Public PropertyGoObjectReturns itself as a GoObject.  
Public PropertyHeightGets or sets this object's height. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyHighlightGets or sets the RealLink's GoStroke.Highlight property.  
Public PropertyHighlightPenColorGets or sets the RealLink's GoStroke.HighlightPenColor property.  
Public PropertyHighlightPenWidthGets or sets the RealLink's GoStroke.HighlightPenWidth property.  
Public PropertyHighlightWhenSelectedGets or sets the RealLink's GoStroke.HighlightWhenSelected property.  
Public PropertyItemOverloaded. This IList indexed property gets or sets the object at a position in the group's array of children. (Inherited from Northwoods.GoWeb.GoGroup)
Public PropertyLastGets the last child object of this group. (Inherited from Northwoods.GoWeb.GoGroup)
Public PropertyLayerGets the layer to which this object belongs. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyLeftGets or sets this object's left coordinate, the X position. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyLocationGets or sets this object's natural position. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyMidLabelGets or sets the label object associated with the middle of the link.  
Public PropertyMidLabelCenteredGets or sets whether the label at the middle of the link is positioned on the stroke rather than to the side of the stroke.  
Public PropertyMovableGets or sets whether the user can move this object. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyObserversGets an enumerator over the list of observer objects of this object. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyOrthogonalGets or sets the RealLink's GoLink.Orthogonal property.  
Public PropertyParentGets the parent group for this object. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyPartIDGets or sets the RealLink's GoLink.PartID property.  
Public PropertyPenColorGets or sets the RealLink's GoShape.PenColor property.  
Public PropertyPenWidthGets or sets the RealLink's GoShape.PenWidth property.  
Public PropertyPickableBackgroundGets or sets whether Pick returns this node when the tested point is in the background of this group, not on any of its child objects. (Inherited from Northwoods.GoWeb.GoGroup)
Public PropertyPrintableGets or sets whether the view can print this object. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyRealLinkGets or sets the GoLink object in this group.  
Public PropertyRelinkableGets or sets the RealLink's GoLink.Relinkable property.  
Public PropertyReshapableOverridden. Gets or sets the RealLink's Reshapable property.  
Public PropertyResizableOverridden. Gets or sets the RealLink's Resizable property.  
Public PropertyResizesRealtimeGets or sets whether this object continuously changes its size during a user resizing operation. [In Web Forms there is no continuous visual feedback of a resize.] (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyRightGets or sets this object's right coordinate. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertySelectableGets or sets whether the user can select this object. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertySelectionObjectOverridden. Let the user see and manipulate the real link as if it were the selected object.  
Public PropertyShadowedOverridden. Giving this node a shadow really means giving the icon a shadow.  
Public PropertyStyleGets or sets the RealLink's GoStroke.Style property.  
Public PropertyToArrowGets or sets the RealLink's GoStroke.ToArrow property.  
Public PropertyToArrowFilledGets or sets the RealLink's GoStroke.ToArrowFilled property.  
Public PropertyToArrowLengthGets or sets the RealLink's GoStroke.ToArrowLength property.  
Public PropertyToArrowShaftLengthGets or sets the RealLink's GoStroke.ToArrowShaftLength property.  
Public PropertyToArrowStyleGets or sets the RealLink's GoStroke.ToArrowStyle property.  
Public PropertyToArrowWidthGets or sets the RealLink's GoStroke.ToArrowWidth property.  
Public PropertyToLabelGets or sets the label object associated with the destination end of the link.  
Public PropertyToLabelCenteredGets or sets whether the label at the end of the link is positioned on the stroke rather than to the side of the stroke.  
Public PropertyToNodeGets the node that the link is going to.  
Public PropertyToolTipTextGets or sets the RealLink's GoLink.ToolTipText property.  
Public PropertyTopGets or sets this object's top coordinate, the Y position. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyToPortGets or sets the port that the link is going to.  
Public PropertyUserFlagsGets or sets an integer value associated with this port.  
Public PropertyUserObjectGets or sets an object associated with this port.  
Public PropertyViewGets the view that this object belongs to, or null if this is not in a layer or if this is in a document layer. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyVisibleGets or sets whether the user can see this object. (Inherited from Northwoods.GoWeb.GoObject)
Public PropertyWidthGets or sets this object's width. (Inherited from Northwoods.GoWeb.GoObject)
Top
Public Methods
 NameDescription
Public MethodAddAdd an object to this group. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodAddChildNameAdd an association of a string name with a child object. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodAddCollectionMove some objects into this group, as immediate children of this group, even if they are part of other groups in this same layer. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodAddObserverRegister an object as an observer of changes to this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodAddSelectionHandlesAdd selection handles for this object for the given selection collection. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCalculateRouteThis just calls the RealLink's GoLink.CalculateRoute method.  
Public MethodCalculateStrokeThis just calls the RealLink's GoLink.CalculateStroke method.  
Public MethodCanCopyCalled to see if the user can copy this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCanDeleteCalled to see if the user can delete this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCanEditCalled to see if the user can edit this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCanMoveCalled to see if the user can move this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCanPrintCalled to see if the view can print this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCanReshapeCalled to see if the user can reshape this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCanResizeCalled to see if the user can resize this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCanSelectCalled to see if the user can select this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCanViewCalled to see if the user can see this object. (Inherited from Northwoods.GoWeb.GoObject)
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. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodChangeValueOverridden. Performs changes for undo and redo.  
Public MethodChangingNotify this object's document or view that some part of this object's state is about to be changed. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodClearRemove all children from this group. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodComputeMoveCalculate a new location for this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodComputeResizeCalculate a new bounding rectangle for this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodContainedByRectangleDetermine if a given rectangle completely encloses this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodContainsThis predicate is true when an object belongs to this group. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodContainsPointA group contains a point if any of its visible children contain that point. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodCopyThis convenience method just makes a copy of the object itself, using a generic GoCopyDictionary. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCopyArrayReturns a newly allocated array of all of the immediate child objects in this group. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodCopyNewValueForRedoPreserve any mutable state needed to perform an IGoUndoableEdit.Redo. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCopyObjectProduces a copy of this object within the given copy dictionary. (Inherited from Northwoods.GoWeb.GoGroup)
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). (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCopyOldValueForUndoPreserve any mutable state needed to perform an IGoUndoableEdit.Undo. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCopyToCopy references to this group's immediate children into the given array. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodCreateBoundingHandleCreate a bounding handle for this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCreateEditorCreate a GoControl that implements an editor for this object in the given view. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodCreateRealLinkCreate a GoLink to act as the real link for this group that is a labeled link.  
Public MethodCreateResizeHandleCreate a resize handle for this object, given a handle ID. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodDoBeginEditStart editing this object in the given view. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodDoEndEditStop editing this object in the given view. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodDoMoveCalled when a user moves this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodDoResizeCalled when a user resizes this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodExpandPaintBoundsThe expanded paint bounds for a group is just the union of expanded paint bounds for all of its children. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodFindChildOverridden. The properties referring to parts of this node are also the names of those parts.  
Public MethodFindNameOverridden. The properties referring to parts of this node are also the names of those parts.  
Public MethodGetContextMenuCalled to get a GoContextMenu to display for this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodGetCursorNameCalled when rendering the view to determine the cursor, if any, to display over this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodGetEnumeratorGet an enumerator for iterating over the group's children, starting with the first child, which is painted behind all other children in the group. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodGetNearestIntersectionPointA group's closest intersection point with a line is the closest such point among all of the visible children. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodGetOtherNodeReturn the node at the other end of this link from the given node.  
Public MethodGetOtherPortReturn the port at the other end of this link from the given port.  
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. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodGetRectangleSpotLocationGet the position of a spot in a rectangle. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodGetShadowBrushGet a Brush for painting a drop shadow in the given view. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodGetShadowOffsetGets the size of a drop shadow for this object in the given view. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodGetShadowPenGet a Pen for painting a drop shadow in the given view. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodGetSpotLocationGet the position of a spot on this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodGetToolTipOverridden. Return a string to be displayed in a tooltip, or null for none.  
Public MethodIndexOfProvide a GoObject-specific implementation of IndexOf. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodInsertProvide a GoObject-specific implementation of Insert, which just calls Add or InsertBefore. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodInsertAfterAdd or move an object to be after an existing child. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodInsertBeforeAdd or move an object to be before an existing child. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodInvalidateViewsCause all views to repaint this object when they get a chance. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodIsChildOfDetermines if this object is a child, perhaps indirectly, of the given object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodLayoutChildrenOverridden. Position each of the labels.  
Public MethodOnContextClickCalled when the user context clicks on this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodOnDoubleClickCalled when the user double clicks on this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodOnEnterLeaveCalled when the document object immediately under the mouse changes after a drag. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodOnGotSelectionCalled when this object becomes selected. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodOnHoverCalled when the user hovers over this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodOnLostSelectionCalled when this object becomes unselected. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodOnMouseOverCalled when the user moves the mouse over this object when not dragging or resizing. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodOnPortChangedLet links get notifications of changes to either port so labels can be moved and the real link's stroke can be recalculated.  
Public MethodOnSelectionDroppedCalled after the user has dropped the selection on this object. (Inherited from Northwoods.GoWeb.GoObject)
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. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodOnSingleClickCalled when the user single clicks on this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodPaintPainting a group just paints all of its children. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodPickOverridden. Respect the RealLink's GoStroke.PickMargin.  
Public MethodPickObjectsReturn a collection of objects that can be picked at a particular point. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodRemoveOverloaded. Overridden. Make sure we remove any references to child objects that are removed from this group.  
Public MethodRemoveAtImplement the IList method, which just calls Remove(GoObject). (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodRemoveChildNameOverloaded. Remove any association of a string name with a child object. (Inherited from Northwoods.GoWeb.GoGroup)
Public MethodRemoveObserverMake sure an object is not an observer of changes to this object. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodRemoveSelectionHandlesRemove all selection handles for this object for the given selection collection. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodSetRectangleSpotLocationModify a rectangle such that its new spot location is at a given point. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodSetSizeKeepingLocationSets a new size for this object while maintaining the same location. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodSetSpotLocationOverloaded. Move this object so this object's given spot is at the given location. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodSpotOppositeGet the spot that is on the opposite side of a given spot. (Inherited from Northwoods.GoWeb.GoObject)
Public MethodUnlinkRemove this link from its layer.  
Public MethodUpdateRouteRequest the recalculation of the stroke for the RealLink.  
Top
Protected Methods
 NameDescription
Protected MethodComputeBoundsThe bounding rectangle of a group is just the union of the bounds of its children. (Inherited from Northwoods.GoWeb.GoGroup)
Protected MethodCopyChildrenOverridden. Copying a labeled link is just a matter of copying the real link and the three label objects.  
Protected MethodLayoutMidLabelDecide which segment should get the middle label, and call PositionMidLabel to perform that positioning.  
Protected MethodMoveChildrenOverridden. Avoid repositioning the labels when a labeled link is moved.  
Protected MethodOnBoundsChangedProvides default behavior, assuming all children are already correctly placed and sized, and only need to be moved and/or scaled to fit the new bounds of this GoGroup. (Inherited from Northwoods.GoWeb.GoGroup)
Protected MethodOnLayerChangedCalled when this object's layer is changed. (Inherited from Northwoods.GoWeb.GoObject)
Protected MethodOnObservedChangedCalled when an observed object has been changed. (Inherited from Northwoods.GoWeb.GoObject)
Protected MethodOnParentChangedCalled when this object's parent is changed. (Inherited from Northwoods.GoWeb.GoObject)
Protected MethodPositionEndLabelMove a FromLabel or ToLabel to be near the link's corresponding end point.  
Protected MethodPositionMidLabelMove the MidLabel to an appropriate location near the middle of the link.  
Protected MethodRescaleChildrenThis handles the general case of a resize by scaling and repositioning all the children. (Inherited from Northwoods.GoWeb.GoGroup)
Top
See Also

Reference

GoLabeledLink Class
Northwoods.GoWeb Namespace

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback