GoDiagram Win Reference
GraduatedScale Class Methods


For a list of all members of this type, see GraduatedScale members.

Public Methods
 NameDescription
Public MethodAddObserverRegister an object as an observer of changes to this object. (Inherited from Northwoods.Go.GoObject)
Public MethodAddSelectionHandlesAdd selection handles for this object for the given selection collection. (Inherited from Northwoods.Go.GoObject)
Public MethodCanCopyCalled to see if the user can copy this object. (Inherited from Northwoods.Go.GoObject)
Public MethodCanDeleteCalled to see if the user can delete this object. (Inherited from Northwoods.Go.GoObject)
Public MethodCanEditCalled to see if the user can edit this object. (Inherited from Northwoods.Go.GoObject)
Public MethodCanMoveCalled to see if the user can move this object. (Inherited from Northwoods.Go.GoObject)
Public MethodCanPrintCalled to see if the view can print this object. (Inherited from Northwoods.Go.GoObject)
Public MethodCanReshapeCalled to see if the user can reshape this object. (Inherited from Northwoods.Go.GoObject)
Public MethodCanResizeCalled to see if the user can resize this object. (Inherited from Northwoods.Go.GoObject)
Public MethodCanSelectCalled to see if the user can select this object. (Inherited from Northwoods.Go.GoObject)
Public MethodCanViewCalled to see if the user can see this object. (Inherited from Northwoods.Go.GoObject)
Public MethodChangedNotify this object's document or view that some part of this object's state has been changed, via the Northwoods.Go.GoDocument.Northwoods.Go.GoDocument.Changed event and using the Northwoods.Go.GoChangedEventArgs event args class. (Inherited from Northwoods.Go.GoObject)
Public MethodChangeValueOverridden. Handle undo and redo changes.  
Public MethodChangingNotify 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 MethodComputeMoveCalculate a new location for this object. (Inherited from Northwoods.Go.GoObject)
Public MethodComputeResizeCalculate a new bounding rectangle for this object. (Inherited from Northwoods.Go.GoObject)
Public MethodContainedByRectangleConsider the Pen width when determining if this shape is inside a rectangle. (Inherited from Northwoods.Go.GoShape)
Public MethodContainsPointConsider the Pen width when determining if a point is in this shape. (Inherited from Northwoods.Go.GoShape)
Public MethodCopyThis convenience method just makes a copy of the object itself, using a generic Northwoods.Go.GoCopyDictionary. (Inherited from Northwoods.Go.GoObject)
Public MethodCopyNewValueForRedoPreserve any mutable state needed to perform an Northwoods.Go.IGoUndoableEdit.Redo. (Inherited from Northwoods.Go.GoObject)
Public MethodCopyObjectOverridden. Make sure the GoText object that is the LabelTemplate is copied.  
Public MethodCopyObjectDelayedFor 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 Northwoods.Go.GoDocument.CopyFromCollection. (Inherited from Northwoods.Go.GoObject)
Public MethodCopyOldValueForUndoPreserve any mutable state needed to perform an Northwoods.Go.IGoUndoableEdit.Undo. (Inherited from Northwoods.Go.GoObject)
Public MethodCreateBoundingHandleCreate a bounding handle for this object. (Inherited from Northwoods.Go.GoObject)
Public MethodCreateEditorCreate a GoControl that implements an editor for this object in the given view. (Inherited from Northwoods.Go.GoObject)
Public MethodCreateResizeHandleCreate a resize handle for this object, given a handle ID. (Inherited from Northwoods.Go.GoObject)
Public MethodDoBeginEditStart editing this object in the given view. (Inherited from Northwoods.Go.GoObject)
Public MethodDoEndEditStop editing this object in the given view. (Inherited from Northwoods.Go.GoObject)
Public MethodDoMoveCalled when a user moves this object. (Inherited from Northwoods.Go.GoObject)
Public MethodDoResizeCalled when a user resizes this object. (Inherited from Northwoods.Go.GoObject)
Public MethodExpandPaintBoundsOverridden. The paint bounds needs to include tick marks and labels.  
Public MethodFillDoubleEdgeOverloaded. Set the Northwoods.Go.GoShape.Brush to be a vertical linear gradient starting with the start color, with most of the center being Color.White, and ending with the starting color. (Inherited from Northwoods.Go.GoShape)
Public MethodFillEllipseGradientOverloaded. Set the Northwoods.Go.GoShape.Brush to be a gradient occupying this shape's Northwoods.Go.GoObject.Bounds, with the color color along the four edges of the rectangle, surrounding a very light version of that color. (Inherited from Northwoods.Go.GoShape)
Public MethodFillHalfGradientOverloaded. Set the Northwoods.Go.GoShape.Brush to be a vertical linear gradient starting with a very light version of the color color, and having the last half of the gradient be the solid color color. (Inherited from Northwoods.Go.GoShape)
Public MethodFillMiddleGradientOverloaded. Set the Northwoods.Go.GoShape.Brush to be a vertical linear gradient starting with a very light version of the color color, having the middle with a color lighter than color, and ending with the starting color. (Inherited from Northwoods.Go.GoShape)
Public MethodFillRectangleGradientOverloaded. Set the Northwoods.Go.GoShape.Brush to be a gradient occupying this shape's Northwoods.Go.GoObject.Bounds, with the color color along the four edges of the rectangle, surrounding a very light version of that color. (Inherited from Northwoods.Go.GoShape)
Public MethodFillShadedGradientOverloaded. Set the Northwoods.Go.GoShape.Brush to be a vertical linear gradient starting with a very light version of the color color, having the middle with a color lighter than color, and ending with a darker color than the color. (Inherited from Northwoods.Go.GoShape)
Public MethodFillShapeFringeOverloaded. Set the Northwoods.Go.GoShape.Brush to be a path shaped gradient starting with the start color, with most of the center being Color.White. (Inherited from Northwoods.Go.GoShape)
Public MethodFillShapeGradientOverloaded. Set the Northwoods.Go.GoShape.Brush to be a path shaped gradient with the color color surrounding a very light version of that color. (Inherited from Northwoods.Go.GoShape)
Public MethodFillShapeHighlightOverloaded. Set the Northwoods.Go.GoShape.Brush to be a path shaped gradient that is mostly the start color, with a white "highlight". (Inherited from Northwoods.Go.GoShape)
Public MethodFillSimpleGradientOverloaded. Set the Northwoods.Go.GoShape.Brush to be a simple vertical linear gradient using the given color. (Inherited from Northwoods.Go.GoShape)
Public MethodFillSingleEdgeOverloaded. Set the Northwoods.Go.GoShape.Brush to be a vertical linear gradient starting with the start color, with most of the center being Color.White. (Inherited from Northwoods.Go.GoShape)
Public MethodGetContextMenuCalled to get a Northwoods.Go.GoContextMenu to display for this object. (Inherited from Northwoods.Go.GoObject)
Public MethodGetContextMenuStripCalled to get a ContextMenuStrip to display for this object. (Inherited from Northwoods.Go.GoObject)
Public MethodGetCursorNameCalled by Northwoods.Go.GoObject.OnMouseOver to determine the cursor, if any, to display over this object. (Inherited from Northwoods.Go.GoObject)
Public MethodGetLabelCenterReturns the point at which the Label should be centered.  
Public MethodGetLabelStringReturns the text string that a label marking the given value would contain.  
Public MethodGetNearestIntersectionPointConsider the Pen width in determining the closest point of this object that intersects the given line. (Inherited from Northwoods.Go.GoShape)
Public MethodGetPartInfoReturn a Northwoods.Go.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 MethodGetPointForValueReturns the point on the scale that corresponds to the given value.  
Public MethodGetRectangleSpotLocationGet the position of a spot in a rectangle. (Inherited from Northwoods.Go.GoObject)
Public MethodGetShadowBrushGet a Brush for painting a drop shadow in the given view. (Inherited from Northwoods.Go.GoObject)
Public MethodGetShadowOffsetGets the size of a drop shadow for this object in the given view. (Inherited from Northwoods.Go.GoObject)
Public MethodGetShadowPenGet a Pen for painting a drop shadow in the given view. (Inherited from Northwoods.Go.GoObject)
Public MethodGetSpotLocationGet the position of a spot on this object. (Inherited from Northwoods.Go.GoObject)
Public MethodGetTickEndsFinds the two end points of the tick mark for a given value. Outputs the end points as the two parameters p1 and p2.  
Public MethodGetToolTipCalled to get a String to display as a tooltip for this object. (Inherited from Northwoods.Go.GoObject)
Public MethodGetValueAtPointReturns the value that is associated with point p.  
Public MethodIntersectionWithLineFinds the value that corresponds to the point where the scale and the line defined by p1 and p2 intersect.  
Public MethodInvalidateViewsCause all views to repaint this object when they get a chance. (Inherited from Northwoods.Go.GoObject)
Public MethodIsChildOfDetermines if this object is a child, perhaps indirectly, of the given object. (Inherited from Northwoods.Go.GoObject)
Public MethodMakeAllGraphicsPathsReturn an enumerable holding all the GraphicsPath objects needed to draw the principal path and all tick marks.  
Public MethodMakePathOverridden. Make sure that whenever we reconstruct the main GraphicsPath for this shape, we also reconstruct the paths for the ticks.  
Public MethodOnContextClickCalled when the user context clicks on this object. (Inherited from Northwoods.Go.GoObject)
Public MethodOnDoubleClickCalled when the user double clicks on this object. (Inherited from Northwoods.Go.GoObject)
Public MethodOnEnterLeaveCalled when the document object immediately under the mouse changes as the mouse moves when no particular tool is running or when the Northwoods.Go.GoToolDragging tool is running. (Inherited from Northwoods.Go.GoObject)
Public MethodOnGotSelectionCalled when this object becomes selected. (Inherited from Northwoods.Go.GoObject)
Public MethodOnHoverCalled when the user hovers over this object. (Inherited from Northwoods.Go.GoObject)
Public MethodOnLostSelectionCalled when this object becomes unselected. (Inherited from Northwoods.Go.GoObject)
Public MethodOnMouseOverCalled when the user moves the mouse over this object when not dragging or resizing. (Inherited from Northwoods.Go.GoObject)
Public MethodOnSelectionDroppedCalled after the user has dropped the selection on this object. (Inherited from Northwoods.Go.GoObject)
Public MethodOnSelectionDropRejectCalled 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 MethodOnSingleClickCalled when the user single clicks on this object. (Inherited from Northwoods.Go.GoObject)
Public MethodPaintOverridden. Render this object to a Graphics object.  
Public MethodPaintLabelResponsible for properly painting a label for the given value parameter.  
Public MethodPickReturn an object at a point, perhaps only a selectable one. (Inherited from Northwoods.Go.GoObject)
Public MethodRemoveThis convenience method just removes this object from its container, if there is any. (Inherited from Northwoods.Go.GoObject)
Public MethodRemoveObserverMake sure an object is not an observer of changes to this object. (Inherited from Northwoods.Go.GoObject)
Public MethodRemoveSelectionHandlesRemove all selection handles for this object for the given selection collection. (Inherited from Northwoods.Go.GoObject)
Public MethodSetRectangleSpotLocationModify a rectangle such that its new spot location is at a given point. (Inherited from Northwoods.Go.GoObject)
Public MethodSetSizeKeepingLocationSets a new size for this object while maintaining the same location. (Inherited from Northwoods.Go.GoObject)
Public MethodSetSpotLocationOverloaded. Move this object so this object's given spot is at the given location. (Inherited from Northwoods.Go.GoObject)
Public MethodSpotOppositeGet the spot that is on the opposite side of a given spot. (Inherited from Northwoods.Go.GoObject)
Top
Protected Methods
 NameDescription
Protected MethodComputeBoundsRecalculates the actual bounding rectangle for this object when it might be invalid. (Inherited from Northwoods.Go.GoObject)
Protected MethodComputePathDetermines the main path of the GraduatedScale. Does not include tick marks.  
Protected MethodGetPathGets a cached GraphicsPath produced by a call to Northwoods.Go.GoShape.MakePath. (Inherited from Northwoods.Go.GoShape)
Protected MethodOnBoundsChangedCalled after this object's bounds has changed. (Inherited from Northwoods.Go.GoObject)
Protected MethodOnLayerChangedCalled when this object's layer is changed. (Inherited from Northwoods.Go.GoObject)
Protected MethodOnObservedChangedCalled when an observed object has been changed. (Inherited from Northwoods.Go.GoObject)
Protected MethodOnParentChangedCalled when this object's parent is changed. (Inherited from Northwoods.Go.GoObject)
Protected MethodResetPathClear any cached GraphicsPath. (Inherited from Northwoods.Go.GoShape)
Top
See Also

Reference

GraduatedScale Class
Northwoods.Go.Instruments Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback