Top Description Fields Constructors Methods
javafx.scene.text

public final Enum TextAlignment

extends Enum<TextAlignment>
Class Inheritance

The TextAlignment enum represents the horizontal text alignment.
Since
JavaFX 2.0

Field Summary

Modifier and TypeField and Description
public static final TextAlignment
CENTER

Represents centered text alignment (ragged left and right).

public static final TextAlignment
JUSTIFY

Represents justified text alignment.

public static final TextAlignment
LEFT

Represents text alignment to the left (left-justified, ragged right).

public static final TextAlignment
RIGHT

Represents text alignment to the right (right-justified, ragged left).

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static TextAlignment
public static TextAlignment[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CENTERback to summary
public static final TextAlignment CENTER

Represents centered text alignment (ragged left and right).

JUSTIFYback to summary
public static final TextAlignment JUSTIFY

Represents justified text alignment.

LEFTback to summary
public static final TextAlignment LEFT

Represents text alignment to the left (left-justified, ragged right).

Constructor Detail

TextAlignmentback to summary
private TextAlignment()

Method Detail

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