Package org.teamapps.dto
Enum UiPageDisplayMode
- java.lang.Object
-
- java.lang.Enum<UiPageDisplayMode>
-
- org.teamapps.dto.UiPageDisplayMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UiPageDisplayMode>
public enum UiPageDisplayMode extends java.lang.Enum<UiPageDisplayMode>
THIS IS GENERATED CODE! PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COVERFIT_HEIGHTFIT_SIZEFIT_WIDTHORIGINAL_SIZE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intjsonValue()static UiPageDisplayModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UiPageDisplayMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIT_WIDTH
public static final UiPageDisplayMode FIT_WIDTH
-
FIT_HEIGHT
public static final UiPageDisplayMode FIT_HEIGHT
-
FIT_SIZE
public static final UiPageDisplayMode FIT_SIZE
-
COVER
public static final UiPageDisplayMode COVER
-
ORIGINAL_SIZE
public static final UiPageDisplayMode ORIGINAL_SIZE
-
-
Method Detail
-
values
public static UiPageDisplayMode[] 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 (UiPageDisplayMode c : UiPageDisplayMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UiPageDisplayMode valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
jsonValue
public int jsonValue()
-
-