public enum VisualEffects extends java.lang.Enum<VisualEffects> implements INativeEnum
Enum Constant and Description |
---|
Bevel
Bevel effect
|
Glow
Glow effect
|
None
No visual effects
|
Reflection
Reflection effect
|
Shadow
Shadow effect
|
SoftEdges
Soft edges effect
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<VisualEffects> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static VisualEffects |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VisualEffects[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisualEffects None
public static final VisualEffects Shadow
public static final VisualEffects Reflection
public static final VisualEffects Glow
public static final VisualEffects SoftEdges
public static final VisualEffects Bevel
public static VisualEffects[] values()
for (VisualEffects c : VisualEffects.values()) System.out.println(c);
public static VisualEffects 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 nullpublic int getNativeValue()
getNativeValue
in interface INativeEnum
public java.lang.String getConstantName()
getConstantName
in interface INativeEnum
public static java.util.Optional<VisualEffects> fromNativeValue(int nativeValue)