public static enum GBadge.Location extends Enum<GBadge.Location>
Enum Constant and Description |
---|
BOTTOM_LEADING
Bottom-left for LTR, and top-right for RTL.
|
BOTTOM_TRAILING
Bottom-right for LTR, and top-left for RTL.
|
TOP_LEADING
Top-left for LTR, and top-right for RTL.
|
TOP_TRAILING
Top-right for LTR, and top-left for RTL (default).
|
Modifier and Type | Field and Description |
---|---|
String |
description
The description corresponding to the item, e.g.
|
Modifier and Type | Method and Description |
---|---|
static GBadge.Location |
valueOf(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.
|
public static final GBadge.Location TOP_TRAILING
public static final GBadge.Location TOP_LEADING
public static final GBadge.Location BOTTOM_TRAILING
public static final GBadge.Location BOTTOM_LEADING
public final String description
public static GBadge.Location[] values()
for (GBadge.Location c : GBadge.Location.values()) System.out.println(c);
public static GBadge.Location valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nulliizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.