public static enum WidthSpec.EWidthType extends Enum<WidthSpec.EWidthType> implements com.helger.commons.id.IHasID<String>
| Enum Constant and Description |
|---|
ABSOLUTE
Absolute value provided
|
PERCENTAGE
Percentage value provided
|
STAR
value provided
|
| Modifier and Type | Method and Description |
|---|---|
static WidthSpec.EWidthType |
getFromIDOrNull(String sID) |
String |
getID() |
static WidthSpec.EWidthType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WidthSpec.EWidthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WidthSpec.EWidthType ABSOLUTE
public static final WidthSpec.EWidthType PERCENTAGE
public static final WidthSpec.EWidthType STAR
public static WidthSpec.EWidthType[] values()
for (WidthSpec.EWidthType c : WidthSpec.EWidthType.values()) System.out.println(c);
public static WidthSpec.EWidthType 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 null@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nullable public static WidthSpec.EWidthType getFromIDOrNull(@Nullable String sID)
Copyright © 2014–2016 Philip Helger. All rights reserved.