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:
Serializable, Comparable<EFapsKey>

public enum EFapsKey
extends 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_DEACTIVATEESCAPE
          Key used to deactivate the escape functionalities in AutoComplete.
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.
CHARTMAPPOSTFIX
          Used in conjunction with the fieldName as postfix to create a name for the map of an chart image.
FIELDUPDATE_JAVASCRIPT
          Key used for the javascript in the map.
INSTANCE_CACHEKEY
          key used to store instances in a request.
PICKER_DEACTIVATEESCAPE
          Key used to deactivate the escape functionalities in Picker.
PICKER_JAVASCRIPT
          Key used for the javascript in the map.
PICKER_VALUE
          Key used for the value in the map.
STRUCBRWSR_ALLOWSCHILDS
          Key used as name for the hidden field that contains if the node can contain children.
STRUCBRWSR_LEVEL
          Key used as name for the hidden field that contains the Level of a node.
TABLEROW_NAME
          Key used as name for the hidden field that makes a row unique.
 
Method Summary
 String getKey()
          Getter method for the instance variable key.
static EFapsKey valueOf(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_DEACTIVATEESCAPE

public static final EFapsKey AUTOCOMPLETE_DEACTIVATEESCAPE
Key used to deactivate the escape functionalities in AutoComplete.


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.


CHARTMAPPOSTFIX

public static final EFapsKey CHARTMAPPOSTFIX
Used in conjunction with the fieldName as postfix to create a name for the map of an chart image.


PICKER_DEACTIVATEESCAPE

public static final EFapsKey PICKER_DEACTIVATEESCAPE
Key used to deactivate the escape functionalities in Picker.


PICKER_VALUE

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


PICKER_JAVASCRIPT

public static final EFapsKey PICKER_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.


STRUCBRWSR_LEVEL

public static final EFapsKey STRUCBRWSR_LEVEL
Key used as name for the hidden field that contains the Level of a node.


STRUCBRWSR_ALLOWSCHILDS

public static final EFapsKey STRUCBRWSR_ALLOWSCHILDS
Key used as name for the hidden field that contains if the node can contain children.


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(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

getKey

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

Returns:
value of instance variable key


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