Skip to main content

TextBulletSize Class

A structure that is used to specify the text bullet size.

Declaration

public final class TextBulletSize extends Struct<TextBulletSize>

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
TextBulletSize

Constructors

TextBulletSize() Constructor

Initializes a new instance of the TextBulletSize class.

Declaration

public TextBulletSize()

TextBulletSize(TextBulletSizeType type, float value) Constructor

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

Declaration

public TextBulletSize(TextBulletSizeType type, float value)

Parameters

Name Type Description
type TextBulletSizeType

Specifies the bullet size mode.

value float

Specifies the bullet size value used for percentage or point-based sizing.

Fields

AUTOMATIC Field

Indicates that the text bullet size is determined automatically.

Declaration

public static final TextBulletSize AUTOMATIC

Field Value

Type Description
TextBulletSize

A TextBulletSize object that specifies automatic bullet sizing.

Type Field

The bullet size mode.

Declaration

public TextBulletSizeType Type

Field Value

Type Description
TextBulletSizeType

The bullet size mode.

USE_TEXT_SETTINGS Field

Returns a value that specifies that the text bullet size is the same as the text size.

Declaration

public static final TextBulletSize USE_TEXT_SETTINGS

Field Value

Type Description
TextBulletSize

A TextBulletSize instance that specifies text size for bullets.

Methods

equals(Object obj) Method

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

Declaration

public boolean equals(Object obj)

Parameters

Name Type Description
obj Object

The object to compare with this bullet size.

Returns

Type Description
boolean

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

getPercentage() Method

Returns the text bullet size as a percentage of the text size.

Declaration

public float getPercentage()

Returns

Type Description
float

The percentage of the text size to specify the text bullet size.

getPoint() Method

Returns the text bullet size in points.

Declaration

public int getPoint()

Returns

Type Description
int

The text bullet size in points.

hashCode() Method

Returns a hash code value for this bullet size.

Declaration

public int hashCode()

Returns

Type Description
int

The hash code.