GoDiagram Win Reference
Meter Class Members
Fields  Properties  Methods 


The following tables list the members exposed by Meter.

Public Constructors
 NameDescription
Public ConstructorMeter ConstructorHandles the basic initialization of Meter.  
Top
Public Fields
 NameDescription
Public FieldChangedBackgroundThis is a Northwoods.Go.GoObject.Changed subhint.  
Public FieldChangedBottomRightMarginThis is a Northwoods.Go.GoObject.Changed subhint.  
Public FieldChangedIndicatorThis is a Northwoods.Go.GoObject.Changed subhint.  
Public FieldChangedLabelThis is a Northwoods.Go.GoObject.Changed subhint.  
Public FieldChangedLabelRelativeSpotThis is a Northwoods.Go.GoObject.Changed subhint.  
Public FieldChangedLabelSpotThis is a Northwoods.Go.GoObject.Changed subhint.  
Public FieldChangedOrientationThis is a Northwoods.Go.GoObject.Changed subhint.  
Public FieldChangedScaleThis is a Northwoods.Go.GoObject.Changed subhint.  
Public FieldChangedTopLeftMarginThis is a Northwoods.Go.GoObject.Changed subhint.  
Top
Public Properties
 NameDescription
Public PropertyAutoRescalesGets or sets whether this object automatically rescales its appearance when its size changes. (Inherited from Northwoods.Go.GoObject)
Public PropertyBackgroundGets or sets the background object of the Meter.  
Public PropertyBottomGets or sets this object's bottom coordinate. (Inherited from Northwoods.Go.GoObject)
Public PropertyBottomRightMarginGets or sets the margin between the bottom-right corner of the Background and the bottom-right corner of the Scale (and Indicator).  
Public PropertyChildNamesGets a Dictionary of name/child mappings in both directions. (Inherited from Northwoods.Go.GoGroup)
Public PropertyControllableGets or sets whether the value of the meter can be manipulated by the user.  
Public PropertyCopyableGets or sets whether the user can copy this object. (Inherited from Northwoods.Go.GoObject)
Public PropertyCountGets the number of child objects in this group. (Inherited from Northwoods.Go.GoGroup)
Public PropertyDeletableGets or sets whether the user can delete this object. (Inherited from Northwoods.Go.GoObject)
Public PropertyDocumentGets 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)
Public PropertyDraggingObjectGets the object that will be dragged instead of this selected object. (Inherited from Northwoods.Go.GoObject)
Public PropertyDragsNodeGets 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)
Public PropertyEditableGets or sets whether the user can edit this object. (Inherited from Northwoods.Go.GoObject)
Public PropertyFirstGets the first child object of this group. (Inherited from Northwoods.Go.GoGroup)
Public PropertyHeightGets or sets this object's height. (Inherited from Northwoods.Go.GoObject)
Public PropertyIndicatorGets or sets the Indicator associated with the Meter.  
Public PropertyItemOverloaded. This IList indexed property gets or sets the object at a position in the group's array of children. (Inherited from Northwoods.Go.GoGroup)
Public PropertyLabelGets or sets the label object of the Meter.  
Public PropertyLabelRelativeSpotGets or sets the Label's position compared to the spot specified by the LabelSpot.  
Public PropertyLabelSpotGets or sets the position of Label compared to the Background.  
Public PropertyLastGets the last child object of this group. (Inherited from Northwoods.Go.GoGroup)
Public PropertyLayerGets the layer to which this object belongs. (Inherited from Northwoods.Go.GoObject)
Public PropertyLeftGets or sets this object's left coordinate, the X position. (Inherited from Northwoods.Go.GoObject)
Public PropertyLocationGets or sets this object's natural position. (Inherited from Northwoods.Go.GoObject)
Public PropertyMaximumThe GraduatedScale.Maximum property exposed from the Scale.  
Public PropertyMinimumThe GraduatedScale.Minimum property exposed from the Scale.  
Public PropertyMovableGets or sets whether the user can move this object. (Inherited from Northwoods.Go.GoObject)
Public PropertyObserversGets an enumerator over the list of observer objects of this object. (Inherited from Northwoods.Go.GoObject)
Public PropertyOrientationSome meters may find it useful to be oriented along either a horizontal or vertical direction; others may ignore this.  
Public PropertyParentGets the parent group for this object. (Inherited from Northwoods.Go.GoObject)
Public PropertyPickableBackgroundGets or sets whether Northwoods.Go.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)
Public PropertyPrintableGets or sets whether the view can print this object. (Inherited from Northwoods.Go.GoObject)
Public PropertyQuantizeBaseThe Indicator.QuantizeBase property exposed from the Indicator.  
Public PropertyQuantizedThe Indicator.Quantized property exposed from the Indicator.  
Public PropertyQuantizeUnitThe Indicator.QuantizeUnit property exposed from the Indicator.  
Public PropertyReshapableOverridden. This property comes from the SelectionObject, normally the Background.  
Public PropertyResizableOverridden. This property comes from the SelectionObject, normally the Background.  
Public PropertyResizesRealtimeOverridden. This property comes from the SelectionObject, normally the Background.  
Public PropertyRightGets or sets this object's right coordinate. (Inherited from Northwoods.Go.GoObject)
Public PropertyScaleGets or sets the GraduatedScale associated with the Meter.  
Public PropertyScaleLabelChoicesThe GraduatedScale.LabelChoices property exposed from the Scale.  
Public PropertyScaleLabelDistanceThe GraduatedScale.LabelDistance property exposed from the Scale.  
Public PropertyScaleLabelFormatThe GraduatedScale.LabelFormat property exposed from the Scale.  
Public PropertyScaleLabelFrequencyThe GraduatedScale.LabelFrequency property exposed from the Scale.  
Public PropertyScaleLabelStyleThe GraduatedScale.LabelStyle property exposed from the Scale.  
Public PropertyScaleLabelTemplateThe LabelTemplate property exposed from the Scale.  
Public PropertySelectableGets or sets whether the user can select this object. (Inherited from Northwoods.Go.GoObject)
Public PropertySelectionObjectOverridden. The object that appears to be selected, when the meter is selected, is the background object.  
Public PropertyShadowedOverridden. This property comes from the SelectionObject, normally the Background.  
Public PropertyTickBaseThe GraduatedScale.TickBase property exposed from the Scale.  
Public PropertyTickColorThe GraduatedScale.TickColor property exposed from the Scale.  
Public PropertyTickLabelsThe GraduatedScale.TickLabels property exposed from the Scale.  
Public PropertyTickLengthLeftThe GraduatedScale.TickLengthLeft property exposed from the Scale.  
Public PropertyTickLengthRightThe GraduatedScale.TickLengthRight property exposed from the Scale.  
Public PropertyTickMajorFrequencyThe GraduatedScale.TickMajorFrequency property exposed from the Scale.  
Public PropertyTickMajorLengthRatioThe GraduatedScale.TickMajorLengthRatio property exposed from the Scale.  
Public PropertyTickMajorWidthThe GraduatedScale.TickMajorWidth property exposed from the Scale.  
Public PropertyTickUnitThe GraduatedScale.TickUnit property exposed from the Scale.  
Public PropertyTickWidthThe GraduatedScale.TickWidth property exposed from the Scale.  
Public PropertyTopGets or sets this object's top coordinate, the Y position. (Inherited from Northwoods.Go.GoObject)
Public PropertyTopLeftMarginGets or sets the margin between the top-left corner of the Background and the top-left corner of the Scale (and Indicator).  
Public PropertyValueThe Indicator.Value property exposed from the Indicator.  
Public PropertyViewGets 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)
Public PropertyVisibleGets or sets whether the user can see this object. (Inherited from Northwoods.Go.GoObject)
Public PropertyWidthGets or sets this object's width. (Inherited from Northwoods.Go.GoObject)
Top
Public Methods
 NameDescription
