Package com.github.weisj.darklaf.util
Enum AlignmentExt
- java.lang.Object
-
- java.lang.Enum<AlignmentExt>
-
- com.github.weisj.darklaf.util.AlignmentExt
-
- All Implemented Interfaces:
Serializable,Comparable<AlignmentExt>
public enum AlignmentExt extends Enum<AlignmentExt>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOMCENTEREASTLEFTMIDDLE_HORIZONTALMIDDLE_VERTICALNORTHNORTH_EASTNORTH_WESTRIGHTSOUTHSOUTH_EASTSOUTH_WESTTOPWEST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InsetsmaskInsets(int top, int left, int bottom, int right, int mask)InsetsmaskInsets(Insets insets)InsetsmaskInsets(Insets insets, int maskValue)InsetsmaskInsetsInverted(int top, int left, int bottom, int right, int mask)InsetsmaskInsetsInverted(Insets insets)InsetsmaskInsetsInverted(Insets insets, int mask)static AlignmentExtvalueOf(String name)Returns the enum constant of this type with the specified name.static AlignmentExt[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORTH
public static final AlignmentExt NORTH
-
SOUTH
public static final AlignmentExt SOUTH
-
EAST
public static final AlignmentExt EAST
-
WEST
public static final AlignmentExt WEST
-
NORTH_EAST
public static final AlignmentExt NORTH_EAST
-
NORTH_WEST
public static final AlignmentExt NORTH_WEST
-
SOUTH_EAST
public static final AlignmentExt SOUTH_EAST
-
SOUTH_WEST
public static final AlignmentExt SOUTH_WEST
-
CENTER
public static final AlignmentExt CENTER
-
LEFT
public static final AlignmentExt LEFT
-
MIDDLE_HORIZONTAL
public static final AlignmentExt MIDDLE_HORIZONTAL
-
RIGHT
public static final AlignmentExt RIGHT
-
TOP
public static final AlignmentExt TOP
-
MIDDLE_VERTICAL
public static final AlignmentExt MIDDLE_VERTICAL
-
BOTTOM
public static final AlignmentExt BOTTOM
-
-
Method Detail
-
values
public static AlignmentExt[] 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 (AlignmentExt c : AlignmentExt.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlignmentExt valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
maskInsets
public Insets maskInsets(int top, int left, int bottom, int right, int mask)
-
maskInsetsInverted
public Insets maskInsetsInverted(int top, int left, int bottom, int right, int mask)
-
-