Northwoods.Go Assembly > Northwoods.Go Namespace : GoGeneralNode Class |
The following tables list the members exposed by GoGeneralNode.
Name | Description | |
---|---|---|
GoGeneralNode Constructor | Create an empty GoGeneralNode--call the Initialize(ResourceManager,String,String,String,Int32,Int32) method(s) to create an icon, labels, and ports; or set all of the desired parts explicitly. |
Name | Description | |
---|---|---|
ChangedBottomLabel | This is a GoObject.Changed subhint identifying changes to the value of the BottomLabel property. | |
ChangedFromEndSegmentLengthStep | This is a GoObject.Changed subhint identifying changes to the value of the FromEndSegmentLengthStep property. | |
ChangedIcon | This is a GoObject.Changed subhint identifying changes to the value of the Icon property. | |
ChangedLeftPortLabelsInside | This is a GoObject.Changed subhint identifying changes to the value of the LeftPortLabelsInside property. | |
ChangedLeftPortsAlignment | This is a GoObject.Changed subhint identifying changes to the value of the LeftPortsAlignment property. | |
ChangedLeftPortsLabelSpacing | This is a GoObject.Changed subhint identifying changes to the value of the LeftPortsLabelSpacing property. | |
ChangedOrientation | This is a GoObject.Changed subhint identifying changes to the value of the Orientation property. | |
ChangedRightPortLabelsInside | This is a GoObject.Changed subhint identifying changes to the value of the RightPortLabelsInside property. | |
ChangedRightPortsAlignment | This is a GoObject.Changed subhint identifying changes to the value of the RightPortsAlignment property. | |
ChangedRightPortsLabelSpacing | This is a GoObject.Changed subhint identifying changes to the value of the RightPortsLabelSpacing property. | |
ChangedToEndSegmentLengthStep | This is a GoObject.Changed subhint identifying changes to the value of the ToEndSegmentLengthStep property. | |
ChangedTopLabel | This is a GoObject.Changed subhint identifying changes to the value of the TopLabel property. | |
InsertedPort | This is a GoObject.Changed subhint. | |
RemovedPort | This is a GoObject.Changed subhint. | |
ReplacedPort | This is a GoObject.Changed subhint. |
Name | Description | |
---|---|---|
AutoRescales | Gets or sets whether this object automatically rescales its appearance when its size changes. (Inherited from Northwoods.Go.GoObject) | |
Bottom | Gets or sets this object's bottom coordinate. (Inherited from Northwoods.Go.GoObject) | |
BottomLabel | Gets or sets the label at the bottom of the node. | |
ChildNames | Gets a Dictionary of name/child mappings in both directions. (Inherited from Northwoods.Go.GoGroup) | |
Copyable | Gets or sets whether the user can copy this object. (Inherited from Northwoods.Go.GoObject) | |
Count | Gets the number of child objects in this group. (Inherited from Northwoods.Go.GoGroup) | |
Deletable | Gets or sets whether the user can delete this object. (Inherited from Northwoods.Go.GoObject) | |
DestinationLinks | Gets an enumerator over all of the links going out of this node. (Inherited from Northwoods.Go.GoNode) | |
Destinations | Gets an enumerator over all of the nodes that have links going out of this node. (Inherited from Northwoods.Go.GoNode) | |
Document | 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) | |
DraggingObject | Gets the object that will be dragged instead of this selected object. (Inherited from Northwoods.Go.GoObject) | |
DragsNode | 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) | |
Editable | Gets or sets whether the user can edit this object. (Inherited from Northwoods.Go.GoObject) | |
Figure | Gets or sets the GoDrawing.Figure of the Shape IF the icon is a GoDrawing. | |
First | Gets the first child object of this group. (Inherited from Northwoods.Go.GoGroup) | |
FromEndSegmentLengthStep | Gets or sets the incremental distance at when the ports' GoPort.EndSegmentLength is extended by GoGeneralNodePort to help reduce the amount of overlapping orthogonal links coming out of this node. | |
GoObject | Returns itself as a GoObject. (Inherited from Northwoods.Go.GoNode) | |
Height | Gets or sets this object's height. (Inherited from Northwoods.Go.GoObject) | |
Icon | Gets or sets the GoObject, normally a GoImage, acting as the central icon for this node. | |
Image | Gets the icon as a GoImage. | |
Item | Overloaded. This IList indexed property gets or sets the object at a position in the group's array of children. (Inherited from Northwoods.Go.GoGroup) | |
Label | Overridden. Participate in standard textual node searches and editing, using the bottom label in preference to the top label if both are present. | |
Last | Gets the last child object of this group. (Inherited from Northwoods.Go.GoGroup) | |
Layer | Gets the layer to which this object belongs. (Inherited from Northwoods.Go.GoObject) | |
Left | Gets or sets this object's left coordinate, the X position. (Inherited from Northwoods.Go.GoObject) | |
LeftPortLabelsInside | Gets or sets whether the labels for the left ports should go inside the ports (over the icon) or on the outside. | |
LeftPortsAlignment | Gets or sets the alignments of the "left ports" relative to the Icon. | |
LeftPortsCount | Gets the number of ports on the left side of this node. | |
LeftPortsLabelSpacing | Gets or sets the space between a GoGeneralNodePort and its GoGeneralNodePortLabel. | |
Links | Gets an enumerator over all of the links connected to this node. (Inherited from Northwoods.Go.GoNode) | |
Location | Assume the natural location of a node is the center of the GoObject.SelectionObject , if it is different from the whole group itself. (Inherited from Northwoods.Go.GoNode) | |
MaximumIconSize | Assume a 1000x2000 maximum size for the icon. | |
MinimumIconSize | Assume the icon needs to be tall enough to hold all of the ports on its left and right sides without overlapping them or extending them out beyond the icon. | |
Movable | Gets or sets whether the user can move this object. (Inherited from Northwoods.Go.GoObject) | |
Nodes | Gets an enumerator over all of the nodes that are connected to this node. (Inherited from Northwoods.Go.GoNode) | |
Observers | Gets an enumerator over the list of observer objects of this object. (Inherited from Northwoods.Go.GoObject) | |
Orientation | Gets or sets the general orientation of the node and how links connect to it. | |
Parent | Gets the parent group for this object. (Inherited from Northwoods.Go.GoObject) | |
PartID | Gets or sets the unique ID of this part within its document. (Inherited from Northwoods.Go.GoNode) | |
PickableBackground | Gets or sets whether GoGroup.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.Go.GoGroup) | |
Ports | Gets an enumerator over all of the ports that are part of this node. (Inherited from Northwoods.Go.GoNode) | |
Printable | Gets or sets whether the view can print this object. (Inherited from Northwoods.Go.GoObject) | |
Reshapable | Whether this node is reshapable is really determined by whether the SelectionObject is reshapable. (Inherited from Northwoods.Go.GoNode) | |
Resizable | Whether this node is resizable is really determined by whether the SelectionObject is resizable. (Inherited from Northwoods.Go.GoNode) | |
ResizesRealtime | Whether the user can resize this node continuously is really determined by the SelectionObject . (Inherited from Northwoods.Go.GoNode) | |
Right | Gets or sets this object's right coordinate. (Inherited from Northwoods.Go.GoObject) | |
RightPortLabelsInside | Gets or sets whether the labels for the right ports should go inside the ports (over the icon) or on the outside. | |
RightPortsAlignment | Gets or sets the alignments of the "right ports" relative to the Icon. | |
RightPortsCount | Gets the number of ports on the right side of this node. | |
RightPortsLabelSpacing | Gets or sets the space between a GoGeneralNodePort and its GoGeneralNodePortLabel. | |
Selectable | Gets or sets whether the user can select this object. (Inherited from Northwoods.Go.GoObject) | |
SelectionObject | Overridden. The selection object, what the user sees as being selected and what the user actually resizes, is the icon. | |
Shadowed | Giving this node a shadow really means giving the SelectionObject a shadow. (Inherited from Northwoods.Go.GoNode) | |
Shape | Gets this node's icon, assuming it is a GoShape, as it would be if you call Initialize(ResourceManager,String,String,String,Int32,Int32) with a null String icon name. | |
SourceLinks | Gets an enumerator over all of the links coming into this node. (Inherited from Northwoods.Go.GoNode) | |
Sources | Gets an enumerator over all of the nodes that have links coming into this node. (Inherited from Northwoods.Go.GoNode) | |
Text | Get the principal text string associated with a node. (Inherited from Northwoods.Go.GoNode) | |
ToEndSegmentLengthStep | Gets or sets the incremental distance at when the ports' GoPort.EndSegmentLength is extended by GoGeneralNodePort to help reduce the amount of overlapping orthogonal links going into this node. | |
ToolTipText | Gets or sets a string to be displayed in a tooltip. (Inherited from Northwoods.Go.GoNode) | |
Top | Gets or sets this object's top coordinate, the Y position. (Inherited from Northwoods.Go.GoObject) | |
TopLabel | Gets or sets the label at the top of the node. | |
UserFlags | Gets or sets an integer value associated with this node. (Inherited from Northwoods.Go.GoNode) | |
UserObject | Gets or sets an object associated with this node. (Inherited from Northwoods.Go.GoNode) | |
View | 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) | |
Visible | Gets or sets whether the user can see this object. (Inherited from Northwoods.Go.GoObject) | |
Width | Gets or sets this object's width. (Inherited from Northwoods.Go.GoObject) |
Name | Description | |
---|---|---|
Add | Overridden. If the new child is a GoGeneralNodePort, and if GoObject.Initializing is false, automatically add it (and its GoGeneralNodePort.Label) to the appropriate side, by calling either InsertLeftPort or InsertRightPort. | |
AddChildName | Add an association of a string name with a child object. (Inherited from Northwoods.Go.GoGroup) | |
AddCollection | Move 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.Go.GoGroup) | |
AddLeftPort | Add a GoGeneralNodePort created by a call to MakePort at the end of the list of ports on the left side of this node. | |
AddObserver | Register an object as an observer of changes to this object. (Inherited from Northwoods.Go.GoObject) | |
AddRightPort | Add a GoGeneralNodePort created by a call to MakePort at the end of the list of ports on the right side of this node. | |
AddSelectionHandles | Add selection handles for this object for the given selection collection. (Inherited from Northwoods.Go.GoObject) | |
CanCopy | Called to see if the user can copy this object. (Inherited from Northwoods.Go.GoObject) | |
CanDelete | Called to see if the user can delete this object. (Inherited from Northwoods.Go.GoObject) | |
CanEdit | Called to see if the user can edit this object. (Inherited from Northwoods.Go.GoObject) | |
CanMove | Called to see if the user can move this object. (Inherited from Northwoods.Go.GoObject) | |
CanPrint | Called to see if the view can print this object. (Inherited from Northwoods.Go.GoObject) | |
CanReshape | Called to see if the user can reshape this object. (Inherited from Northwoods.Go.GoObject) | |
CanResize | Called to see if the user can resize this object. (Inherited from Northwoods.Go.GoObject) | |
CanSelect | Called to see if the user can select this object. (Inherited from Northwoods.Go.GoObject) | |
CanView | Called to see if the user can see this object. (Inherited from Northwoods.Go.GoObject) | |
Changed | Notify 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) | |
ChangeValue | Overridden. Handle this class's property changes for undo and redo | |
Changing | 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) | |
Clear | Remove all children from this group. (Inherited from Northwoods.Go.GoGroup) | |
ComputeMove | Calculate a new location for this object. (Inherited from Northwoods.Go.GoObject) | |
ComputeResize | Calculate a new bounding rectangle for this object. (Inherited from Northwoods.Go.GoObject) | |
ContainedByRectangle | Determine if a given rectangle completely encloses this object. (Inherited from Northwoods.Go.GoObject) | |
Contains | This predicate is true when an object belongs to this group. (Inherited from Northwoods.Go.GoGroup) | |
ContainsPoint | A group contains a point if any of its visible children contain that point. (Inherited from Northwoods.Go.GoGroup) | |
Copy | This convenience method just makes a copy of the object itself, using a generic GoCopyDictionary. (Inherited from Northwoods.Go.GoObject) | |
CopyArray | Returns a newly allocated array of all of the immediate child objects in this group. (Inherited from Northwoods.Go.GoGroup) | |
CopyNewValueForRedo | Preserve any mutable state needed to perform an IGoUndoableEdit.Redo. (Inherited from Northwoods.Go.GoObject) | |
CopyObject | Make sure cached information is not copied. (Inherited from Northwoods.Go.GoNode) | |
CopyObjectDelayed | For 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.Go.GoObject) | |
CopyOldValueForUndo | Preserve any mutable state needed to perform an IGoUndoableEdit.Undo. (Inherited from Northwoods.Go.GoObject) | |
CopyTo | Copy references to this group's immediate children into the given array. (Inherited from Northwoods.Go.GoGroup) | |
CreateBoundingHandle | Create a bounding handle for this object. (Inherited from Northwoods.Go.GoObject) | |
CreateEditor | Create a GoControl that implements an editor for this object in the given view. (Inherited from Northwoods.Go.GoObject) | |
CreateResizeHandle | Create a resize handle for this object, given a handle ID. (Inherited from Northwoods.Go.GoObject) | |
DoBeginEdit | Start editing the label. (Inherited from Northwoods.Go.GoNode) | |
DoEndEdit | Stop editing this object in the given view. (Inherited from Northwoods.Go.GoObject) | |
DoMove | Called when a user moves this object. (Inherited from Northwoods.Go.GoObject) | |
DoResize | Called when a user resizes this object. (Inherited from Northwoods.Go.GoObject) | |
ExpandPaintBounds | The expanded paint bounds for a group is just the union of expanded paint bounds for all of its children. (Inherited from Northwoods.Go.GoGroup) | |
FindChild | Overridden. The properties referring to parts of this node are also the names of those parts. | |
FindName | Overridden. The properties referring to parts of this node are also the names of those parts. | |
GetContextMenu | Called to get a GoContextMenu to display for this object. (Inherited from Northwoods.Go.GoObject) | |
GetContextMenuStrip | Called to get a ContextMenuStrip to display for this object. (Inherited from Northwoods.Go.GoObject) | |
GetCursorName | Called by GoObject.OnMouseOver to determine the cursor, if any, to display over this object. (Inherited from Northwoods.Go.GoObject) | |
GetEnumerator | Get 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.Go.GoGroup) | |
GetLeftPort | Return a port by its index position on the left side of this node. | |
GetNearestIntersectionPoint | A group's closest intersection point with a line is the closest such point among all of the visible children. (Inherited from Northwoods.Go.GoGroup) | |
GetPartInfo | Return 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) | |
GetRectangleSpotLocation | Get the position of a spot in a rectangle. (Inherited from Northwoods.Go.GoObject) | |
GetRightPort | Return a port by its index position on the right side of this node. | |
GetShadowBrush | Get a Brush for painting a drop shadow in the given view. (Inherited from Northwoods.Go.GoObject) | |
GetShadowOffset | Gets the size of a drop shadow for this object in the given view. (Inherited from Northwoods.Go.GoObject) | |
GetShadowPen | Get a Pen for painting a drop shadow in the given view. (Inherited from Northwoods.Go.GoObject) | |
GetSpotLocation | Get the position of a spot on this object. (Inherited from Northwoods.Go.GoObject) | |
GetToolTip | Return a string to be displayed in a tooltip, or null for none. (Inherited from Northwoods.Go.GoNode) | |
IndexOf | Provide a GoObject-specific implementation of IndexOf. (Inherited from Northwoods.Go.GoGroup) | |
Initialize | Overloaded. Initialize an empty GoGeneralNode to have an icon, some labels, and some ports. | |
Insert | Provide a GoObject-specific implementation of Insert, which just calls GoGroup.Add or GoGroup.InsertBefore. (Inherited from Northwoods.Go.GoGroup) | |
InsertAfter | Add or move an object to be after an existing child. (Inherited from Northwoods.Go.GoGroup) | |
InsertBefore | Add or move an object to be before an existing child. (Inherited from Northwoods.Go.GoGroup) | |
InsertLeftPort | Insert a GoGeneralNodePort created by a call to MakePort to be at a particular index position on the left side of this node. | |
InsertRightPort | Insert a GoGeneralNodePort created by a call to MakePort to be at a particular index position on the right side of this node. | |
InvalidateViews | Cause all views to repaint this object when they get a chance. (Inherited from Northwoods.Go.GoObject) | |
IsChildOf | Determines if this object is a child, perhaps indirectly, of the given object. (Inherited from Northwoods.Go.GoObject) | |
LayoutChildren | Overridden. Position the parts of this node. | |
MakePort | Create and initialize a new port and its label. | |
OnContextClick | Called when the user context clicks on this object. (Inherited from Northwoods.Go.GoObject) | |
OnDoubleClick | Called when the user double clicks on this object. (Inherited from Northwoods.Go.GoObject) | |
OnEnterLeave | Called 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) | |
OnGotSelection | Called when this object becomes selected. (Inherited from Northwoods.Go.GoObject) | |
OnHover | Called when the user hovers over this object. (Inherited from Northwoods.Go.GoObject) | |
OnLostSelection | Called when this object becomes unselected. (Inherited from Northwoods.Go.GoObject) | |
OnMouseOver | Called when the user moves the mouse over this object when not dragging or resizing. (Inherited from Northwoods.Go.GoObject) | |
OnOrientationChanged | Determine how to change the whole node when the Orientation changes. | |
OnSelectionDropped | Called after the user has dropped the selection on this object. (Inherited from Northwoods.Go.GoObject) | |
OnSelectionDropReject | 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) | |
OnSingleClick | Called when the user single clicks on this object. (Inherited from Northwoods.Go.GoObject) | |
Paint | Painting a group just paints all of its children. (Inherited from Northwoods.Go.GoGroup) | |
Pick | Picking a group first tries to pick a child, starting with the last one which is most in front. (Inherited from Northwoods.Go.GoGroup) | |
PickObjects | Return a collection of objects that can be picked at a particular point. (Inherited from Northwoods.Go.GoGroup) | |
Remove | Overloaded. Overridden. When a port is removed, make sure we also remove its label and adjust the positions of all of the other ports. | |
RemoveAt | Implement the IList method, which just calls GoGroup.Remove. (Inherited from Northwoods.Go.GoGroup) | |
RemoveChildName | Overloaded. Remove any association of a string name with a child object. (Inherited from Northwoods.Go.GoGroup) | |
RemoveLeftPort | Remove the port and its label at a particular index position on the left side of this node. | |
RemoveObserver | Make sure an object is not an observer of changes to this object. (Inherited from Northwoods.Go.GoObject) | |
RemoveRightPort | Remove the port and its label at a particular index position on the right side of this node. | |
RemoveSelectionHandles | Remove all selection handles for this object for the given selection collection. (Inherited from Northwoods.Go.GoObject) | |
SetLeftPort | Replace the port and its label at a particular index position on the left side of this node. | |
SetRectangleSpotLocation | Modify a rectangle such that its new spot location is at a given point. (Inherited from Northwoods.Go.GoObject) | |
SetRightPort | Replace the port and its label at a particular index position on the right side of this node. | |
SetSizeKeepingLocation | Sets a new size for this object while maintaining the same location. (Inherited from Northwoods.Go.GoObject) | |
SetSpotLocation | Overloaded. Move this object so this object's given spot is at the given location. (Inherited from Northwoods.Go.GoObject) | |
SpotOpposite | Get the spot that is on the opposite side of a given spot. (Inherited from Northwoods.Go.GoObject) |
Name | Description | |
---|---|---|
ComputeBounds | The bounding rectangle of a group is just the union of the bounds of its children. (Inherited from Northwoods.Go.GoGroup) | |
CopyChildren | Overridden. Make copies of the icon, label and the left and right ports. | |
CreateIcon | Overloaded. Create and initialize a GoImage or a GoDrawing to act as the node's icon. | |
CreateLabel | Create and initialize a text label for either the top or the bottom. | |
CreatePort | Create and initialize a port that may go on either the left side or the right side. | |
CreatePortLabel | Create a label for a port. | |
LayoutIcon | Resize the Icon so that it meets the MinimumIconSize requirement. | |
LayoutLabels | Position the TopLabel and the BottomLabel above and below the Icon. | |
LayoutLeftPorts | Position all of the left ports along the left (or top) edge of the icon. | |
LayoutRightPorts | Position all of the right ports along the right (or bottom) edge of the icon. | |
MoveChildren | This just moves all the children from the group's former location. (Inherited from Northwoods.Go.GoNode) | |
OnBoundsChanged | Provides 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.Go.GoGroup) | |
OnLayerChanged | Called when this object's layer is changed. (Inherited from Northwoods.Go.GoObject) | |
OnObservedChanged | Called when an observed object has been changed. (Inherited from Northwoods.Go.GoObject) | |
OnParentChanged | Called when this object's parent is changed. (Inherited from Northwoods.Go.GoObject) | |
RescaleChildren | This handles the general case of a resize by scaling and repositioning all the children. (Inherited from Northwoods.Go.GoNode) |