Public MethodAddAdd an object to this group. (Inherited from Northwoods.Go.GoGroup)
Public MethodAddChildNameAdd an association of a string name with a child object. (Inherited from Northwoods.Go.GoGroup)
Public MethodAddCollectionMove 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)
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 MethodClearRemove all children from this group. (Inherited from Northwoods.Go.GoGroup)
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 MethodContainedByRectangleDetermine if a given rectangle completely encloses this object. (Inherited from Northwoods.Go.GoObject)
Public MethodContainsThis predicate is true when an object belongs to this group. (Inherited from Northwoods.Go.GoGroup)
Public MethodContainsPointA group contains a point if any of its visible children contain that point. (Inherited from Northwoods.Go.GoGroup)
Public MethodCopyThis convenience method just makes a copy of the object itself, using a generic Northwoods.Go.GoCopyDictionary. (Inherited from Northwoods.Go.GoObject)
Public MethodCopyArrayReturns a newly allocated array of all of the immediate child objects in this group. (Inherited from Northwoods.Go.GoGroup)
Public MethodCopyNewValueForRedoPreserve any mutable state needed to perform an Northwoods.Go.IGoUndoableEdit.Redo. (Inherited from Northwoods.Go.GoObject)
Public MethodCopyObjectProduces a copy of this object within the given copy dictionary. (Inherited from Northwoods.Go.GoGroup)
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 MethodCopyToCopy references to this group's immediate children into the given array. (Inherited from Northwoods.Go.GoGroup)
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 MethodExpandPaintBoundsThe expanded paint bounds for a group is just the union of expanded paint bounds for all of its children. (Inherited from Northwoods.Go.GoGroup)
Public MethodFindChildReturn a child object that is known by the given name. (Inherited from Northwoods.Go.GoGroup)
Public MethodFindNameReturn a name for a child object of this group. (Inherited from Northwoods.Go.GoGroup)
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 MethodGetEnumeratorGet 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)
Public MethodGetNearestIntersectionPointA group's closest intersection point with a line is the closest such point among all of the visible children. (Inherited from Northwoods.Go.GoGroup)
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 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 MethodGetToolTipCalled to get a String to display as a tooltip for this object. (Inherited from Northwoods.Go.GoObject)
Public MethodIndexOfProvide a Northwoods.Go.GoObject-specific implementation of IndexOf. (Inherited from Northwoods.Go.GoGroup)
Public MethodInsertProvide a Northwoods.Go.GoObject-specific implementation of Insert, which just calls Northwoods.Go.GoGroup.Add or Northwoods.Go.GoGroup.InsertBefore. (Inherited from Northwoods.Go.GoGroup)
Public MethodInsertAfterAdd or move an object to be after an existing child. (Inherited from Northwoods.Go.GoGroup)
Public MethodInsertBeforeAdd or move an object to be before an existing child. (Inherited from Northwoods.Go.GoGroup)
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 MethodLayoutChildrenOverridden. Have the Scale and Indicator have the same bounds smaller than and within the Background, as determined by TopLeftMargin and BottomRightMargin. The Label is positioned according to the LabelSpot and LabelRelativeSpot.  
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 MethodPaintPainting a group just paints all of its children. (Inherited from Northwoods.Go.GoGroup)
Public MethodPickPicking a group first tries to pick a child, starting with the last one which is most in front. (Inherited from Northwoods.Go.GoGroup)
Public MethodPickObjectsReturn a collection of objects that can be picked at a particular point. (Inherited from Northwoods.Go.GoGroup)
Public MethodRemoveOverloaded. Overridden. If any part is removed from this group, be sure to remove any references in local fields.  
Public MethodRemoveAtImplement the IList method, which just calls Northwoods.Go.GoGroup.Remove. (Inherited from Northwoods.Go.GoGroup)
Public MethodRemoveChildNameOverloaded. Remove any association of a string name with a child object. (Inherited from Northwoods.Go.GoGroup)
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 MethodComputeBoundsThe bounding rectangle of a group is just the union of the bounds of its children. (Inherited from Northwoods.Go.GoGroup)
Protected MethodCopyChildrenOverridden. Make sure fields referring to children are updated to refer to the newly copied objects.  
Protected MethodCreateBackgroundMethod for creating an instance of the meter's standard background.  
Protected MethodCreateIndicatorMethod for creating an instance of the meter's standard indicator.  
Protected MethodCreateLabelMethod for creating an instance of the meter's standard label.  
Protected MethodCreateScaleMethod for creating an instance of the meter's standard scale.  
Protected MethodMoveChildrenThis just moves all the children from the group's former location. (Inherited from Northwoods.Go.GoGroup)
Protected MethodOnBoundsChangedProvides 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)
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 MethodRescaleChildrenThis handles the general case of a resize by scaling and repositioning all the children. (Inherited from Northwoods.Go.GoGroup)
Top
See Also

Reference

Meter Class
Northwoods.Go.Instruments Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback