StaticCrosshairLabelPosition Class

A Crosshair's Label has a static position.

Declaration

public class StaticCrosshairLabelPosition
extends CrosshairLabelPositionBase

Static crosshair label

Inheritance

Object
ChartElement
CrosshairLabelPositionBase
StaticCrosshairLabelPosition

Inherited Members

java.lang.Object.equals(java.lang.Object)
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long, int)

Constructors

StaticCrosshairLabelPosition() Constructor

Initializes a new StaticLabelPosition class instance with default parameters.

Declaration

public StaticCrosshairLabelPosition()

Methods

StaticCrosshairLabelPosition.getHorizontalAlignment() Method

Returns the value that specifies a label's horizontal alignment.

Declaration

public LabelPositionHorizontalAlignment getHorizontalAlignment()

Returns

Type Description
LabelPositionHorizontalAlignment

The LabelPositionHorizontalAlignment enumeration value that defines a Crosshair Label's horizontal alignment.

StaticCrosshairLabelPosition.getVerticalAlignment() Method

Returns the value that specifies a label's vertical alignment.

Declaration

public LabelPositionVerticalAlignment getVerticalAlignment()

Returns

Type Description
LabelPositionVerticalAlignment

The LabelPositionVerticalAlignment enumeration value that defines a Crosshair Label's vertical alignment.

StaticCrosshairLabelPosition.setHorizontalAlignment(LabelPositionHorizontalAlignment) Method

Specifies the value that specifies a label's horizontal alignment.

Declaration

public void setHorizontalAlignment(LabelPositionHorizontalAlignment alignment)

Parameters

Type Name Description
LabelPositionHorizontalAlignment alignment

The LabelPositionHorizontalAlignment enumeration value that defines a Crosshair Label's horizontal alignment.

StaticCrosshairLabelPosition.setVerticalAlignment(LabelPositionVerticalAlignment) Method

Specifies the value that specifies a label's vertical alignment.

Declaration

public void setVerticalAlignment(LabelPositionVerticalAlignment alignment)

Parameters

Type Name Description
LabelPositionVerticalAlignment alignment

The LabelPositionVerticalAlignment enumeration value that defines a Crosshair Label's vertical alignment.