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

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

public static enum UITable.UserAttributeKey
extends java.lang.Enum<UITable.UserAttributeKey>

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


Enum Constant Summary
COLUMNORDER
          Key used for the order of Columns.
COLUMNWIDTH
          Key used for the widths of Columns.
SORTDIRECTION
          Key used for the sort direction.
SORTKEY
          Key used for the Column.
 
Method Summary
 java.lang.String getValue()
           
static UITable.UserAttributeKey valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UITable.UserAttributeKey[] 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.UserAttributeKey COLUMNORDER
Key used for the order of Columns.


COLUMNWIDTH

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


SORTDIRECTION

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


SORTKEY

public static final UITable.UserAttributeKey SORTKEY
Key used for the Column.

Method Detail

values

public static UITable.UserAttributeKey[] 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.UserAttributeKey c : UITable.UserAttributeKey.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.UserAttributeKey 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
java.lang.NullPointerException - if the argument is null

getValue

public java.lang.String getValue()
Returns:
the value


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