Search
BaseScale Members
Constructors Fields Methods
 


Represents a scale within a gauge control. The scale contains collections of pointers, labels, ticks and ranges along with any arbitrary controls.

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

 Protected Constructors

  Name Description

BaseScale

Initializes a new instance of the BaseScale 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

filling

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

outline

  (Inherited from VisualElement.)

 Public Methods

  Name Description

addBaseScaleListener

 

addScaleElementListener

  (Inherited from ScaleElement.)

addVisualElementListener

  (Inherited from VisualElement.)

arrange

  (Inherited from VisualElementContainer.)

associateJComponent

  (Inherited from Component.)

beginInit

 

createController

Returns a ComponentController used to interact with this component. (Inherited from Component.)

dissociateJComponent

  (Inherited from Component.)

draw

  (Inherited from VisualElementContainer.)

endInit

 

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.)

getCustomFunction

Gets the function to be used for distribution of values along the scale when setFunctionType is set to FunctionType.Custom.

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

 

getEffectiveStroke

 

getEndWidth

Gets the width of the scale bar at its end.

getFill

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

getFunctionArgument

Gets the argument passed to custom functions.

getFunctionType

Gets the type of the function used to calculate the distribution of values along the scale.

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.)

getLogarithmBase

Gets the logarithm base when setFunctionType is set to FunctionType.Logarithmic.

getMajorTickSettings

Gets the settings for the major ticks and their associated labels.

getMargin

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

getMaxValue

Gets the maximal value displayed by the scale.

getMiddleTickSettings

Gets the settings for the middle ticks and their associated labels.

getMinorTickSettings

Gets the settings for the minor ticks and their associated labels.

getMinValue

Gets the minimal value displayed by the scale.

getName

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

getParent

  (Inherited from Component.)

getPointers

Gets a collection with the pointers displayed in the scale.

getRanges

Gets a collection with the ranges displayed in the scale.

getRectInParent

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

getReversedCustomFunction

Gets the reversed version of the function specified through setCustomFunction.

getScaleChildren

Gets a collection with elements displayed in the scale.

getStartWidth

Gets the width of the scale bar at its beginning.

getStroke

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

getToolTip

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

getValueFromPoint

Returns the value corresponding to the specified point.

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 ScaleElement.)

hitTestObj

  (Inherited from VisualElementContainer.)

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

  (Inherited from VisualElementContainer.)

removeBaseScaleListener

 

removeScaleElementListener

  (Inherited from ScaleElement.)

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.)

setCustomFunction

Sets the function to be used for distribution of values along the scale when setFunctionType is set to FunctionType.Custom.

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.)

setEndWidth

Sets the width of the scale bar at its end.

setFill

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

setFunctionArgument

Sets the argument passed to custom functions.

setFunctionType

Sets the type of the function used to calculate the distribution of values along the scale.

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.)

setLogarithmBase

Sets the logarithm base when setFunctionType is set to FunctionType.Logarithmic.

setMajorTickSettings

Sets the settings for the major ticks and their associated labels.

setMargin

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

setMaxValue

Sets the maximal value displayed by the scale.

setMiddleTickSettings

Sets the settings for the middle ticks and their associated labels.

setMinorTickSettings

Sets the settings for the minor ticks and their associated labels.

setMinValue

Sets the minimal value displayed by the scale.

setName

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

setParent

  (Inherited from Component.)

setPointers

Sets a collection with the pointers displayed in the scale.

setRanges

Sets a collection with the ranges displayed in the scale.

setReversedCustomFunction

Sets the reversed version of the function specified through setCustomFunction.

setScaleChildren

Sets a collection with elements displayed in the scale.

setStartWidth

Sets the width of the scale bar at its beginning.

setStroke

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

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

  Name Description

add

Sums specified nullable double values. (Inherited from Component.)

effectiveMeasuredHeight

  (Inherited from Component.)

effectiveMeasuredWidth

  (Inherited from Component.)

onClicked

Raises the ScaleElementListener.clicked event. (Inherited from ScaleElement.)

onInvalidated

  (Inherited from VisualElement.)

onPointerClicked

Raises the BaseScaleListener.pointerClicked event.

onPostpaint

  (Inherited from VisualElement.)

onPrepaint

  (Inherited from VisualElement.)

onQueryAmbientPropertyValue

  (Inherited from VisualElement.)

onQueryLabelValue

Raises the BaseScaleListener.queryLabelValue event.

onScaleGeometryClicked

Raises the BaseScaleListener.scaleGeometryClicked event.

 See Also