Northwoods.Go Assembly > Northwoods.Go Namespace : GoDocument Class |
The following tables list the members exposed by GoDocument.
Name | Description | |
---|---|---|
GoDocument Constructor | Create a document containing one empty layer. |
Name | Description | |
---|---|---|
AbortedTransaction | This is a RaiseChanged hint, called by AbortTransaction just after a call to GoUndoManager.GoUndoManager.AbortTransaction. | |
AllArranged | This is a RaiseChanged hint. | |
BeginUpdateAllViews | This is a RaiseChanged hint to tell all of the GoViews on this document to call GoView.BeginUpdate. | |
ChangedAllowCopy | This is a RaiseChanged hint identifying changes to the value of the AllowCopy property. | |
ChangedAllowDelete | This is a RaiseChanged hint identifying changes to the value of the AllowDelete property. | |
ChangedAllowEdit | This is a RaiseChanged hint identifying changes to the value of the AllowEdit property. | |
ChangedAllowInsert | This is a RaiseChanged hint identifying changes to the value of the AllowInsert property. | |
ChangedAllowLink | This is a RaiseChanged hint identifying changes to the value of the AllowLink property. | |
ChangedAllowMove | This is a RaiseChanged hint identifying changes to the value of the AllowMove property. | |
ChangedAllowReshape | This is a RaiseChanged hint identifying changes to the value of the AllowReshape property. | |
ChangedAllowResize | This is a RaiseChanged hint identifying changes to the value of the AllowResize property. | |
ChangedAllowSelect | This is a RaiseChanged hint identifying changes to the value of the AllowSelect property. | |
ChangedDataFormat | This is a RaiseChanged hint identifying changes to the value of the DataFormat property. | |
ChangedFixedSize | This is a RaiseChanged hint identifying changes to the value of the FixedSize property. | |
ChangedInitializing | This is a RaiseChanged hint identifying changes to the value of the Initializing property. | |
ChangedLastPartID | This is a RaiseChanged hint identifying changes to the value of the LastPartID property. | |
ChangedLinksLayer | This is a RaiseChanged hint identifying changes to the value of the LinksLayer property. | |
ChangedMaintainsPartID | This is a RaiseChanged hint identifying changes to the value of the MaintainsPartID property. | |
ChangedName | This is a RaiseChanged hint identifying changes to the value of the Name property. | |
ChangedObject | This RaiseChanged hint is a synonym for GoLayer.GoLayer.ChangedObject. | |
ChangedPaperColor | This is a RaiseChanged hint identifying changes to the value of the PaperColor property. | |
ChangedRoutingTime | This is a RaiseChanged hint identifying changes to the value of the RoutingTime property. | |
ChangedSize | This is a RaiseChanged hint identifying changes to the value of the Size property. | |
ChangedTopLeft | This is a RaiseChanged hint identifying changes to the value of the TopLeft property. | |
ChangedUserFlags | This is a RaiseChanged hint identifying changes to the value of the UserFlags property. | |
ChangedUserObject | This is a RaiseChanged hint identifying changes to the value of the UserObject property. | |
ChangedValidCycle | This is a RaiseChanged hint identifying changes to the value of the ValidCycle property. | |
EndUpdateAllViews | This is a RaiseChanged hint to tell all of the GoViews on this document to call GoView.EndUpdate. | |
FinishedRedo | This is a RaiseChanged hint, called by Redo just after a call to GoUndoManager.GoUndoManager.Redo. | |
FinishedTransaction | This is a RaiseChanged hint called by FinishTransaction just after a call to GoUndoManager.GoUndoManager.FinishTransaction. | |
FinishedUndo | This is a RaiseChanged hint, called by Undo just after a call to GoUndoManager.GoUndoManager.Undo. | |
LastHint | This is the last system-defined RaiseChanged hint. | |
RepaintAll | This is a RaiseChanged hint to tell all of the GoViews on this document to call GoView.UpdateView. | |
StartedTransaction | This is a RaiseChanged hint, called by StartTransaction just after a call to GoUndoManager.GoUndoManager.StartTransaction. | |
StartingRedo | This is a RaiseChanged hint, called by Redo just before a call to GoUndoManager.GoUndoManager.Redo. | |
StartingUndo | This is a RaiseChanged hint, called by Undo just before a call to GoUndoManager.GoUndoManager.Undo. | |
UpdateAllViews | This is a RaiseChanged hint to tell all of the GoViews on this document to call Control.Update . |
Name | Description | |
---|---|---|
NullRect | This is an empty RectangleF , which is convenient when calling RaiseChanged. |
Name | Description | |
---|---|---|
AllowCopy | Gets or sets whether the user can copy selected objects in this document. | |
AllowDelete | Gets or sets whether the user can delete selected objects in this document. | |
AllowEdit | Gets or sets whether the user can edit objects in this document. | |
AllowInsert | Gets or sets whether the user can insert objects in this document. | |
AllowLink | Gets or sets whether the user can link objects in this document. | |
AllowMove | Gets or sets whether the user can move selected objects in this document. | |
AllowReshape | Gets or sets whether the user can reshape resizable objects in this document. | |
AllowResize | Gets or sets whether the user can resize selected objects in this document. | |
AllowSelect | Gets or sets whether the user can select objects in this document. | |
Count | Gets the total number of objects in all document layers. | |
DataFormat | Gets or sets this document's data format name for the clipboard. | |
DefaultLayer | Gets or sets the layer that is considered the default layer for document operations that do not specify a layer. | |
DelayedRoutings | A collection of GoObjects that implement the IGoRoutable interface and whose CalculateRoute needs to be called. | |
FixedSize | Gets or sets whether UpdateDocumentBounds should update the Size and TopLeft properties as objects are added or moved. | |
IsModified | Gets or sets whether this document is considered changed from an earlier state. | |
IsReadOnly | This collection is never read-only programmatically, but might not be modifiable by the user: SetModifiable. | |
LastPartID | Gets or sets the last PartID value that this document assigned to an IGoIdentifiablePart when MaintainsPartID is true. | |
LinksLayer | Gets or sets the layer that is normally used for holding links. | |
MaintainsPartID | Gets or sets whether the document should make sure each IGoIdentifiablePart has a unique IGoIdentifiablePart.PartID. | |
Name | Gets or sets a name for this document. | |
PaperColor | Gets or sets the color for this document's background. | |
RoutingTime | Gets or sets when IGoRoutable objects should have their routes recalculated. | |
SerializesUndoManager | Gets or sets whether the UndoManager is serialized when the document is. | |
Size | Gets or sets the size of this document. | |
TopLeft | Gets or sets the top-left corner position of this document. | |
UndoManager | Gets or sets the UndoManager for this document. | |
UserFlags | Gets or sets an integer value associated with this document. | |
UserObject | Gets or sets an object associated with this document. | |
ValidCycle | Gets or sets whether a valid link can be made between two ports that may produce a directed or undirected cycle in this document. |
Name | Description | |
---|---|---|
AbortTransaction | Call the UndoManager's GoUndoManager.AbortTransaction method. | |
Add | Add an object to the DefaultLayer, or to the LinksLayer if the object is an IGoLink. | |
AddCopy | Add a copy of an object into this document at the given point. | |
BeginUpdateViews | Cause all views to stop painting. | |
CanCopyObjects | Called to see if the user can copy selected objects in this document. | |
CanDeleteObjects | Called to see if the user can delete selected objects in this document. | |
CanEditObjects | Called to see if the user can edit objects in this document. | |
CanInsertObjects | Called to see if the user can insert objects in this document. | |
CanLinkObjects | Called to see if the user can link objects in this document. | |
CanMoveObjects | Called to see if the user can move selected objects in this document. | |
CanRedo | This predicate is true if this document has an UndoManager whose CanRedo predicate is true. | |
CanReshapeObjects | Called to see if the user can reshape resizable objects in this document. | |
CanResizeObjects | Called to see if the user can resize selected objects in this document. | |
CanSelectObjects | Called to see if the user can select objects in this document. | |
CanUndo | This predicate is true if this document has an UndoManager whose CanUndo predicate is true. | |
ChangeValue | This method is called by GoChangedEventArgs in order to perform the Undo or Redo or a particular document change. | |
Clear | Remove all objects from all layers in this document. | |
ComputeBounds | Overloaded. Get the smallest rectangle that includes the bounds of all of the objects in a collection. | |
Contains | Determine if an object belongs to this document. | |
Copy | Make a copy of this document. | |
CopyArray | Gets a newly allocated array of all of the GoObjects in this collection. | |
CopyFromCollection | Overloaded. Make copies of a collection of objects in this document. | |
CopyNewValueForRedo | This is called during the construction of a GoChangedEventArgs in order to record the newer/next value for a document change. | |
CopyOldValueForUndo | This is called during the construction of a GoChangedEventArgs in order to record the older/previous value for a document change. | |
CopyTo | Copy references to all of the document objects into the given array of GoObjects. | |
CreateCopyDictionary | Allocate a GoCopyDictionary for use in a call to CopyFromCollection(IGoCollection,Boolean,Boolean,SizeF,GoCopyDictionary) | |
DoDelayedRouting | Call IGoRoutable.CalculateRoute on each of the objects in the DelayedRoutings collection, and clear that collection. | |
EndUpdateViews | Cause all views to continue painting normally. | |
EnsureUniquePartID | Make sure every IGoIdentifiablePart in this document has a unique IGoIdentifiablePart.PartID. | |
FindNode | Overloaded. Search this document for an object whose IGoLabeledPart.Text property matches a given string, possibly considering the initial part of the part's text string and possibly comparing in a case-insensitive manner. | |
FindPart | Returns an IGoIdentifiablePart in this document with the given ID. | |
FinishTransaction | Call the UndoManager's GoUndoManager.FinishTransaction method. | |
GetAvoidableRectangle | Return the effective bounds of an object that should be avoided when routing links whose GoLink.AvoidsNodes property is true. | |
GetEnumerator | Get an Enumerator that iterates over all layers to include all document objects. | |
InvalidateViews | Cause all views to completely repaint sometime in the future. | |
IsAvoidable | This predicate determines whether the given object is considered when trying to route links whose GoLink.AvoidsNodes property is true. | |
IsUnoccupied | Returns true if there are any "avoidable" objects within or intersecting the given rectangular region. | |
MakesDirectedCycle | This method returns true if adding a link from a to b would result in a cycle of directed links going through the node a. | |
MakesDirectedCycleFast | This method returns true if adding a link from a to b would result in a cycle of directed links going through the node a. | |
MakesUndirectedCycle | This method returns true if adding a link from a to b would result in a cycle or loop of links, regardless of link direction, going through the node a. | |
MergeLayersFrom | Make sure this document has all of the identified layers of another document. | |
PickObject | Find the top-most (front-most) document object at a given point. | |
PickObjects | Return a collection of objects that can be picked at a particular point. | |
PickObjectsInRectangle | Return a collection of objects that are surrounded by a given rectangle. | |
RaiseChanged | Any change to a document or to a part of a document may call this method to invoke the OnChanged method, after the change has occurred. | |
RaiseChanging | Call this method to invoke the OnChanged method before any change occurs. | |
Redo | Call the UndoManager's GoUndoManager.Redo method if CanRedo is true. | |
Remove | Remove an object from this document. | |
SetModifiable | This method sets some properties that determine whether the user can modify the document from any view. | |
StartTransaction | Call the UndoManager's GoUndoManager.StartTransaction method. | |
TestSerialization | Test serializing and deserializing this document, to help discover unserializable objects by getting SerializationException s when debugging serialization errors such as during a copy-and-paste. | |
Undo | Call the UndoManager's GoUndoManager.Undo method if CanUndo is true. | |
UpdateDocumentBounds | Called when a document object's bounds changes to possibly update the document's bounds. | |
UpdateRoute | If SuspendsRouting is true add the given IGoRoutableGoObject to the DelayedRoutings collection; otherwise just call CalculateRoute immediately. | |
UpdateViews | Cause all views to repaint their invalidated areas. |
Name | Description | |
---|---|---|
Changed | The Changed event is raised whenever a document or a part of a document is modified. |