Enum Class MoveComponent.Destination

java.lang.Object
java.lang.Enum<MoveComponent.Destination>
org.omnifaces.component.util.MoveComponent.Destination
All Implemented Interfaces:
Serializable, Comparable<MoveComponent.Destination>, Constable
Enclosing class:
MoveComponent

public static enum MoveComponent.Destination extends Enum<MoveComponent.Destination>
Destination of component to be moved by MoveComponent.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Component is added as the first child of the target component, any other children will have their index increased by 1.
    Component is added as the last child of the target component, any other children will stay at their original location.
    Component is moved right after target component, i.e. as a sibling with an index that's 1 position higher.
    Component is moved right before target component, i.e. as a sibling with an index that's 1 position lower.
    A Behavior will be moved to the behavior section of the target component.
    Component will be moved to the facet section of the target component under the name denoted by "facet".
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • BEFORE

      public static final MoveComponent.Destination BEFORE
      Component is moved right before target component, i.e. as a sibling with an index that's 1 position lower.
    • ADD_FIRST

      public static final MoveComponent.Destination ADD_FIRST
      Component is added as the first child of the target component, any other children will have their index increased by 1.
    • ADD_LAST

      public static final MoveComponent.Destination ADD_LAST
      Component is added as the last child of the target component, any other children will stay at their original location.
    • FACET

      public static final MoveComponent.Destination FACET
      Component will be moved to the facet section of the target component under the name denoted by "facet".
    • BEHAVIOR

      public static final MoveComponent.Destination BEHAVIOR
      A Behavior will be moved to the behavior section of the target component.
    • AFTER

      public static final MoveComponent.Destination AFTER
      Component is moved right after target component, i.e. as a sibling with an index that's 1 position higher.
  • Method Details

    • values

      public static MoveComponent.Destination[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MoveComponent.Destination valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null