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

TextElementStyleBase Class

The base class of styles of elements that display text.

Declaration

public abstract class TextElementStyleBase
extends StyleBase

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
StyleBase
TextElementStyleBase

TextElementStyleBase()

Initializes a new TextElementStyleBase class instance with default parameters.

Declaration

public TextElementStyleBase()

Methods

getTextStyle() Method

Returns the chart element’s text style.

Declaration

public TextStyle getTextStyle()

Returns

Type Description
TextStyle

The TextStyle object that specifies text settings.

setTextStyle(TextStyle) Method

Specifies the chart element’s text style.

Declaration

public void setTextStyle(TextStyle textStyle)

Parameters

Name Type Description
textStyle TextStyle

The TextStyle object that specifies text settings.