AlignmentType

Inheritance: java.lang.Object

public final class AlignmentType

Class contains possibly alignment types. Use HorizontalAlignment instead

Constructors

ConstructorDescription
AlignmentType(String name)Constructor of AlignmentType.

Fields

FieldDescription
CenterCenter alignment.
LeftLeft alignment.
RightRight alignment.

Methods

MethodDescription
toString()Returns string representation.

AlignmentType(String name)

public AlignmentType(String name)

Constructor of AlignmentType.

Parameters:

ParameterTypeDescription
namejava.lang.StringAlignment type name.

Center

public static final AlignmentType Center

Center alignment.

Left

public static final AlignmentType Left

Left alignment.

public static final AlignmentType Right

Right alignment.

toString()

public String toString()

Returns string representation.

Returns: java.lang.String - Name value.