TitleBase Class
The base class for titles.
Declaration
public abstract class TitleBase
extends StyledElement
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
Object
ChartElement
StyledElement
TitleBase
Methods
getStyle() Method
Returns the title style.
Declaration
public TitleStyle getStyle()
Returns
| Type | Description |
|---|---|
| TitleStyle | The TitleStyle object that stores a title’s appearance parameters. |
getText() Method
Returns title’s text.
Declaration
public String getText()
Returns
| Type | Description |
|---|---|
| String | The string that specifies title’s text. |
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. |
setStyle(TitleStyle) Method
Specifies the title style.
Declaration
public void setStyle(TitleStyle style)
Parameters
| Name | Type | Description |
|---|---|---|
| style | TitleStyle | The TitleStyle object that stores a title’s appearance parameters. |
setText(String) Method
Specifies title’s text.
Declaration
public void setText(String format)
Parameters
| Name | Type | Description |
|---|---|---|
| format | String | The string that specifies title’s text. |
setVisible(boolean) Method
Specifies the value specifying the title’s visibility.
Declaration
public void setVisible(boolean value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | boolean | true if the title is visible; otherwise false. |