The requested page is not available for the requested platform. You are viewing the content for Default platform.

StaticCrosshairLabelPosition Class

A Crosshair's Label has a static position.

Declaration

public class StaticCrosshairLabelPosition
extends CrosshairLabelPositionBase

Remarks

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

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.

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.

setHorizontalAlignment(LabelPositionHorizontalAlignment) Method

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

Declaration

public void setHorizontalAlignment(LabelPositionHorizontalAlignment alignment)

Parameters

Name Type Description
alignment LabelPositionHorizontalAlignment

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

setVerticalAlignment(LabelPositionVerticalAlignment) Method

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

Declaration

public void setVerticalAlignment(LabelPositionVerticalAlignment alignment)

Parameters

Name Type Description
alignment LabelPositionVerticalAlignment

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