APIdia Launch Partner
Top Description Fields Constructors Methods
javafx.scene.text

public final Enum FontPosture

extends Enum<FontPosture>
Class Inheritance

Specifies whether the font is italicized
Since
JavaFX 2.0

Field Summary

Modifier and TypeField and Description
public static final FontPosture
ITALIC

represents italic.

private final String[]
public static final FontPosture
REGULAR

represents regular.

Constructor Summary

AccessConstructor and Description
private
FontPosture(String... names)

Method Summary

Modifier and TypeMethod and Description
public static FontPosture

Returns:

the FontPosture by its name
findByName
(String
name of the FontPosture
name
)

Returns FontPosture by its name.

public static FontPosture
public static FontPosture[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ITALICback to summary
public static final FontPosture ITALIC

represents italic.

namesback to summary
private final String[] names
REGULARback to summary
public static final FontPosture REGULAR

represents regular.

Constructor Detail

FontPostureback to summary
private FontPosture(String... names)

Method Detail

findByNameback to summary
public static FontPosture findByName(String name)

Returns FontPosture by its name.

Parameters
name:String

name of the FontPosture

Returns:FontPosture

the FontPosture by its name

valueOfback to summary
public static FontPosture valueOf(String name)
valuesback to summary
public static FontPosture[] values()