Package org.vaadin.firitin.util.style
Enum Padding.Side
- java.lang.Object
-
- java.lang.Enum<Padding.Side>
-
- org.vaadin.firitin.util.style.Padding.Side
-
- All Implemented Interfaces:
Serializable,Comparable<Padding.Side>
- Enclosing class:
- Padding
public static enum Padding.Side extends Enum<Padding.Side>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Padding.SidevalueOf(String name)Returns the enum constant of this type with the specified name.static Padding.Side[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final Padding.Side ALL
-
LEFT
public static final Padding.Side LEFT
-
RIGHT
public static final Padding.Side RIGHT
-
BOTTOM
public static final Padding.Side BOTTOM
-
TOP
public static final Padding.Side TOP
-
VERTICAL
public static final Padding.Side VERTICAL
-
HORIZONTAL
public static final Padding.Side HORIZONTAL
-
-
Method Detail
-
values
public static Padding.Side[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Padding.Side c : Padding.Side.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Padding.Side valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-