org.efaps.ui.wicket.behaviors.dojo
Enum DnDBehavior.BehaviorType

java.lang.Object
  extended by java.lang.Enum<DnDBehavior.BehaviorType>
      extended by org.efaps.ui.wicket.behaviors.dojo.DnDBehavior.BehaviorType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DnDBehavior.BehaviorType>
Enclosing class:
DnDBehavior

public static enum DnDBehavior.BehaviorType
extends java.lang.Enum<DnDBehavior.BehaviorType>

Enum used to set the Type of Drag and Drop this Behavior should render.


Enum Constant Summary
HANDLE
          Render a handel.
ITEM
          Render a item.
SOURCE
          Render a source.
 
Method Summary
static DnDBehavior.BehaviorType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DnDBehavior.BehaviorType[] 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

HANDLE

public static final DnDBehavior.BehaviorType HANDLE
Render a handel.


ITEM

public static final DnDBehavior.BehaviorType ITEM
Render a item.


SOURCE

public static final DnDBehavior.BehaviorType SOURCE
Render a source.

Method Detail

values

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

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

valueOf

public static DnDBehavior.BehaviorType 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


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