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 Summary
Enum 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 Summary
Method Summary
Modifier and TypeMethodDescriptionstatic GBadge.Location
Returns 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_TRAILING
Top-right for LTR, and top-left for RTL (default).TOP_LEADING
Top-left for LTR, and top-right for RTL.BOTTOM_TRAILING
Bottom-right for LTR, and top-left for RTL.BOTTOM_LEADING
Bottom-left for LTR, and top-right for RTL.
Field Details
description
The description corresponding to the item, e.g. "Top trailing".
Method Details
values
Returns 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
valueOf
Returns 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 nameNullPointerException
- if the argument is null