public enum PositionEffect extends Enum<PositionEffect>
Enum Constant and Description |
---|
CLOSE
Close.
|
NO_VALUE
Identifies no value.
|
OPEN
Open.
|
Modifier and Type | Method and Description |
---|---|
static PositionEffect |
forValue(char value) |
char |
getValue() |
static PositionEffect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PositionEffect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PositionEffect NO_VALUE
public static final PositionEffect CLOSE
public static final PositionEffect OPEN
public static PositionEffect[] values()
for (PositionEffect c : PositionEffect.values()) System.out.println(c);
public static PositionEffect 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 char getValue()
public static PositionEffect forValue(char value)
Copyright © 2012–2024 Onix Solutions. All rights reserved.