GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoGeneralNodePort Class
Fields Properties Methods


In This Topic
    GoGeneralNodePort Class Members
    In This Topic

    The following tables list the members exposed by GoGeneralNodePort.

    Public Constructors
     NameDescription
    Public ConstructorCreate a GoGeneralNodePort, for use in a GoGeneralNode.  
    Top
    Public Fields
     NameDescription
    Public FieldThis is a GoObject.Changed subhint identifying changes to the value of the Label property.  
    Public FieldThis is a GoObject.Changed subhint identifying changes to the value of the LeftSide property.  
    Public FieldThis is a GoObject.Changed subhint identifying changes to the value of the Name property.  
    Public FieldThis is a GoObject.Changed subhint identifying changes to the value of the SideIndex property.  
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets whether this object automatically rescales its appearance when its size changes. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets whether this object is in the process of being removed from its layer or group. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's bottom coordinate. (Inherited from Northwoods.Go.GoObject)
    Public Property Whenever the size and/or position is changed, we clear out any cached data. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the brush used to fill the outline of this shape. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the main or background color of the brush. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the size of the focus area for path gradients, as normalized fractions of the size of the shape. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the foreground color of a brush. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the middle color of a gradient brush. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the fractional distance between the end colors at which the middle color is drawn. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the end point for linear gradients or the focus point for path gradients, as normalized fractions of the size of the shape. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the start point for linear gradients, as normalized fractions of the size of the shape. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the kind of brush used by this shape. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets this object's center position. (Inherited from Northwoods.Go.GoObject)
    Public PropertyGets or sets whether this port calls GoPort.ClearLinks when it is removed from a GoLayer (i.e., from a document, normally). (Inherited from Northwoods.Go.GoPort)
    Public Property Gets or sets whether the user can copy this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can delete this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets an enumerator over all of the links going out of this port. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets the number of links going out of this port. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets 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.Go.GoObject)
    Public Property Gets the object that will be dragged instead of this selected object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether this object, when selected and a child of a group, and when dragged, drags the parent node instead. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can edit this object. (Inherited from Northwoods.Go.GoObject)
    Public PropertyGets the GoControl being used to edit this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets the length of the link segment closest to this port. (Inherited from Northwoods.Go.GoPort)
    Public PropertyGets or sets the GoObject spot at which to connect links coming out from this port. (Inherited from Northwoods.Go.GoPort)
    Public PropertyReturns itself as a GoObject. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets or sets this object's height. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether this object is in the process of being initialized. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets whether this object belongs to a document. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets whether this object belongs to a view. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets whether this object is a top-level object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether a valid link can be made between two ports already connected by a link in the same direction. (Inherited from Northwoods.Go.GoPort)
    Public PropertyGets or sets whether this port can be a valid value for some link's IGoLink.FromPort. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets or sets whether a valid link can be made between two ports belonging to the same node. (Inherited from Northwoods.Go.GoPort)
    Public PropertyGets or sets whether GoPort.CanLinkFrom and GoPort.CanLinkTo return false when there is already a link connected at this port. (Inherited from Northwoods.Go.GoPort)
    Public PropertyGets or sets whether this port can be a valid value for some link's IGoLink.ToPort. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets or sets the text object displays the name of this port.  
    Public PropertyReturn whether the Label should go on the inside or on the outside of this port, relative to the System.Drawing.Icon.  
    Public Property Return the desired distance between the port label and the port itself  
    Public Property Gets the layer to which this object belongs. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's left coordinate, the X position. (Inherited from Northwoods.Go.GoObject)
    Public PropertyGets or sets which side of the GoGeneralNode this port should be on.  
    Public Property Gets an enumerator over all of the links connected at this port. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets the total number of links connected at this port. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets or sets this object's natural position. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can move this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets the name for this port, which is normally reflected by the label, if any.  
    Public Property Gets the node that this port is part of. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets an enumerator over the list of observer objects of this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets the parent group for this object. (Inherited from Northwoods.Go.GoObject)
    Public PropertyThis convenience property gets the highest-level object in the GoObject.Parent chain that is not a GoSubGraphBase. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets the unique ID of this part within its document. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets or sets the pen used to draw the outline of this shape. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the color of the pen. (Inherited from Northwoods.Go.GoShape)
    Public Property Gets or sets the width of the pen. (Inherited from Northwoods.Go.GoShape)
    Public PropertyThis is called by GoGeneralNode.LayoutChildren and related methods to determine how tall this port is.  
    Public PropertyThis is called by GoGeneralNode.LayoutChildren and related methods to determine how wide this port is.  
    Public PropertyGets or sets the GoObject that may stand in for this port. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets or sets this object's top-left corner's position. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the view can print this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can reshape this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can resize this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets 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.Go.GoObject)
    Public Property Gets or sets this object's right coordinate. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the user can select this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets the object that gets selection handles when this object is selected. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether this object is painted with a drop shadow. (Inherited from Northwoods.Go.GoObject)
    Public PropertyGets the index of this port in the GoGeneralNode list of ports on this side.  
    Public Property Gets or sets this object's dimensions. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets whether the UndoManager is notified upon a change to this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets an enumerator over all of the links coming into this port. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets the number of links coming into this port. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets or sets the appearance style for this port. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets or sets whether any document Changed event handlers are called upon a change to this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's top coordinate, the Y position. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets the top-level object for this object. (Inherited from Northwoods.Go.GoObject)
    Public PropertyGets or sets the GoObject spot at which to connect links going into this port. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets or sets an integer value associated with this port. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets or sets an object associated with this port. (Inherited from Northwoods.Go.GoPort)
    Public Property Gets 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.Go.GoObject)
    Public Property Gets or sets whether the user can see this object. (Inherited from Northwoods.Go.GoObject)
    Public Property Gets or sets this object's width. (Inherited from Northwoods.Go.GoObject)
    Top
    Protected Properties
     NameDescription
    Protected Property Gets or sets whether the bounds are up to date. (Inherited from Northwoods.Go.GoObject)
    Top
    Public Methods
     NameDescription
    Public Method Add a link to this port's collection of connected links, making sure the link's FromPort is this port so that the link is a connection to another destination port. (Inherited from Northwoods.Go.GoPort)
    Public Method Register an object as an observer of changes to this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Add selection handles for this object for the given selection collection. (Inherited from Northwoods.Go.GoObject)
    Public Method Add a link to this port's collection of connected links, making sure the link's ToPort is this port so that the link is a connection from another source port. (Inherited from Northwoods.Go.GoPort)
    Public Method Called to see if the user can copy this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can delete this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can edit this object. (Inherited from Northwoods.Go.GoObject)
    Public Method This predicate should be true if, by itself, there is no known reason why one couldn't create a valid link from this port to some port. (Inherited from Northwoods.Go.GoPort)
    Public Method This predicate should be true if, by itself, there is no known reason why one couldn't create a valid link from some port to this one. (Inherited from Northwoods.Go.GoPort)
    Public Method Called to see if the user can move this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the view can print this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can reshape this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can resize this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can select this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called to see if the user can see this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodNotify 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.Go.GoObject)
    Public MethodOverridden.  Handle this class's property changes for undo and redo  
    Public Method Notify this object's document or view that some part of this object's state is about to be changed. (Inherited from Northwoods.Go.GoObject)
    Public Method (Inherited from Northwoods.Go.GoPort)
    Public Method Calculate a new location for this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Calculate a new bounding rectangle for this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Consider the Pen width when determining if this shape is inside a rectangle. (Inherited from Northwoods.Go.GoShape)
    Public Method Determine if a link is connected at this port. (Inherited from Northwoods.Go.GoPort)
    Public Method Consider the Pen width when determining if a point is in this shape. (Inherited from Northwoods.Go.GoShape)
    Public MethodThis convenience method just makes a copy of the object itself, using a generic GoCopyDictionary. (Inherited from Northwoods.Go.GoObject)
    Public Method Returns a newly allocated array containing references to all of the links connected to this port. (Inherited from Northwoods.Go.GoPort)
    Public MethodPreserve any mutable state needed to perform an IGoUndoableEdit.Redo. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverridden. Copy the port's label too, and make sure its GoGeneralNodePortLabel.Port property points to the copied port.  
    Public MethodMake sure any unshared GoPort.PortObject is copied. (Inherited from Northwoods.Go.GoPort)
    Public MethodPreserve any mutable state needed to perform an IGoUndoableEdit.Undo. (Inherited from Northwoods.Go.GoObject)
    Public Method Create a bounding handle for this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Create a GoControl that implements an editor for this object in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Create a resize handle for this object, given a handle ID. (Inherited from Northwoods.Go.GoObject)
    Public Method Start editing this object in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Stop editing this object in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when a user moves this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when a user resizes this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodIf the GoPort.Style is GoPortStyle.Object, we need to consider the GoPort.PortObject's paint bounds. (Inherited from Northwoods.Go.GoPort)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoShape)
    Public MethodCalled to get a GoContextMenu to display for this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodCalled to get a ContextMenuStrip to display for this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Change the cursor to a "hand" cursor if the user can draw a new link at this port. (Inherited from Northwoods.Go.GoPort)
    Public MethodReturn the length of the link's first segment, at its IGoLink.FromPort. (Inherited from Northwoods.Go.GoPort)
    Public Method Determine the direction that a link will go when coming out of this port. (Inherited from Northwoods.Go.GoPort)
    Public MethodOverridden.  Override the calculation of the link point to take into account the size of any port label, so the link does not overlap the label.  
    Public Method Determine the direction in which the link should go from the link point. (Inherited from Northwoods.Go.GoPort)
    Public MethodThis is called by GetToLinkPoint and GetFromLinkPoint to calculate the appropriate point for a link to connect at, considering the width of the label and the LabelSpacing.  
    Public MethodDetermine the actual point at which a link connected to this port should terminate when the spot is GoObject.NoSpot. (Inherited from Northwoods.Go.GoPort)
    Public MethodIf there is a GoPort.PortObject and the GoPort.Style is not GoPortStyle.GoPortStyle.Object, return the closest intersection point of the given line with that object. (Inherited from Northwoods.Go.GoPort)
    Public MethodReturn 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.Go.GoObject)
    Public Method Get the position of a spot in a rectangle. (Inherited from Northwoods.Go.GoObject)
    Public Method Get a Brush for painting a drop shadow in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Gets the size of a drop shadow for this object in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Get a Pen for painting a drop shadow in the given view. (Inherited from Northwoods.Go.GoObject)
    Public Method Get the position of a spot on this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodReturn the length of the link's last segment, at its IGoLink.ToPort. (Inherited from Northwoods.Go.GoPort)
    Public Method Determine the direction that a link will go when going into this port. (Inherited from Northwoods.Go.GoPort)
    Public MethodOverridden.  Override the calculation of the link point to take into account the size of any port label, so the link does not overlap the label.  
    Public MethodOverridden. Show the name of the port, in case the Label is not present.  
    Public Method Cause all views to repaint this object when they get a chance. (Inherited from Northwoods.Go.GoObject)
    Public Method Determines if this object is a child, perhaps indirectly, of the given object. (Inherited from Northwoods.Go.GoObject)
    Public Method (Inherited from Northwoods.Go.GoPort)
    Public Method (Inherited from Northwoods.Go.GoPort)
    Public MethodTrue if it is valid to create a link from this port to toPort. (Inherited from Northwoods.Go.GoPort)
    Public Method Position the port label to the appropriate side of the port, so that it doesn't overlap the icon or the port itself.  
    Public Method Tell any connected links about any change to this port (Inherited from Northwoods.Go.GoPort)
    Public MethodProduce a GraphicsPath representing this shape. (Inherited from Northwoods.Go.GoPort)
    Public Method Called when the user context clicks on this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when the user double clicks on this object. (Inherited from Northwoods.Go.GoObject)
    Public MethodCalled 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. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when this object becomes selected. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when the user hovers over this object. (Inherited from Northwoods.Go.GoObject)
    Public Method When a link connected to this port is changed, this method is called. (Inherited from Northwoods.Go.GoPort)
    Public Method Called when this object becomes unselected. (Inherited from Northwoods.Go.GoObject)
    Public Method Called when the user moves the mouse over this object when not dragging or resizing. (Inherited from Northwoods.Go.GoObject)
    Public Method Called after the user has dropped the selection on this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Called 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.Go.GoObject)
    Public Method Called when the user single clicks on this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Draw a port as either a simple shape using a Pen and Brush, as an arbitrary object, or not at all. (Inherited from Northwoods.Go.GoPort)
    Public MethodBecause ports are normally small objects, we heed the GoView.PaintNothingScale and GoView.PaintGreekScale properties. (Inherited from Northwoods.Go.GoPort)
    Public Method Return an object at a point, perhaps only a selectable one. (Inherited from Northwoods.Go.GoObject)
    Public Method This convenience method just removes this object from its container, if there is any. (Inherited from Northwoods.Go.GoObject)
    Public Method Remove a link from this port's collection of connected links. (Inherited from Northwoods.Go.GoPort)
    Public Method Make sure an object is not an observer of changes to this object. (Inherited from Northwoods.Go.GoObject)
    Public Method Remove all selection handles for this object for the given selection collection. (Inherited from Northwoods.Go.GoObject)
    Public Method Modify a rectangle such that its new spot location is at a given point. (Inherited from Northwoods.Go.GoObject)
    Public Method Sets a new size for this object while maintaining the same location. (Inherited from Northwoods.Go.GoObject)
    Public MethodOverloaded.  (Inherited from Northwoods.Go.GoObject)
    Public Method Get the spot that is on the opposite side of a given spot. (Inherited from Northwoods.Go.GoObject)
    Top
    Protected Methods
     NameDescription
    Protected Method Recalculates the actual bounding rectangle for this object when it might be invalid. (Inherited from Northwoods.Go.GoObject)
    Protected MethodGets a cached GraphicsPath produced by a call to GoShape.MakePath. (Inherited from Northwoods.Go.GoShape)
    Protected MethodWhen a port is moved, we update any links connected to this port by calling GoPort.LinksOnPortChanged. (Inherited from Northwoods.Go.GoPort)
    Protected Method When a port is removed from a layer, we remove all of the links connected to the port. (Inherited from Northwoods.Go.GoPort)
    Protected Method Called when an observed object has been changed. (Inherited from Northwoods.Go.GoObject)
    Protected Method Called when this object's parent is changed. (Inherited from Northwoods.Go.GoObject)
    Protected MethodClear any cached GraphicsPath. (Inherited from Northwoods.Go.GoShape)
    Top
    See Also