public enum LengthWidthCode extends Enum<LengthWidthCode>
| Enum Constant and Description |
|---|
CAT0 |
CAT1 |
CAT10 |
CAT11 |
CAT12 |
CAT13 |
CAT14 |
CAT15 |
CAT2 |
CAT3 |
CAT4 |
CAT5 |
CAT6 |
CAT7 |
CAT8 |
CAT9 |
| Modifier and Type | Method and Description |
|---|---|
static LengthWidthCode |
from(int category) |
double |
getMaxLength() |
double |
getMaxWidth() |
static LengthWidthCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LengthWidthCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LengthWidthCode CAT0
public static final LengthWidthCode CAT1
public static final LengthWidthCode CAT2
public static final LengthWidthCode CAT3
public static final LengthWidthCode CAT4
public static final LengthWidthCode CAT5
public static final LengthWidthCode CAT6
public static final LengthWidthCode CAT7
public static final LengthWidthCode CAT8
public static final LengthWidthCode CAT9
public static final LengthWidthCode CAT10
public static final LengthWidthCode CAT11
public static final LengthWidthCode CAT12
public static final LengthWidthCode CAT13
public static final LengthWidthCode CAT14
public static final LengthWidthCode CAT15
public static LengthWidthCode[] values()
for (LengthWidthCode c : LengthWidthCode.values()) System.out.println(c);
public static LengthWidthCode 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 LengthWidthCode from(int category)
public double getMaxWidth()
public double getMaxLength()
Copyright © 2020. All rights reserved.