Package net.moewes.cloudui.ui5
Enum Ui5Avatar.ImageFitType
- java.lang.Object
-
- java.lang.Enum<Ui5Avatar.ImageFitType>
-
- net.moewes.cloudui.ui5.Ui5Avatar.ImageFitType
-
- All Implemented Interfaces:
Serializable
,Comparable<Ui5Avatar.ImageFitType>
- Enclosing class:
- Ui5Avatar
public static enum Ui5Avatar.ImageFitType extends Enum<Ui5Avatar.ImageFitType>
possible values for image-fit-type attribute of ui5-avatar
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Ui5Avatar.ImageFitType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Ui5Avatar.ImageFitType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COVER
public static final Ui5Avatar.ImageFitType COVER
-
CONTAIN
public static final Ui5Avatar.ImageFitType CONTAIN
-
-
Method Detail
-
values
public static Ui5Avatar.ImageFitType[] 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 (Ui5Avatar.ImageFitType c : Ui5Avatar.ImageFitType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Ui5Avatar.ImageFitType 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
-
-