Package com.iizix.prop
Enum Class GBadge.Location
- All Implemented Interfaces:
- Serializable,- Comparable<GBadge.Location>,- Constable
- Enclosing class:
- GBadge
The location of the badge relative the component. This location is right-left-reversed when the component is in RTL state.
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionBottom-left for LTR, and top-right for RTL.Bottom-right for LTR, and top-left for RTL.Top-left for LTR, and top-right for RTL.Top-right for LTR, and top-left for RTL (default).
- Field SummaryFields
- Method SummaryModifier and TypeMethodDescription- static GBadge.LocationReturns the enum constant of this class with the specified name.- static GBadge.Location[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- TOP_TRAILINGTop-right for LTR, and top-left for RTL (default).
- TOP_LEADINGTop-left for LTR, and top-right for RTL.
- BOTTOM_TRAILINGBottom-right for LTR, and top-left for RTL.
- BOTTOM_LEADINGBottom-left for LTR, and top-right for RTL.
 
- Field Details- descriptionThe description corresponding to the item, e.g. "Top trailing".
 
- Method Details- valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null