Enum RadianceThemingSlices.TitleIconHorizontalGravity
java.lang.Object
java.lang.Enum<RadianceThemingSlices.TitleIconHorizontalGravity>
org.pushingpixels.radiance.theming.api.RadianceThemingSlices.TitleIconHorizontalGravity
- All Implemented Interfaces:
Serializable
,Comparable<RadianceThemingSlices.TitleIconHorizontalGravity>
- Enclosing class:
RadianceThemingSlices
public static enum RadianceThemingSlices.TitleIconHorizontalGravity
extends Enum<RadianceThemingSlices.TitleIconHorizontalGravity>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlign icon next to the title text (on the left under LTR component orientation and on the right under RTL component orientation.Do not show icon.Align icon on the side of the title pane opposite to that of the control buttons.Platform-specific icon gravity.Swing default icon gravity. -
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 icon gravity. -
NONE
Do not show icon. -
NEXT_TO_TITLE
Align icon next to the title text (on the left under LTR component orientation and on the right under RTL component orientation. -
OPPOSITE_CONTROL_BUTTONS
Align icon on the side of the title pane opposite to that of the control buttons. -
SWING_DEFAULT
Swing default icon gravity.
-
-
Constructor Details
-
TitleIconHorizontalGravity
private TitleIconHorizontalGravity()
-
-
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
-