Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace : GoSubGraph Class |
The following tables list the members exposed by GoSubGraph.
Name | Description | |
---|---|---|
GoSubGraph Constructor | Create an empty subgraph, with an empty label. |
Name | Description | |
---|---|---|
ChangedBackgroundColor | This is a Changed subhint identifying changes to the value of the BackgroundColor property. | |
ChangedBorderPen | This is a Changed subhint identifying changes to the value of the BorderPen property. | |
ChangedBottomRightMargin | This is a Changed subhint identifying changes to the value of the BottomRightMargin property. | |
ChangedCollapsedBottomRightMargin | This is a Changed subhint identifying changes to the value of the CollapsedBottomRightMargin property. | |
ChangedCollapsedCorner | This is a Changed subhint identifying changes to the value of the CollapsedCorner property. | |
ChangedCollapsedLabelSpot | This is a Changed subhint identifying changes to the value of the CollapsedLabelSpot property. | |
ChangedCollapsedObject | This is a Changed subhint identifying changes to the value of the CollapsedObject property. | |
ChangedCollapsedTopLeftMargin | This is a Changed subhint identifying changes to the value of the CollapsedTopLeftMargin property. | |
ChangedCollapsible | This is a Changed subhint identifying changes to the value of the Collapsible property. | |
ChangedCorner | This is a Changed subhint identifying changes to the value of the Corner property. | |
ChangedExpandedResizable | This is a Changed subhint identifying changes to the value of the ExpandedResizable property. | |
ChangedLabel | This is a Changed subhint identifying changes to the value of the Label property. | |
ChangedLabelSpot | This is a Changed subhint identifying changes to the value of the LabelSpot property. | |
ChangedOpacity | This is a Changed subhint identifying changes to the value of the Opacity property. | |
ChangedPort | This is a Changed subhint identifying changes to the value of the Port property. | |
ChangedSavedBounds | This is a Changed subhint identifying changes to the value of the SavedBounds property. | |
ChangedSavedPaths | This is a Changed subhint identifying changes to the value of the SavedPaths property. | |
ChangedState | This is a Changed subhint identifying changes to the value of the State property. | |
ChangedTopLeftMargin | This is a Changed subhint identifying changes to the value of the TopLeftMargin property. | |
ChangedWasExpanded | This is a Changed subhint identifying changes to the value of the WasExpanded property. |
Name | Description | |
---|---|---|
AutoRescales | Gets or sets whether this object automatically rescales its appearance when its size changes. (Inherited from Northwoods.GoWeb.GoObject) | |
BackgroundColor | Gets or sets the background color for the group. | |
BorderPen | Gets or sets the pen used to draw a rectangular outline just inside the edges of this node. | |
BorderPenColor | Gets or sets the color of the BorderPen. | |
BorderPenWidth | Gets or sets the width of the BorderPen. | |
Bottom | Gets or sets this object's bottom coordinate. (Inherited from Northwoods.GoWeb.GoObject) | |
BottomRightMargin | Gets or sets the space between the bottom and right sides of the subgraph children with the bottom and right sides of the background. | |
ChildNames | Gets a Dictionary of name/child mappings in both directions. (Inherited from Northwoods.GoWeb.GoGroup) | |
CollapsedBottomRightMargin | Gets or sets the space between the bottom and right sides of the subgraph children with the bottom and right sides of the background when the node is collapsed. | |
CollapsedCorner | Gets or sets the maximum radial width and height of each corner when the node is collapsed. | |
CollapsedLabelSpot | Gets or sets the spot at which the label, if any, should be positioned relative to the rest of the node. | |
CollapsedObject | Gets or sets the object shown when the subgraph is collapsed. | |
CollapsedTopLeftMargin | Gets or sets the space between the top and left sides of the subgraph children with the top and left sides of the background when the node is collapsed. | |
Collapsible | Gets or sets whether the user is allowed to toggle whether this node is expanded or collapsed. | |
Copyable | Gets or sets whether the user can copy this object. (Inherited from Northwoods.GoWeb.GoObject) | |
Corner | Gets or sets the maximum radial width and height of each corner. | |
Count | Gets the number of child objects in this group. (Inherited from Northwoods.GoWeb.GoGroup) | |
Deletable | Gets or sets whether the user can delete this object. (Inherited from Northwoods.GoWeb.GoObject) | |
DestinationLinks | Gets an enumerator over all of the links going out of this node. (Inherited from Northwoods.GoWeb.GoNode) | |
Destinations | Gets an enumerator over all of the nodes that have links going out of this node. (Inherited from Northwoods.GoWeb.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.GoWeb.GoObject) | |
DraggingObject | Gets the object that will be dragged instead of this selected object. (Inherited from Northwoods.GoWeb.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.GoWeb.GoObject) | |
Editable | Gets or sets whether the user can edit this object. (Inherited from Northwoods.GoWeb.GoObject) | |
ExternalDestinationLinks | Gets an enumerator over all of the links going out of this node. (Inherited from Northwoods.GoWeb.GoSubGraphBase) | |
ExternalDestinations | Gets an enumerator over all of the nodes that have links going out of this node. (Inherited from Northwoods.GoWeb.GoSubGraphBase) | |
ExternalLinks | Gets an enumerator over all of the links connected to this node. (Inherited from Northwoods.GoWeb.GoSubGraphBase) | |
ExternalNodes | Gets an enumerator over all of the nodes that are connected to this node. (Inherited from Northwoods.GoWeb.GoSubGraphBase) | |
ExternalSourceLinks | Gets an enumerator over all of the links coming into this node. (Inherited from Northwoods.GoWeb.GoSubGraphBase) | |
ExternalSources | Gets an enumerator over all of the nodes that have links coming into this node. (Inherited from Northwoods.GoWeb.GoSubGraphBase) | |
First | Gets the first child object of this group. (Inherited from Northwoods.GoWeb.GoGroup) | |
GoObject | Returns itself as a GoObject. (Inherited from Northwoods.GoWeb.GoNode) | |
Handle | Gets the GoSubGraphHandle representing and controlling the subgraph. | |
Height | Gets or sets this object's height. (Inherited from Northwoods.GoWeb.GoObject) | |
IsExpanded | Gets or sets whether this subgraph is in an expanded state. | |
Item | Overloaded. This IList indexed property gets or sets the object at a position in the group's array of children. (Inherited from Northwoods.GoWeb.GoGroup) | |
Label | Overridden. Gets or sets the standard text label for this node. | |
LabelSpot | Gets or sets the spot at which the label, if any, should be positioned relative to the rest of the node. | |
Last | Gets the last child object of this group. (Inherited from Northwoods.GoWeb.GoGroup) | |
Layer | Gets the layer to which this object belongs. (Inherited from Northwoods.GoWeb.GoObject) | |
Left | Gets or sets this object's left coordinate, the X position. (Inherited from Northwoods.GoWeb.GoObject) | |
Links | Gets an enumerator over all of the links connected to this node. (Inherited from Northwoods.GoWeb.GoNode) | |
Location | Overridden. The location is the position of the Handle. | |
Movable | Gets or sets whether the user can move this object. (Inherited from Northwoods.GoWeb.GoObject) | |
Nodes | Gets an enumerator over all of the nodes that are connected to this node. (Inherited from Northwoods.GoWeb.GoNode) | |
Observers | Gets an enumerator over the list of observer objects of this object. (Inherited from Northwoods.GoWeb.GoObject) | |
Opacity | Gets or sets the percentage of opaqueness that the background color should be painted with. | |
Parent | Gets the parent group for this object. (Inherited from Northwoods.GoWeb.GoObject) | |
PartID | Gets or sets the unique ID of this part within its document. (Inherited from Northwoods.GoWeb.GoNode) | |
PickableBackground | Gets 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) | |
Port | Gets or sets the port represents the subgraph as a whole. | |
Ports | Gets an enumerator over all of the ports that are part of this node. (Inherited from Northwoods.GoWeb.GoNode) | |
Printable | Gets or sets whether the view can print this object. (Inherited from Northwoods.GoWeb.GoObject) | |
Reshapable | Whether this node is reshapable is really determined by whether the SelectionObject is reshapable. (Inherited from Northwoods.GoWeb.GoNode) | |
Resizable | Whether this node is resizable is really determined by whether the SelectionObject is resizable. (Inherited from Northwoods.GoWeb.GoNode) | |
ResizesRealtime | Whether the user can resize this node continuously is really determined by the SelectionObject . (Inherited from Northwoods.GoWeb.GoNode) | |
Right | Gets or sets this object's right coordinate. (Inherited from Northwoods.GoWeb.GoObject) | |
SavedBounds | Gets the dictionary that remembers the sizes and relative positions of all of the child objects when the subgraph is collapsed. | |
SavedPaths | Gets the dictionary that remembers the points of GoLink and GoLabeledLink strokes when the subgraph is collapsed. | |
Selectable | Gets or sets whether the user can select this object. (Inherited from Northwoods.GoWeb.GoObject) | |
SelectionObject | Gets the object that gets selection handles when this object is selected. (Inherited from Northwoods.GoWeb.GoObject) | |
Shadowed | Giving this node a shadow really means giving the SelectionObject a shadow. (Inherited from Northwoods.GoWeb.GoNode) | |
SourceLinks | Gets an enumerator over all of the links coming into this node. (Inherited from Northwoods.GoWeb.GoNode) | |
Sources | Gets an enumerator over all of the nodes that have links coming into this node. (Inherited from Northwoods.GoWeb.GoNode) | |
Text | Get the principal text string associated with a node. (Inherited from Northwoods.GoWeb.GoNode) | |
ToolTipText | Gets or sets a string to be displayed in a tooltip. (Inherited from Northwoods.GoWeb.GoNode) | |
Top | Gets or sets this object's top coordinate, the Y position. (Inherited from Northwoods.GoWeb.GoObject) | |
TopLeftMargin | Gets or sets the space between the top and left sides of the subgraph children with the top and left sides of the background. | |
UserFlags | Gets or sets an integer value associated with this node. (Inherited from Northwoods.GoWeb.GoNode) | |
UserObject | Gets or sets an object associated with this node. (Inherited from Northwoods.GoWeb.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.GoWeb.GoObject) | |
Visible | Gets or sets whether the user can see this object. (Inherited from Northwoods.GoWeb.GoObject) | |
WasExpanded | Gets or sets whether this subgraph had been in an expanded state when the parent subgraph was collapsed. | |
Width | Gets or sets this object's width. (Inherited from Northwoods.GoWeb.GoObject) |
Name | Description | |
---|---|---|
Add | Overridden. This override of Add makes sure the Handle stays on top. | |
AddChildName | Add an association of a string name with a child object. (Inherited from Northwoods.GoWeb.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.GoWeb.GoGroup) | |
AddObserver | Register an object as an observer of changes to this object. (Inherited from Northwoods.GoWeb.GoObject) | |
AddSelectionHandles | Overridden. Resize selection handles go around the border, not along the Bounds. | |
CanCopy | Called to see if the user can copy this object. (Inherited from Northwoods.GoWeb.GoObject) | |
CanDelete | Called to see if the user can delete this object. (Inherited from Northwoods.GoWeb.GoObject) | |
CanEdit | Called to see if the user can edit this object. (Inherited from Northwoods.GoWeb.GoObject) | |
CanMove | Called to see if the user can move this object. (Inherited from Northwoods.GoWeb.GoObject) | |
CanPrint | Called to see if the view can print this object. (Inherited from Northwoods.GoWeb.GoObject) | |
CanReshape | Called to see if the user can reshape this object. (Inherited from Northwoods.GoWeb.GoObject) | |
CanResize | Called to see if the user can resize this object. (Inherited from Northwoods.GoWeb.GoObject) | |
CanSelect | Called to see if the user can select this object. (Inherited from Northwoods.GoWeb.GoObject) | |
CanView | Called to see if the user can see this object. (Inherited from Northwoods.GoWeb.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.GoWeb.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.GoWeb.GoObject) | |
Clear | Remove all children from this group. (Inherited from Northwoods.GoWeb.GoGroup) | |
Collapse | Reposition all of the children so that this node takes a minimum amount of space. | |
ComputeBorder | The border goes around the rectangle returned by ComputeInsideMargins augmented by margins all around. | |
ComputeCollapsedSize | Determine the size that this subgraph should be when collapsed, excluding any collapsed margin. | |
ComputeInsideMargins | Determine the area occupied by the subgraph's child nodes, excluding any margins. | |
ComputeMove | Calculate a new location for this object. (Inherited from Northwoods.GoWeb.GoObject) | |
ComputeResize | Calculate a new bounding rectangle for this object. (Inherited from Northwoods.GoWeb.GoObject) | |
ContainedByRectangle | Determine if a given rectangle completely encloses this object. (Inherited from Northwoods.GoWeb.GoObject) | |
Contains | This predicate is true when an object belongs to this group. (Inherited from Northwoods.GoWeb.GoGroup) | |
ContainsPoint | A group contains a point if any of its visible children contain that point. (Inherited from Northwoods.GoWeb.GoGroup) | |
Copy | This convenience method just makes a copy of the object itself, using a generic GoCopyDictionary. (Inherited from Northwoods.GoWeb.GoObject) | |
CopyArray | Returns a newly allocated array of all of the immediate child objects in this group. (Inherited from Northwoods.GoWeb.GoGroup) | |
CopyNewValueForRedo | Overridden. Copies state to permit a redo. | |
CopyObject | Make sure cached information is not copied. (Inherited from Northwoods.GoWeb.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.GoWeb.GoObject) | |
CopyOldValueForUndo | Overridden. Copies state to permit an undo. | |
CopyTo | Copy references to this group's immediate children into the given array. (Inherited from Northwoods.GoWeb.GoGroup) | |
CreateBoundingHandle | Create a bounding handle for this object. (Inherited from Northwoods.GoWeb.GoObject) | |
CreateEditor | Create a GoControl that implements an editor for this object in the given view. (Inherited from Northwoods.GoWeb.GoObject) | |
CreateResizeHandle | Create a resize handle for this object, given a handle ID. (Inherited from Northwoods.GoWeb.GoObject) | |
DoBeginEdit | Start editing the label. (Inherited from Northwoods.GoWeb.GoNode) | |
DoEndEdit | Stop editing this object in the given view. (Inherited from Northwoods.GoWeb.GoObject) | |
DoMove | Called when a user moves this object. (Inherited from Northwoods.GoWeb.GoObject) | |
DoResize | Overridden. Handle resizing by changing the margins instead of resizing the children. | |
Expand | Restore the position of all of the children so that this subgraph completely visible again. | |
ExpandAll | This method calls Expand on this node and then recursively proceeds through all of the children, expanding them. | |
ExpandPaintBounds | Overridden. Account for the margins, and any shadow. | |
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.GoWeb.GoObject) | |
GetCursorName | Called when rendering the view to determine the cursor, if any, to display over this object. (Inherited from Northwoods.GoWeb.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.GoWeb.GoGroup) | |
GetNearestIntersectionPoint | A group's closest intersection point with a line is the closest such point among all of the visible children. (Inherited from Northwoods.GoWeb.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.GoWeb.GoObject) | |
GetRectangleSpotLocation | Get the position of a spot in a rectangle. (Inherited from Northwoods.GoWeb.GoObject) | |
GetShadowBrush | Get a Brush for painting a drop shadow in the given view. (Inherited from Northwoods.GoWeb.GoObject) | |
GetShadowOffset | Gets the size of a drop shadow for this object in the given view. (Inherited from Northwoods.GoWeb.GoObject) | |
GetShadowPen | Get a Pen for painting a drop shadow in the given view. (Inherited from Northwoods.GoWeb.GoObject) | |
GetSpotLocation | Get the position of a spot on this object. (Inherited from Northwoods.GoWeb.GoObject) | |
GetToolTip | Return a string to be displayed in a tooltip, or null for none. (Inherited from Northwoods.GoWeb.GoNode) | |
IndexOf | Provide a GoObject-specific implementation of IndexOf. (Inherited from Northwoods.GoWeb.GoGroup) | |
Insert | Provide a GoObject-specific implementation of Insert, which just calls Add or InsertBefore. (Inherited from Northwoods.GoWeb.GoGroup) | |
InsertAfter | Add or move an object to be after an existing child. (Inherited from Northwoods.GoWeb.GoGroup) | |
InsertBefore | Add or move an object to be before an existing child. (Inherited from Northwoods.GoWeb.GoGroup) | |
InvalidateViews | Cause all views to repaint this object when they get a chance. (Inherited from Northwoods.GoWeb.GoObject) | |
IsChildOf | Determines if this object is a child, perhaps indirectly, of the given object. (Inherited from Northwoods.GoWeb.GoObject) | |
LayoutChildren | Overridden. This method does not move any of the children except possibly the CollapsedObject, the Label, the Handle, and the Port. | |
LayoutCollapsedObject | This positions the CollapsedObject (if any) within the group. | |
LayoutHandle | This positions the handle within the group. | |
LayoutLabel | This positions the Label within the group, according to the LabelSpot or CollapsedLabelSpot. | |
LayoutPort | This positions the port within the group, normally exactly where the Handle is. | |
OnContextClick | Called when the user context clicks on this object. (Inherited from Northwoods.GoWeb.GoObject) | |
OnDoubleClick | Called when the user double clicks on this object. (Inherited from Northwoods.GoWeb.GoObject) | |
OnEnterLeave | Called when the document object immediately under the mouse changes after a drag. (Inherited from Northwoods.GoWeb.GoObject) | |
OnGotSelection | Called when this object becomes selected. (Inherited from Northwoods.GoWeb.GoObject) | |
OnHover | Called when the user hovers over this object. (Inherited from Northwoods.GoWeb.GoObject) | |
OnLostSelection | Called when this object becomes unselected. (Inherited from Northwoods.GoWeb.GoObject) | |
OnMouseOver | Called when the user moves the mouse over this object when not dragging or resizing. (Inherited from Northwoods.GoWeb.GoObject) | |
OnSelectionDropped | Called after the user has dropped the selection on this object. (Inherited from Northwoods.GoWeb.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.GoWeb.GoObject) | |
OnSingleClick | Called when the user single clicks on this object. (Inherited from Northwoods.GoWeb.GoObject) | |
Paint | Overridden. The background of the group is displayed as a rounded rectangle with a BackgroundColor and an Opacity, to make it easier to tell which nodes are part of which subgraph. | |
PaintsDecoration | Decide whether Paint should call PaintDecoration. | |
Pick | Picking a group first tries to pick a child, starting with the last one which is most in front. (Inherited from Northwoods.GoWeb.GoGroup) | |
PickObjects | Unlike the standard behavior provided by GoGroup's GoGroup.PickObjects, subgraphs allow the picking of more than one child, if they overlap each other at the given point. (Inherited from Northwoods.GoWeb.GoSubGraphBase) | |
Remove | Overloaded. Overridden. If any part is removed from this group, be sure to remove any references in local fields. | |
RemoveAt | Implement the IList method, which just calls Remove(GoObject). (Inherited from Northwoods.GoWeb.GoGroup) | |
RemoveChildName | Overloaded. Remove any association of a string name with a child object. (Inherited from Northwoods.GoWeb.GoGroup) | |
RemoveObserver | Make sure an object is not an observer of changes to this object. (Inherited from Northwoods.GoWeb.GoObject) | |
RemoveSelectionHandles | Remove all selection handles for this object for the given selection collection. (Inherited from Northwoods.GoWeb.GoObject) | |
SetRectangleSpotLocation | Modify a rectangle such that its new spot location is at a given point. (Inherited from Northwoods.GoWeb.GoObject) | |
SetSizeKeepingLocation | Sets a new size for this object while maintaining the same location. (Inherited from Northwoods.GoWeb.GoObject) | |
SetSpotLocation | Overloaded. Move this object so this object's given spot is at the given location. (Inherited from Northwoods.GoWeb.GoObject) | |
SpotOpposite | Get the spot that is on the opposite side of a given spot. (Inherited from Northwoods.GoWeb.GoObject) | |
Toggle | This convenience method calls either Collapse or Expand depending on whether it is expanded or collapsed. |
Name | Description | |
---|---|---|
CollapseChild | Center all the objects that aren't links and make everything invisible (besides Label and Handle and Port and CollapsedObject). | |
ComputeBounds | Overridden. Unlike a regular group, the bounding rectangle is computed by ignoring all children that are not Visible. | |
ComputeCollapsedRectangle | Given a desired collapsed size, return the expected collapsed area, ignoring any collapsed margins. | |
ComputeCollapsedSizeSkip | This predicate is called by ComputeCollapsedSize to decide if a child object should take part in the size calculation. | |
ComputeInsideMarginsSkip | This method is called by ComputeInsideMargins to see if a given child of this group should be ignored. | |
ComputeReferencePoint | Return the point from which the relative positions of the children are calculated. | |
CopyChildren | Overridden. This override is needed to make sure the expanded position information is copied correctly when this subgraph is collapsed at the time of the copy. | |
CreateCollapsedObject | This method is called to create an object that is displayed when the node is collapsed. | |
CreateHandle | This method is called to create the "handle" representing the whole subgraph that the user can select to drag or click to collapse or expand the subgraph. | |
CreateLabel | This creates the initial text label--an editable, bold, single-line GoText that wraps. | |
CreatePort | This method is called to create a port that represents the subgraph as a whole. | |
ExpandChild | Restore a child to its original position. | |
FinishCollapse | This method is called towards the end of the process of a Collapse call. | |
FinishExpand | This method is called at the end of the process of an Expand call. | |
MoveChildren | This just moves all the children from the group's former location. (Inherited from Northwoods.GoWeb.GoNode) | |
OnBoundsChanged | Overridden. When collapsed, update saved bounds for expand when empty. | |
OnLayerChanged | Called when this object's layer is changed. (Inherited from Northwoods.GoWeb.GoObject) | |
OnObservedChanged | Called when an observed object has been changed. (Inherited from Northwoods.GoWeb.GoObject) | |
OnParentChanged | Called when this object's parent is changed. (Inherited from Northwoods.GoWeb.GoObject) | |
PaintDecoration | Paint a rounded rectangle using the current BackgroundColor, Opacity, BorderPen and Corner (or CollapsedCorner). | |
PrepareCollapse | Do any work before collapsing this subgraph. | |
PrepareExpand | Do any work before expanding the children. | |
RescaleChildren | This handles the general case of a resize by scaling and repositioning all the children. (Inherited from Northwoods.GoWeb.GoNode) | |
SaveChildBounds | Save the original size and relative position for all non-links and the paths of all links. |