Enum RadianceThemingSlices.TitleIconHorizontalGravity
- java.lang.Object
-
- java.lang.Enum<RadianceThemingSlices.TitleIconHorizontalGravity>
-
- org.pushingpixels.radiance.theming.api.RadianceThemingSlices.TitleIconHorizontalGravity
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RadianceThemingSlices.TitleIconHorizontalGravity>
- Enclosing class:
- RadianceThemingSlices
public static enum RadianceThemingSlices.TitleIconHorizontalGravity extends java.lang.Enum<RadianceThemingSlices.TitleIconHorizontalGravity>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.NONE
Do not show icon.OPPOSITE_CONTROL_BUTTONS
Align icon on the side of the title pane opposite to that of the control buttons.PLATFORM
Platform-specific icon gravity.SWING_DEFAULT
Swing default icon gravity.
-
Constructor Summary
Constructors Modifier Constructor Description private
TitleIconHorizontalGravity()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RadianceThemingSlices.TitleIconHorizontalGravity
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RadianceThemingSlices.TitleIconHorizontalGravity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLATFORM
public static final RadianceThemingSlices.TitleIconHorizontalGravity PLATFORM
Platform-specific icon gravity.
-
NONE
public static final RadianceThemingSlices.TitleIconHorizontalGravity NONE
Do not show icon.
-
NEXT_TO_TITLE
public static final RadianceThemingSlices.TitleIconHorizontalGravity 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
public static final RadianceThemingSlices.TitleIconHorizontalGravity OPPOSITE_CONTROL_BUTTONS
Align icon on the side of the title pane opposite to that of the control buttons.
-
SWING_DEFAULT
public static final RadianceThemingSlices.TitleIconHorizontalGravity SWING_DEFAULT
Swing default icon gravity.
-
-
Method Detail
-
values
public static RadianceThemingSlices.TitleIconHorizontalGravity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RadianceThemingSlices.TitleIconHorizontalGravity c : RadianceThemingSlices.TitleIconHorizontalGravity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RadianceThemingSlices.TitleIconHorizontalGravity valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-