Search
Pointer Members
Constructors Fields Methods
 


Represents a needle (or arrow) within a gauge scale.

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

 Public Constructors

  Name Description

Pointer

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

addPointerListener

 

addScaleElementListener

  (Inherited from ScaleElement.)

addVisualElementListener

  (Inherited from VisualElement.)

arrange

 

associateJComponent

  (Inherited from Component.)

createController

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

dissociateJComponent

  (Inherited from Component.)

draw

  (Inherited from VisualElementContainer.)

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

getAlignment

Gets the alignment of the pointer relative to the scale.

getCustomShape

Gets the definition of the pointer shape when setShape is set to PointerShape.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

 

getFill

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

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

getIsDiscrete

Gets a value indicating whether the pointer value can be changed only discretely. In other words, the pointer getValue can be only integer.

getIsInteractive

Gets a value indicating whether the pointer position should be affected by user interactions.

getMargin

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

getName

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

getParent

  (Inherited from Component.)

getPointerHeight

Gets the height of the pointer.

getPointerOffset

Gets the offset of the pointer along the direction it points to.

getPointerWidth

Gets the width of the pointer.

getRectInParent

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

getShape

Gets the shape of the pointer.

getStroke

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

getToolTip

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

getValue

Gets the value this pointer points to.

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

 

removePointerListener

 

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

setAlignment

Sets the alignment of the pointer relative to the scale.

setCustomShape

Sets the definition of the pointer shape when setShape is set to PointerShape.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.)

setFill

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

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

setIsDiscrete

Sets a value indicating whether the pointer value can be changed only discretely. In other words, the pointer getValue can be only integer.

setIsInteractive

Sets a value indicating whether the pointer position should be affected by user interactions.

setMargin

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

setName

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

setParent

  (Inherited from Component.)

setPointerHeight

Sets the height of the pointer.

setPointerOffset

Sets the offset of the pointer along the direction it points to.

setPointerWidth

Sets the width of the pointer.

setShape

Sets the shape of the pointer.

setStroke

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

setToolTip

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

setValue

Sets the value this pointer points to.

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

onPostpaint

  (Inherited from VisualElement.)

onPrepaint

  (Inherited from VisualElement.)

onQueryAmbientPropertyValue

  (Inherited from VisualElement.)

onValueChanged

Raises the PointerListener.valueChanged event.

onValueChanging

Raises the PointerListener.valueChanging event.

 See Also