Skip to main content

FontSchemeStyle Class

Lists font scheme styles that link a font to a theme font.

Declaration

public final class FontSchemeStyle extends IntEnum<FontSchemeStyle>

Remarks

Call the ShapeStyle.getFontStyle() method to get the theme font for shape text. Call the ShapeStyle.setFontStyle(value) method to specify the theme font.

Refer to the following help topic for additional information: Customize Presentation Themes.

Inherited Members

com.devexpress.java.enums.IntEnum.clone()
com.devexpress.java.enums.IntEnum.compareTo(T)
com.devexpress.java.enums.IntEnum.equals(java.lang.Object)
com.devexpress.java.enums.IntEnum.getName()
com.devexpress.java.enums.IntEnum.getValue()
com.devexpress.java.enums.IntEnum.hasFlag(T)
com.devexpress.java.enums.IntEnum.hasFlag(int)
com.devexpress.java.enums.IntEnum.hashCode()
com.devexpress.java.enums.IntEnum.readResolve()
com.devexpress.java.enums.IntEnum.resolve(int)
com.devexpress.java.enums.IntEnum.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.java.enums.IntEnum
FontSchemeStyle
See Also

Fields

_MAJOR Field

Applies the major font from the theme font scheme.

Declaration

public static final int _MAJOR

Field Value

Type Description
int

Applies the major font from the theme font scheme.

_MINOR Field

Applies the minor font from the theme font scheme.

Declaration

public static final int _MINOR

Field Value

Type Description
int

Applies the minor font from the theme font scheme.

_NONE Field

Does not apply a font from the theme font scheme.

Declaration

public static final int _NONE

Field Value

Type Description
int

Does not apply a font from the theme font scheme.

MAJOR Field

Applies the major font from the theme font scheme.

Declaration

public static final FontSchemeStyle MAJOR

Field Value

Type Description
FontSchemeStyle

Applies the major font from the theme font scheme.

MINOR Field

Applies the minor font from the theme font scheme.

Declaration

public static final FontSchemeStyle MINOR

Field Value

Type Description
FontSchemeStyle

Applies the minor font from the theme font scheme.

NONE Field

Does not apply a font from the theme font scheme.

Declaration

public static final FontSchemeStyle NONE

Field Value

Type Description
FontSchemeStyle

Does not apply a font from the theme font scheme.

Methods

fromValue(int value) Method

Returns the FontSchemeStyle enumeration constant with the specified integer value.

Declaration

public static FontSchemeStyle fromValue(int value)

Parameters

Name Type Description
value int

The integer value of the enumeration constant.

Returns

Type Description
FontSchemeStyle

The FontSchemeStyle enumeration constant with the specified value.

values() Method

Returns an array of all FontSchemeStyle enumeration constants.

Declaration

public static FontSchemeStyle[] values()

Returns

Type Description
FontSchemeStyle[]

An array of all FontSchemeStyle enumeration constants.