public enum WidthType extends Enum<WidthType>
Enum Constant and Description |
---|
ABSOLUTE
The width is being specified absolute in number of chars.
|
RELATIVE
The width is being relative; The total sum of all of relative widths
represents 100%.
|
Modifier and Type | Method and Description |
---|---|
static WidthType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WidthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WidthType RELATIVE
public static final WidthType ABSOLUTE
public static WidthType[] values()
for (WidthType c : WidthType.values()) System.out.println(c);
public static WidthType 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 © 2015. All rights reserved.