Skip to main content
A newer version of this page is available.

NumericConstantLine Class

The constant line that can be added to NumericAxisX and NumericAxisY axes.

Declaration

public class NumericConstantLine
extends ConstantLineBase

Inherited Members

java.lang.Object.equals(java.lang.Object)(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)(long)
java.lang.Object.wait(long, int)(long,int)

Inheritance

Constructors

NumericConstantLine() Constructor

Initializes a new NumericConstantLine class instance with default parameters.

Declaration

public NumericConstantLine()

NumericConstantLine(double) Constructor

Initializes a new NumericConstantLine class instance with the specified parameters.

Declaration

public NumericConstantLine(double axisValue)

Parameters

Name Type Description
axisValue double

The value that specifies the constant line’s position.

Methods

getAxisValue() Method

Returns the axis value specifying the constant line’s position along the axis.

Declaration

public double getAxisValue()

Returns

Type Description
double

The axis value that specifies the constant line’s position along the corresponding numeric axis.

setAxisValue(double) Method

Specifies the axis value specifying the constant line’s position along the axis.

Declaration

public void setAxisValue(double value)

Parameters

Name Type Description
value double

The axis value that specifies the constant line’s position along the corresponding numeric axis.