Search
BaseGauge Members
Constructors Fields Methods
 


Represents the base class of linear and oval gauges.

The following tables list the members exposed by the BaseGauge type.

 Protected Constructors

  Name Description

BaseGauge

Initializes a new instance of the BaseGauge class.

 Public Fields

  Name Description

RelativeCoordinates

A value indicating whether the metrics of this element are expressed as relative or absolute quantities. (Inherited from VisualElement.)

RelativeStroke

A value indicating whether the stroke thickness of this element is expressed as relative or absolute quantity. (Inherited from VisualElement.)

 Protected Fields

  Name Description

background

A VisualElement containing all background elements.

filling

The cached outline of a sealed path figure. (Inherited from VisualElement.)

foreground

A VisualElement containing all foreground elements.

outline

  (Inherited from VisualElement.)

 Public Methods

  Name Description

addBaseGaugeListener

 

addVisualElementListener

  (Inherited from VisualElement.)

arrange

  (Inherited from VisualElementContainer.)

associateJComponent

  (Inherited from Component.)

createController

 

dissociateJComponent

  (Inherited from Component.)

draw

 

getActualHeight

Gets a double value specifying the component's assigned height. Valid only after calling {#link arrange}. (Inherited from Component.)

getActualWidth

Gets a double value specifying the component's assigned width. Valid only after calling arrange. (Inherited from Component.)

getDesiredHeight

Gets a nullable double value specifying the component's desired height. Valid only after calling measure. (Inherited from Component.)

getDesiredWidth

Gets a nullable double value specifying the component's desired width. Valid only after calling measure. (Inherited from Component.)

getEffectiveFill

  (Inherited from VisualElement.)

getElementByName

Returns the scale element with the specified name.

getFill

Gets the fill of this element. (Inherited from VisualElement.)

getFontName

Gets the name of font used to draw text in this gauge.

getFontSize

Gets the size of font used to draw text in this gauge.

getFontStyle

Gets the style of font used to draw text in this gauge.

getGridColumn

Gets the column index of this component when placed inside a GridPanel. (Inherited from Component.)

getGridRow

Gets the row index of this component when placed inside a GridPanel. (Inherited from Component.)

getHeight

Gets a fixed height for this component. (Inherited from Component.)

getHitTestVisibility

Gets the hit-test visibility of this component. (Inherited from Component.)

getHorizontalAlignment

Gets the horizontal alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.)

getMargin

Gets the margin of this element. (Inherited from VisualElement.)

getName

Gets the name of this element. (Inherited from VisualElement.)

getParent

  (Inherited from Component.)

getPointerBackground

Gets a Brush used to draw the background of gauge pointers.

getPointerStroke

Gets a Brush used to stroke gauge pointers.

getPointerStrokeThickness

Gets the thickness of the Pen used to stroke the gauge pointers.

getRectInParent

Gets the boundaries of this component relative to its parent. (Inherited from Component.)

getScaleBackground

Gets a Brush used to draw the background of the gauge scales.

getScaleStroke

Gets a Brush used to stroke the gauge scales.

getScaleStrokeThickness

Gets the thickness of the Pen used to stroke the gauge scales.

getStroke

Gets the stroke of this element. (Inherited from VisualElement.)

getTickBackground

Gets a Brush used to draw the background of gauge ticks.

getTickStroke

Gets a Brush used to stroke gauge ticks.

getTickStrokeThickness

Gets the thickness of the Pen used to stroke gauge ticks.

getToolTip

Gets the component's tooltip text. (Inherited from Component.)

getVerticalAlignment

Gets the vertical alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.)

getVisibility

Gets the visibility of this component. (Inherited from Component.)

getWidth

Gets a fixed width for this component. (Inherited from Component.)

getXInParent

Gets a double value specifying the component's horizontal position relative to its parent. (Inherited from Component.)

getYInParent

Gets a double value specifying the component's vertical position relative to its parent. (Inherited from Component.)

hitTest

  (Inherited from VisualElement.)

hitTestObj

Checks whether the specified point lies within the visual structure of a scale element.

invalidate

Overloaded.   (Inherited from Component.)

invalidateLayout

Overloaded.   (Inherited from Component.)

localToRoot

Transforms the specified point to the coordinate system of the root panel. (Inherited from Component.)

measure

 

processMouseDown

Invoked to handle a MouseDown event.

processMouseMove

Invoked to handle a MouseMove event.

processMouseUp

Invoked to handle a MouseUp event.

removeBaseGaugeListener

 

removeVisualElementListener

  (Inherited from VisualElement.)

rootToLocal

Transforms the specified point to the coordinate system of this component. (Inherited from Component.)

setActualHeight

Sets a double value specifying the component's assigned height. (Inherited from Component.)

setActualWidth

Sets a double value specifying the component's assigned width. (Inherited from Component.)

setDesiredHeight

Sets a nullable double value specifying the component's desired height. (Inherited from Component.)

setDesiredWidth

Sets a nullable double value specifying the component's desired width. (Inherited from Component.)

setFill

Sets the fill of this element. (Inherited from VisualElement.)

setFontName

Sets the name of font used to draw text in this gauge.

setFontSize

Sets the size of font used to draw text in this gauge.

setFontStyle

Sets the style of font used to draw text in this gauge.

setGridColumn

Sets the column index of this component when placed inside a GridPanel. (Inherited from Component.)

setGridRow

Sets the row index of this component when placed inside a GridPanel. (Inherited from Component.)

setHeight

Sets a fixed height for this component. (Inherited from Component.)

setHitTestVisibility

Sets the hit-test visibility of this component. (Inherited from Component.)

setHorizontalAlignment

Sets the horizontal alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.)

setMargin

Sets the margin of this element. (Inherited from VisualElement.)

setName

Sets the name of this element. (Inherited from VisualElement.)

setParent

  (Inherited from Component.)

setPointerBackground

Sets a Brush used to draw the background of gauge pointers.

setPointerStroke

Sets a Brush used to stroke gauge pointers.

setPointerStrokeThickness

Sets the thickness of the Pen used to stroke the gauge pointers.

setScaleBackground

Sets a Brush used to draw the background of the gauge scales.

setScaleStroke

Sets a Brush used to stroke the gauge scales.

setScaleStrokeThickness

Sets the thickness of the Pen used to stroke the gauge scales.

setStroke

Sets the stroke of this element. (Inherited from VisualElement.)

setTickBackground

Sets a Brush used to draw the background of gauge ticks.

setTickStroke

Sets a Brush used to stroke gauge ticks.

setTickStrokeThickness

Sets the thickness of the Pen used to stroke gauge ticks.

setToolTip

Sets the component's tooltip text. (Inherited from Component.)

setVerticalAlignment

Sets the vertical alignment of this component inside the layout rectangle allocated by its parent panel. (Inherited from Component.)

setVisibility

Sets the visibility of this component. (Inherited from Component.)

setWidth

Sets a fixed width for this component. (Inherited from Component.)

setXInParent

Sets a double value specifying the component's horizontal position relative to its parent. (Inherited from Component.)

setYInParent

Sets a double value specifying the component's vertical position relative to its parent. (Inherited from Component.)

toString

  (Inherited from VisualElement.)

visit

Implements the visitor design pattern. (Inherited from Component.)

 Protected Methods

 See Also