org.efaps.ui.wicket.behaviors
Enum AbstractAjaxCallBackBehavior.Target

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

public static enum AbstractAjaxCallBackBehavior.Target
extends java.lang.Enum<AbstractAjaxCallBackBehavior.Target>

Enum used to define the targets.


Enum Constant Summary
PARENT
          The target is the parent window.
SELF
          The target is the self window.
TOP
          The target is the top window.
 
Method Summary
static AbstractAjaxCallBackBehavior.Target valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AbstractAjaxCallBackBehavior.Target[] 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

PARENT

public static final AbstractAjaxCallBackBehavior.Target PARENT
The target is the parent window.


TOP

public static final AbstractAjaxCallBackBehavior.Target TOP
The target is the top window.


SELF

public static final AbstractAjaxCallBackBehavior.Target SELF
The target is the self window.

Method Detail

values

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

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

valueOf

public static AbstractAjaxCallBackBehavior.Target 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.