org.efaps.ui.wicket.util
Enum EFapsKey

java.lang.Object
  extended by java.lang.Enum<EFapsKey>
      extended by org.efaps.ui.wicket.util.EFapsKey
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EFapsKey>

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

Enum is used to store all kind of keys used to store values passed from an esjp to a component or site in one place.

Version:
$Id: $
Author:
The eFaps Team

Enum Constant Summary
AUTOCOMPLETE_CHOICE
          Key used for the value in the map.
AUTOCOMPLETE_JAVASCRIPT
          Key used for the javascript in the map.
AUTOCOMPLETE_KEY
          Key used for the key in the map.
AUTOCOMPLETE_VALUE
          Key used for the value in the map.
FIELDUPDATE_JAVASCRIPT
          Key used for the javascript in the map.
INSTANCE_CACHEKEY
          key used to store instances in a request.
TABLEROW_NAME
          Key used as name for the hidden field that makes a row unique.
 
Method Summary
 java.lang.String getKey()
          Getter method for the instance variable key.
static EFapsKey valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EFapsKey[] 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

AUTOCOMPLETE_VALUE

public static final EFapsKey AUTOCOMPLETE_VALUE
Key used for the value in the map.


AUTOCOMPLETE_CHOICE

public static final EFapsKey AUTOCOMPLETE_CHOICE
Key used for the value in the map.


AUTOCOMPLETE_KEY

public static final EFapsKey AUTOCOMPLETE_KEY
Key used for the key in the map.


AUTOCOMPLETE_JAVASCRIPT

public static final EFapsKey AUTOCOMPLETE_JAVASCRIPT
Key used for the javascript in the map.


FIELDUPDATE_JAVASCRIPT

public static final EFapsKey FIELDUPDATE_JAVASCRIPT
Key used for the javascript in the map.


TABLEROW_NAME

public static final EFapsKey TABLEROW_NAME
Key used as name for the hidden field that makes a row unique.


INSTANCE_CACHEKEY

public static final EFapsKey INSTANCE_CACHEKEY
key used to store instances in a request.

Method Detail

values

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

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

valueOf

public static EFapsKey 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

getKey

public java.lang.String getKey()
Getter method for the instance variable key.

Returns:
value of instance variable key


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