Enum Constant Detail

LEADING

Indicates the elements should be
aligned to the origin. For the horizontal axis with a left to
right orientation this means aligned to the left edge. For the
vertical axis leading means aligned to the top edge.

TRAILING

Indicates the elements should be aligned to the end of the
region. For the horizontal axis with a left to right
orientation this means aligned to the right edge. For the
vertical axis trailing means aligned to the bottom edge.

valueOf

Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)