Package limn.scene.layout
Enum Class Flex.CrossAlignment
- All Implemented Interfaces:
Serializable,Comparable<Flex.CrossAlignment>,Constable
- Enclosing class:
Flex
Cross-axis placement.
START/CENTER/END/STRETCH align
boxes; BASELINE aligns text.
Use BASELINE for a row that mixes ControlSize steps and
carries text. The cross-step baseline offset reduces to body * 0.341796875 (a
function of the type ramp alone), so no choice of control heights can cancel it, and
under CENTER two controls at adjacent steps sit with their baselines up to
0.69pt apart (2.73pt across the full ramp). BASELINE is ignored on a
Column, where the cross axis is horizontal and there is no shared baseline.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Flex.CrossAlignmentReturns the enum constant of this class with the specified name.static Flex.CrossAlignment[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
START
-
CENTER
-
END
-
STRETCH
-
BASELINE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-