Package com.iizix.prop
Enum GBadge.Location
- java.lang.Object
- java.lang.Enum<GBadge.Location>
- com.iizix.prop.GBadge.Location
 
 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<GBadge.Location>
 - Enclosing class:
- GBadge
 - public static enum GBadge.Location extends java.lang.Enum<GBadge.Location> The location of the badge relative the component. This location is right-left-reversed when the component is in RTL state.
- Enum Constant Summary- Enum Constants - Enum Constant - Description - BOTTOM_LEADINGBottom-left for LTR, and top-right for RTL.- BOTTOM_TRAILINGBottom-right for LTR, and top-left for RTL.- TOP_LEADINGTop-left for LTR, and top-right for RTL.- TOP_TRAILINGTop-right for LTR, and top-left for RTL (default).
 - Field Summary- Fields - Modifier and Type - Field - Description - java.lang.String- descriptionThe description corresponding to the item, e.g.
 - Method Summary- All Methods Static Methods Concrete Methods - Modifier and Type - Method - Description - static GBadge.Location- valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.- static GBadge.Location[]- values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- Enum Constant Detail- TOP_TRAILING- public static final GBadge.Location TOP_TRAILING Top-right for LTR, and top-left for RTL (default).
 - TOP_LEADING- public static final GBadge.Location TOP_LEADING Top-left for LTR, and top-right for RTL.
 - BOTTOM_TRAILING- public static final GBadge.Location BOTTOM_TRAILING Bottom-right for LTR, and top-left for RTL.
 - BOTTOM_LEADING- public static final GBadge.Location BOTTOM_LEADING Bottom-left for LTR, and top-right for RTL.
 
 - Method Detail- values- public static GBadge.Location[] 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 (GBadge.Location c : GBadge.Location.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - valueOf- public static GBadge.Location 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 name
- java.lang.NullPointerException- if the argument is null