Enum Class HtmlShadowElement.Direction

java.lang.Object
java.lang.Enum<HtmlShadowElement.Direction>
org.zkoss.zk.ui.HtmlShadowElement.Direction
All Implemented Interfaces:
Serializable, Comparable<HtmlShadowElement.Direction>, Constable
Enclosing class:
HtmlShadowElement

public static enum HtmlShadowElement.Direction extends Enum<HtmlShadowElement.Direction>
A help class for an insertion direction.
Author:
jumperchen
  • 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
    It indicates the direction of the target is inserted after the next insertion
    It indicates the direction of the target is inserted before the previous insertion
    It indicates the direction of the target is the same as the first insertion
    It indicates the direction of the target is inserted in its descendant insertion range
    It indicates the direction of the target is the same as the last insertion
    It indicates the direction of the target is the same as the next insertion
    It indicates the direction of the target is the same as the previous insertion
    It cannot indicate the direction of the target where it should be inserted.
  • 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_PREVIOUS

      public static final HtmlShadowElement.Direction BEFORE_PREVIOUS
      It indicates the direction of the target is inserted before the previous insertion
    • PREVIOUS

      public static final HtmlShadowElement.Direction PREVIOUS
      It indicates the direction of the target is the same as the previous insertion
    • FIRST

      public static final HtmlShadowElement.Direction FIRST
      It indicates the direction of the target is the same as the first insertion
    • IN_RANGE

      public static final HtmlShadowElement.Direction IN_RANGE
      It indicates the direction of the target is inserted in its descendant insertion range
    • LAST

      public static final HtmlShadowElement.Direction LAST
      It indicates the direction of the target is the same as the last insertion
    • NEXT

      public static final HtmlShadowElement.Direction NEXT
      It indicates the direction of the target is the same as the next insertion
    • AFTER_NEXT

      public static final HtmlShadowElement.Direction AFTER_NEXT
      It indicates the direction of the target is inserted after the next insertion
    • UNKNOWN

      public static final HtmlShadowElement.Direction UNKNOWN
      It cannot indicate the direction of the target where it should be inserted.
  • Method Details

    • values

      public static HtmlShadowElement.Direction[] 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 HtmlShadowElement.Direction 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