org.apache.myfaces.tobago.event
Enum PageAction

java.lang.Object
  extended by java.lang.Enum<PageAction>
      extended by org.apache.myfaces.tobago.event.PageAction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PageAction>

public enum PageAction
extends java.lang.Enum<PageAction>


Enum Constant Summary
FIRST
          First page is requested
LAST
          Last page is requested
NEXT
          Next page is requested
PREV
          Previous page is requested
TO_PAGE
          A specified page is requested
TO_ROW
          A specified row is requested
 
Method Summary
 java.lang.String getToken()
           
static PageAction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PageAction[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FIRST

public static final PageAction FIRST
First page is requested


NEXT

public static final PageAction NEXT
Next page is requested


PREV

public static final PageAction PREV
Previous page is requested


LAST

public static final PageAction LAST
Last page is requested


TO_ROW

public static final PageAction TO_ROW
A specified row is requested


TO_PAGE

public static final PageAction TO_PAGE
A specified page is requested

Method Detail

values

public static final PageAction[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(PageAction c : PageAction.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static PageAction 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 name

getToken

public java.lang.String getToken()


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.