Enum Paging.PageType
- java.lang.Object
-
- java.lang.Enum<Paging.PageType>
-
- org.alfresco.repo.web.util.paging.Paging.PageType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Paging.PageType>
- Enclosing class:
- Paging
public static enum Paging.PageType extends java.lang.Enum<Paging.PageType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Paging.PageType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Paging.PageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAGE
public static final Paging.PageType PAGE
-
WINDOW
public static final Paging.PageType WINDOW
-
-
Method Detail
-
values
public static Paging.PageType[] 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 (Paging.PageType c : Paging.PageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Paging.PageType 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
-
-