public static enum MaterialMenuDrawable.Stroke extends java.lang.Enum<MaterialMenuDrawable.Stroke>
| Enum Constant and Description |
|---|
EXTRA_THIN
1 dip
|
REGULAR
3 dip
|
THIN
2 dip
|
| Modifier and Type | Method and Description |
|---|---|
protected static MaterialMenuDrawable.Stroke |
valueOf(int strokeWidth) |
static MaterialMenuDrawable.Stroke |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MaterialMenuDrawable.Stroke[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaterialMenuDrawable.Stroke REGULAR
public static final MaterialMenuDrawable.Stroke THIN
public static final MaterialMenuDrawable.Stroke EXTRA_THIN
public static MaterialMenuDrawable.Stroke[] values()
for (MaterialMenuDrawable.Stroke c : MaterialMenuDrawable.Stroke.values()) System.out.println(c);
public static MaterialMenuDrawable.Stroke valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullprotected static MaterialMenuDrawable.Stroke valueOf(int strokeWidth)