TextStyleName Class

public final class TextStyleName
extends ExpandableStringEnum<TextStyleName>

The text line style name, including handwriting and other.

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.

Creates a new instance of TextStyleName value.

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()

Gets 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.

Creates a new instance of TextStyleName value.

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()

Gets known TextStyleName values.

Returns:

known TextStyleName values.

Applies to