public enum SharpeningLevel extends Enum<SharpeningLevel>
Enum Constant and Description |
---|
High
High sharpening level.
|
Low
Low sharpening level.
|
Normal
Normal sharpening level.
|
Off
No sharpening level.
|
Modifier and Type | Method and Description |
---|---|
static SharpeningLevel |
fromString(String text)
Returns the SharpeningLevel enumeration for the specified text or null if no enumeration matches the specified text.
|
static SharpeningLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SharpeningLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharpeningLevel Off
public static final SharpeningLevel Normal
public static final SharpeningLevel High
public static final SharpeningLevel Low
public static SharpeningLevel[] values()
for (SharpeningLevel c : SharpeningLevel.values()) System.out.println(c);
public static SharpeningLevel 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 nullpublic static SharpeningLevel fromString(String text)
text
- text representation of the specified enumeration member.
© 2016 ZIH Corp. All Rights Reserved.