public enum ConsoleDimension extends Enum<ConsoleDimension> implements org.refcodes.mixin.ValueAccessor<Integer>
Enum Constant and Description |
---|
MAX_HEIGHT |
MAX_WIDTH |
MIN_HEIGHT |
MIN_WIDTH |
NORM_HEIGHT |
NORM_WIDTH |
Modifier and Type | Method and Description |
---|---|
Integer |
getValue()
Gets the value.
|
static ConsoleDimension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsoleDimension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleDimension MIN_WIDTH
public static final ConsoleDimension NORM_WIDTH
public static final ConsoleDimension MAX_WIDTH
public static final ConsoleDimension MIN_HEIGHT
public static final ConsoleDimension NORM_HEIGHT
public static final ConsoleDimension MAX_HEIGHT
public static ConsoleDimension[] values()
for (ConsoleDimension c : ConsoleDimension.values()) System.out.println(c);
public static ConsoleDimension 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 nullCopyright © 2017. All rights reserved.