TitleBase Class

The base class for titles.

Declaration

public abstract class TitleBase
extends StyledElement

Inheritance

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)

Methods

TitleBase.getStyle() Method

Returns the title style.

Declaration

public TitleStyle getStyle()

Returns

Type Description
TitleStyle

The TitleStyle object that stores a title's appearance parameters.

TitleBase.getText() Method

Returns title's text.

Declaration

public String getText()

Returns

Type Description
String

The string that specifies title's text.

TitleBase.isVisible() Method

Returns the value specifying the title's visibility.

Declaration

public boolean isVisible()

Returns

Type Description
boolean

true if the title is visible; otherwise false.

TitleBase.setStyle(TitleStyle) Method

Specifies the title style.

Declaration

public void setStyle(TitleStyle style)

Parameters

Type Name Description
TitleStyle style

The TitleStyle object that stores a title's appearance parameters.

TitleBase.setText(String) Method

Specifies title's text.

Declaration

public void setText(String format)

Parameters

Type Name Description
String format

The string that specifies title's text.

TitleBase.setVisible(boolean) Method

Specifies the value specifying the title's visibility.

Declaration

public void setVisible(boolean value)

Parameters

Type Name Description
boolean value

true if the title is visible; otherwise false.