VerticalAlignmentType

Inheritance: java.lang.Object

public final class VerticalAlignmentType

Class representing possible vertical alignment values. Use VerticalAlignment instead

Constructors

ConstructorDescription
VerticalAlignmentType(String name)Initializes vertical alignment by its name.

Fields

FieldDescription
TopTop alignment.
CenterCenter alignment type.
BottomBottom alignment type.

Methods

MethodDescription
toString()Returns string representation.

VerticalAlignmentType(String name)

public VerticalAlignmentType(String name)

Initializes vertical alignment by its name.

Parameters:

ParameterTypeDescription
namejava.lang.StringVertical alignment type name.

Top

public static final VerticalAlignmentType Top

Top alignment.

Center

public static final VerticalAlignmentType Center

Center alignment type.

Bottom

public static final VerticalAlignmentType Bottom

Bottom alignment type.

toString()

public String toString()

Returns string representation.

Returns: java.lang.String - Name value.