Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoObject Class : Changed Method |
integer
value.
Object
value.
RectangleF
value, also useful for PointF
, SizeF
, and float
values.
integer
value.
Object
value.
RectangleF
value, also useful for PointF
, SizeF
, and float
values.
integer
value.Object
value.RectangleF
value, also useful for PointF
, SizeF
, and float
values.integer
value.Object
value.RectangleF
value, also useful for PointF
, SizeF
, and float
values.Any override of this method and any methods that this calls should not further modify this object, either directly or indirectly.
Each of your property setters should call this method after actually changing the object's state. You should only call this method if the property's value actually changed. You should use the oldI, oldVal, and/or oldRect parameters for passing the previous old property value. You should use the newI, newVal, and/or newRect parameters for passing the new property value. The old and new values can be used by GoDocument.Changed event handlers to update their state. A special case of such event handlers is the GoUndoManager, which records the old and new values so that it can perform undo and redo operations.
If SuspendsUpdates is true (it is normally false of course), this method does nothing. Your override of this method should check for SuspendsUpdates before invoking any updating functionality. If this object is part of a layer, it calls IGoLayerCollectionContainer.RaiseChanged with a hint of GoLayer.GoLayer.ChangedObject. If there are any observers watching changes to this object, this method calls OnObservedChanged on each of this object's observers.
A number of subhints are pre-defined:
GoObject | |
---|---|
RepaintAll | 1000 |
ChangedBounds | 1001 |
ChangedVisible | 1003 |
ChangedSelectable | 1004 |
ChangedMovable | 1005 |
ChangedCopyable | 1006 |
ChangedResizable | 1007 |
ChangedReshapable | 1008 |
ChangedDeletable | 1009 |
ChangedEditable | 1010 |
ChangedAutoRescales | 1011 |
ChangedResizesRealtime | 1012 |
ChangedShadowed | 1013 |
ChangedAddedObserver | 1014 |
ChangedRemovedObserver | 1015 |
ChangedDragsNode | 1016 |
ChangedPrintable | 1017 |
ChangedInitializing | 1041 |
LastChangedHint | 10000 |
GoShape | |
---|---|
GoShape.ChangedPen | 1101 |
GoShape.ChangedBrush | 1102 |
GoPolygon | |
---|---|
AddedPoint | 1401 |
RemovedPoint | 1402 |
ModifiedPoint | 1403 |
GoPolygon.ChangedAllPoints | 1412 |
GoPolygon.ChangedStyle | 1414 |
GoRoundedRectangle | |
---|---|
GoRoundedRectangle.ChangedCorner | 1421 |
GoRoundedRectangle.ChangedRoundedCornerSpots | 1422 |
GoTriangle | |
---|---|
GoTriangle.ChangedPointA | 1431 |
GoTriangle.ChangedPointB | 1432 |
GoTriangle.ChangedPointC | 1433 |
GoTriangle.ChangedAllPoints | 1434 |
GoPie | |
---|---|
GoPie.ChangedStartAngle | 1451 |
GoPie.ChangedSweepAngle | 1452 |
GoPie.ChangedResizableStartAngle | 1453 |
GoPie.ChangedResizableEndAngle | 1454 |
GoTrapezoid | |
---|---|
GoTrapezoid.ChangedPointA | 1460 |
GoTrapezoid.ChangedPointB | 1461 |
GoTrapezoid.ChangedPointC | 1462 |
GoTrapezoid.ChangedPointD | 1463 |
ChangedAllPoints | 1464 |
GoTrapezoid.ChangedOrientation | 1465 |
GoParallelogram | |
---|---|
GoParallelogram.ChangedSkew | 1466 |
GoParallelogram.ChangedReshapableSkew | 1467 |
GoParallelogram.ChangedDirection | 1468 |
GoOctagon | |
---|---|
GoOctagon.ChangedCorner | 1469 |
GoOctagon.ChangedReshapableCorner | 1470 |
GoCylinder | |
---|---|
GoCylinder.ChangedMinorRadius | 1481 |
GoCylinder.ChangedOrientation | 1482 |
GoCylinder.ChangedPerspective | 1483 |
GoCylinder.ChangedResizableRadius | 1484 |
GoCube | |
---|---|
GoCube.ChangedDepth | 1491 |
GoCube.ChangedPerspective | 1492 |
GoCube.ChangedReshapableDepth | 1493 |
GoControl | |
---|---|
GoControl.ChangedControlType | 1901 |
GoNode | |
---|---|
GoNode.ChangedNodeUserFlags | 2000 |
GoNode.ChangedNodeUserObject | 2001 |
GoNode.ChangedToolTipText | 2002 |
GoNode.ChangedPartID | 2004 |
GoNodeIcon | |
---|---|
GoNodeIcon.ChangedMinimumIconSize | 2050 |
GoNodeIcon.ChangedMaximumIconSize | 2051 |
GoBoxNode | |
---|---|
GoBoxNode.ChangedBody | 2201 |
GoBoxNode.ChangedPortBorderMargin | 2202 |
GoBoxNode.ChangedPort | 2203 |
GoBoxPort | |
---|---|
GoBoxPort.ChangedLinkPointsSpread | 2211 |
GoBoxPort.ChangedFromSides | 2212 |
GoBoxPort.ChangedToSides | 2213 |
GoComment | |
---|---|
GoComment.ChangedTopLeftMargin | 2301 |
GoComment.ChangedBottomRightMargin | 2302 |
GoComment.ChangedPartID | 2303 |
GoComment.ChangedBackground | 2304 |
GoComment.ChangedLabel | 2305 |
GoBalloon | |
---|---|
GoBalloon.ChangedAnchor | 2310 |
GoBalloon.ChangedBaseWidth | 2312 |
GoBalloon.ChangedUnanchoredOffset | 2313 |
GoBalloon.ChangedReanchorable | 2314 |
GoGeneralNodePort | |
---|---|
GoGeneralNodePort.ChangedName | 2430 |
GoGeneralNodePort.ChangedLabel | 2431 |
GoGeneralNodePort.ChangedSideIndex | 2432 |
GoGeneralNodePort.ChangedLeftSide | 2433 |
GoIconicNode | |
---|---|
GoIconicNode.ChangedDraggableLabel | 2651 |
GoIconicNode.ChangedIcon | 2652 |
GoIconicNode.ChangedLabel | 2653 |
GoIconicNode.ChangedPort | 2654 |
GoIconicNode.ChangedLabelOffset | 2655 |
GoCollapsibleHandle | |
---|---|
GoCollapsibleHandle.ChangedStyle | 2950 |
GoCollapsibleHandle.ChangedBordered | 2951 |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2