org.efaps.ui.wicket.models.objects
Enum UIStructurBrowser.ExecutionStatus

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

public static enum UIStructurBrowser.ExecutionStatus
extends Enum<UIStructurBrowser.ExecutionStatus>

Enum is used to set for this UIStructurBrowser which status of execution it is in.


Enum Constant Summary
ADDCHILDREN
          Method addChildren is executed.
ALLOWSCHILDREN
          Method addChildren is executed.
ALLOWSITEM
          Method is executed to check if the in case of edit the creation of items is allowed.
CHECKFORCHILDREN
          Method checkForChildren is executed.
CHECKHIDECOLUMN4ROW
          Method is creating a new folder.
EXECUTE
          Method execute is executed.
GETJAVASCRIPT4TARGET
          Method is called after the insert etc.
NODE_INSERTCHILDFOLDER
          Executed on insert of an folder as child as an listener and does not effect directly the tree, but allows to manipulate it.
NODE_INSERTCHILDITEM
          Executed on insert of an item as child as an listener and does not effect directly the tree, but allows to manipulate it.
NODE_INSERTITEM
          Executed on insert of an new item node as an listener and does not effect directly the tree, but allows to manipulate it.
NODE_REMOVE
          Executed on removal of a node as an listener and does not effect directly the tree, but allows to manipulate it.
SORT
          Method sort is executed.
 
Method Summary
static UIStructurBrowser.ExecutionStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UIStructurBrowser.ExecutionStatus[] 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

ADDCHILDREN

public static final UIStructurBrowser.ExecutionStatus ADDCHILDREN
Method addChildren is executed.


ALLOWSCHILDREN

public static final UIStructurBrowser.ExecutionStatus ALLOWSCHILDREN
Method addChildren is executed.


ALLOWSITEM

public static final UIStructurBrowser.ExecutionStatus ALLOWSITEM
Method is executed to check if the in case of edit the creation of items is allowed.


CHECKFORCHILDREN

public static final UIStructurBrowser.ExecutionStatus CHECKFORCHILDREN
Method checkForChildren is executed.


CHECKHIDECOLUMN4ROW

public static final UIStructurBrowser.ExecutionStatus CHECKHIDECOLUMN4ROW
Method is creating a new folder.


GETJAVASCRIPT4TARGET

public static final UIStructurBrowser.ExecutionStatus GETJAVASCRIPT4TARGET
Method is called after the insert etc. of a new node in edit mode to get a JavaScript that will be appended to the AjaxTarget. In this Step the values for the StructurBrowsers also can be altered.

See Also:
UIStructurBrowser.#setValuesFromUI(Map, DefaultMutableTreeNode)setValuesFromUI}

EXECUTE

public static final UIStructurBrowser.ExecutionStatus EXECUTE
Method execute is executed.


NODE_REMOVE

public static final UIStructurBrowser.ExecutionStatus NODE_REMOVE
Executed on removal of a node as an listener and does not effect directly the tree, but allows to manipulate it.


NODE_INSERTITEM

public static final UIStructurBrowser.ExecutionStatus NODE_INSERTITEM
Executed on insert of an new item node as an listener and does not effect directly the tree, but allows to manipulate it.


NODE_INSERTCHILDITEM

public static final UIStructurBrowser.ExecutionStatus NODE_INSERTCHILDITEM
Executed on insert of an item as child as an listener and does not effect directly the tree, but allows to manipulate it.


NODE_INSERTCHILDFOLDER

public static final UIStructurBrowser.ExecutionStatus NODE_INSERTCHILDFOLDER
Executed on insert of an folder as child as an listener and does not effect directly the tree, but allows to manipulate it.


SORT

public static final UIStructurBrowser.ExecutionStatus SORT
Method sort is executed.

Method Detail

values

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

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

valueOf

public static UIStructurBrowser.ExecutionStatus 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


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