Enum RadianceThemingSlices.HorizontalGravity
java.lang.Object
java.lang.Enum<RadianceThemingSlices.HorizontalGravity>
org.pushingpixels.radiance.theming.api.RadianceThemingSlices.HorizontalGravity
- All Implemented Interfaces:
Serializable
,Comparable<RadianceThemingSlices.HorizontalGravity>
,java.lang.constant.Constable
- Enclosing class:
RadianceThemingSlices
public static enum RadianceThemingSlices.HorizontalGravity
extends Enum<RadianceThemingSlices.HorizontalGravity>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCenter content horizontally in the parent container.Align content to the leading edge of the parent container.Platform-specific content gravity.Swing default content gravity.Align content to the trailing edge of the parent container. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLATFORM
Platform-specific content gravity. -
LEADING
Align content to the leading edge of the parent container. Leading edge is left under LTR component orientation and right under RTL component orientation. -
CENTERED
Center content horizontally in the parent container. -
TRAILING
Align content to the trailing edge of the parent container. Trailing edge is right under LTR component orientation and left under RTL component orientation. -
SWING_DEFAULT
Swing default content gravity.
-
-
Constructor Details
-
HorizontalGravity
private HorizontalGravity()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-