Skip to main content

ConstantLineTitle Class

A constant line’s title.

Declaration

public class ConstantLineTitle
extends TitleBase

Remarks

Constant line title

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

ConstantLineTitle() Constructor

Initializes a new ConstantLineTitle class instance with default parameters.

Declaration

public ConstantLineTitle()

ConstantLineTitle(String) Constructor

Initializes a new ConstantLineTitle class instance with the specified parameters.

Declaration

public ConstantLineTitle(String text)

Parameters

Name Type Description
text String

The constant line’s title text.

Methods

getAlignment() Method

Returns a constant line’s title alignment.

Declaration

public ConstantLineTitleAlignment getAlignment()

Returns

Type Description
ConstantLineTitleAlignment

The ConstantLineTitleAlignment enumeration value that defines title’s alignment.

isShowBelowLine() Method

Returns the value indicating whether the title is displayed below the constant line.

Declaration

public boolean isShowBelowLine()

Returns

Type Description
boolean

true if the title is below its constant line.

setAlignment(ConstantLineTitleAlignment) Method

Specifies a constant line’s title alignment.

Declaration

public void setAlignment(ConstantLineTitleAlignment value)

Parameters

Name Type Description
value ConstantLineTitleAlignment

The ConstantLineTitleAlignment enumeration value that defines the title’s alignment.

setShowBelowLine(boolean) Method

Specifies the value indicating whether the title is displayed below the constant line.

Declaration

public void setShowBelowLine(boolean value)

Parameters

Name Type Description
value boolean

true if the title is below its constant line.