public static enum LinemodPrototype.WidthMode extends Enum<LinemodPrototype.WidthMode>
Modifier and Type | Method and Description |
---|---|
static LinemodPrototype.WidthMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinemodPrototype.WidthMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinemodPrototype.WidthMode ABSOLUTE
public static final LinemodPrototype.WidthMode PERCENT
public static final LinemodPrototype.WidthMode OFFSET
public static LinemodPrototype.WidthMode[] values()
for (LinemodPrototype.WidthMode c : LinemodPrototype.WidthMode.values()) System.out.println(c);
public static LinemodPrototype.WidthMode 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 null