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

DateTimeConstantLine Class

The constant line that can be added to a DateTimeAxisX axis.

Declaration

public class DateTimeConstantLine
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

DateTimeConstantLine() Constructor

Initializes a new DateTimeConstantLine class instance with default parameters.

Declaration

public DateTimeConstantLine()

DateTimeConstantLine(Date) Constructor

Initializes a new DateTimeConstantLine class instance with the specified parameters.

Declaration

public DateTimeConstantLine(Date axisValue)

Parameters

Name Type Description
axisValue Date

The value that specifies the constant line’s position.

Methods

getAxisValue() Method

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

Declaration

public Date getAxisValue()

Returns

Type Description
Date

The constant line’s position along the corresponding date-time axis.

setAxisValue(Date) Method

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

Declaration

public void setAxisValue(Date value)

Parameters

Name Type Description
value Date

The constant line’s position along the corresponding date-time axis.