Skip to main content

TextBulletFont Class

Specifies the text bullet font.

Declaration

public final class TextBulletFont extends Struct<TextBulletFont>

Inherited Members

com.devexpress.system.Struct.equals(java.lang.Object)
com.devexpress.system.Struct.getHashCode()
com.devexpress.system.Struct.hashCode()
java.lang.Object.clone()
java.lang.Object.finalize()
java.lang.Object.getClass()
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)

Inheritance

Object
com.devexpress.system.Struct
TextBulletFont

Constructors

TextBulletFont() Constructor

Initializes a new instance of the TextBulletFont class.

Declaration

public TextBulletFont()

TextBulletFont(String fontName, String panose, byte charset, byte pitchFamily) Constructor

Initializes a new instance of the TextBulletFont class with specified settings.

Declaration

public TextBulletFont(String fontName, String panose, byte charset, byte pitchFamily)

Parameters

Name Type Description
fontName String

The custom font name used for bullets.

panose String

The PANOSE font classification string.

charset byte

The character set identifier.

pitchFamily byte

The pitch and family information.

TextBulletFont(String fontName) Constructor

Initializes a new instance of the TextBulletFont class with specified settings.

Declaration

public TextBulletFont(String fontName)

Parameters

Name Type Description
fontName String

The custom font name used for bullets.

TextBulletFont(TextFont typeface) Constructor

Initializes a new instance of the TextBulletFont class with specified settings.

Declaration

public TextBulletFont(TextFont typeface)

Parameters

Name Type Description
typeface TextFont

Specifies the custom typeface used for bullets.

Fields

AUTOMATIC Field

Indicates that the text bullet font is determined automatically.

Declaration

public static final TextBulletFont AUTOMATIC

Field Value

Type Description
TextBulletFont

A TextBulletFont object that specifies automatic bullet font selection.

Type Field

Gets the bullet typeface mode.

Declaration

public TextBulletTypefaceType Type

Field Value

Type Description
TextBulletTypefaceType

The bullet typeface mode.

USE_TEXT_SETTINGS Field

Returns a TextBulletFont object with settings based on the text settings.

Declaration

public static final TextBulletFont USE_TEXT_SETTINGS

Field Value

Type Description
TextBulletFont

A TextBulletFont object that specifies text font settings for bullets.

Methods

equals(Object obj) Method

Determines whether the specified object is equal to this bullet font.

Declaration

public boolean equals(Object obj)

Parameters

Name Type Description
obj Object

The object to compare with this bullet font.

Returns

Type Description
boolean

true if the specified object is equal to this bullet font; otherwise, false.

getCharset() Method

Gets the font’s character set.

Declaration

public byte getCharset()

Returns

Type Description
byte

The font’s character set.

getFontName() Method

Returns the text bullet font name.

Declaration

public String getFontName()

Returns

Type Description
String

The text bullet font name.

getPanose() Method

Returns the PANOSE classification of the font.

Declaration

public String getPanose()

Returns

Type Description
String

The PANOSE classification of the font.

getPitchFamily() Method

Returns the pitch and family of the font.

Declaration

public byte getPitchFamily()

Returns

Type Description
byte

The pitch and family of the font.

hashCode() Method

Returns a hash code value for this bullet font.

Declaration

public int hashCode()

Returns

Type Description
int

The hash code.