public enum Size extends Enum<Size>
| Enum Constant and Description |
|---|
Extra_Extra_Large |
Extra_Large |
Extra_Small |
Large |
Medium |
Small |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
static Size |
getSize(int size) |
int |
getValue() |
static Size |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Size[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Size Extra_Small
public static final Size Small
public static final Size Medium
public static final Size Large
public static final Size Extra_Large
public static final Size Extra_Extra_Large
public static Size[] values()
for (Size c : Size.values()) System.out.println(c);
public static Size 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()
public String getLabel()
public static Size getSize(int size)
Copyright © 2003–2017 eXo Platform SAS. All rights reserved.