org.efaps.ui.wicket.models.objects
Enum UITable.UserCacheKey

java.lang.Object
  extended by java.lang.Enum<UITable.UserCacheKey>
      extended by org.efaps.ui.wicket.models.objects.UITable.UserCacheKey
All Implemented Interfaces:
Serializable, Comparable<UITable.UserCacheKey>
Enclosing class:
UITable

public static enum UITable.UserCacheKey
extends Enum<UITable.UserCacheKey>

This enum holds the Values used as part of the key for the UserAttributes or SessionAttribute witch belong to a TableModel.


Enum Constant Summary
COLUMNORDER
          Key for UserAttributes used for the order of Columns.
COLUMNWIDTH
          Key for UserAttributes used for the widths of Columns.
FILTER
          Key for SessionAttribute used for the filter of a table.
SORTDIRECTION
          Key for UserAttributes used for the sort direction.
SORTKEY
          Key for UserAttributes used for the Column.
 
Method Summary
 String getValue()
           
static UITable.UserCacheKey valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UITable.UserCacheKey[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

COLUMNORDER

public static final UITable.UserCacheKey COLUMNORDER
Key for UserAttributes used for the order of Columns.


COLUMNWIDTH

public static final UITable.UserCacheKey COLUMNWIDTH
Key for UserAttributes used for the widths of Columns.


SORTDIRECTION

public static final UITable.UserCacheKey SORTDIRECTION
Key for UserAttributes used for the sort direction.


SORTKEY

public static final UITable.UserCacheKey SORTKEY
Key for UserAttributes used for the Column.


FILTER

public static final UITable.UserCacheKey FILTER
Key for SessionAttribute used for the filter of a table.

Method Detail

values

public static UITable.UserCacheKey[] 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 (UITable.UserCacheKey c : UITable.UserCacheKey.values())
    System.out.println(c);

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

valueOf

public static UITable.UserCacheKey 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 name
NullPointerException - if the argument is null

getValue

public String getValue()
Returns:
the value


Copyright © 2003-2011 The eFaps Team. All Rights Reserved.