public enum SurfaceConnectionStatus extends Enum<SurfaceConnectionStatus> implements Enumeration
Enum Constant and Description |
---|
CONFIGURED_CORRECTLY
The geometry was configured successfully.
|
CONNECTION_IS_IMPOSSIBLE
The current connection is impossible without discontinuity.
|
NEXT_CONNECTION_UNCONFIGURED
There was a problem with the next connection or it does not exist.
|
PREVIOUS_CONNECTION_UNCONFIGURED
There was a problem with the previous connection or it does not exist.
|
UNKNOWN
There was an unknown error with the configuration.
|
Modifier and Type | Method and Description |
---|---|
static SurfaceConnectionStatus |
getDefault()
Get the enum constant that is considered to be the default.
|
static SurfaceConnectionStatus |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static SurfaceConnectionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SurfaceConnectionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SurfaceConnectionStatus CONFIGURED_CORRECTLY
public static final SurfaceConnectionStatus CONNECTION_IS_IMPOSSIBLE
public static final SurfaceConnectionStatus PREVIOUS_CONNECTION_UNCONFIGURED
public static final SurfaceConnectionStatus NEXT_CONNECTION_UNCONFIGURED
public static final SurfaceConnectionStatus UNKNOWN
public static SurfaceConnectionStatus[] values()
for (SurfaceConnectionStatus c : SurfaceConnectionStatus.values()) System.out.println(c);
public static SurfaceConnectionStatus 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 int getValue()
getValue
in interface Enumeration
@Nonnull public static SurfaceConnectionStatus getFromValue(int value)
value
- a numeric value.@Nonnull public static SurfaceConnectionStatus getDefault()