TextStyleName Class

public final class TextStyleName
extends ExpandableStringEnum<TextStyleName>

Defines values for TextStyleName.

Field Summary

Modifier and Type Field and Description
static final TextStyleName HANDWRITING

Static value handwriting for TextStyleName.

static final TextStyleName OTHER

Static value other for TextStyleName.

Constructor Summary

Constructor Description
TextStyleName()

Deprecated

Use the fromString(String name) factory method.

Constructs a TextStyleName object

Method Summary

Modifier and Type Method and Description
static TextStyleName fromString(String name)

Creates or finds a TextStyleName from its string representation.

static Collection<TextStyleName> values()

Returns the known TextStyleName values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

HANDWRITING

public static final TextStyleName HANDWRITING

Static value handwriting for TextStyleName.

OTHER

public static final TextStyleName OTHER

Static value other for TextStyleName.

Constructor Details

TextStyleName

@Deprecated
public TextStyleName()

Deprecated

Use the fromString(String name) factory method.

Constructs a TextStyleName object

Method Details

fromString

public static TextStyleName fromString(String name)

Creates or finds a TextStyleName from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TextStyleName.

values

public static Collection values()

Returns the known TextStyleName values.

Returns:

known TextStyleName values.

Applies to