Enum Class ICoachmark.Position

java.lang.Object
java.lang.Enum<ICoachmark.Position>
org.zkoss.stateless.sul.ICoachmark.Position
All Implemented Interfaces:
Serializable, Comparable<ICoachmark.Position>, Constable
Enclosing interface:
ICoachmark<I extends IAnyGroup>

public static enum ICoachmark.Position extends Enum<ICoachmark.Position>
Specify a popup's position when attaching to a component.
  • 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
    The component appears below the anchor, aligned to the center
    The component appears below the anchor, aligned to the right
    The component appears with the top aligned with the bottom of the mouse cursor, with the left side of the component at the horizontal position of the mouse cursor.
    The component appears below the anchor, aligned to the left
    The component appears with the upper-left aligned with the mouse cursor
    The component appears above the anchor, aligned to the center
    The component appears above the anchor, aligned to the right
    The component appears above the anchor, aligned to the left
    The component overlaps the anchor, with anchor and component aligned at bottom-center
    The component overlaps the anchor, with anchor and component aligned at bottom-left
    The component overlaps the anchor, with anchor and component aligned at bottom-right
    The component appears to the right of the anchor, aligned to the bottom
    The component appears to the right of the anchor, aligned to the top
    The component appears to the right of the anchor, aligned to the middle
    The component overlaps the anchor, with anchor and component aligned at middle-center
    The component overlaps the anchor, with anchor and component aligned at middle-left
    The component overlaps the anchor, with anchor and component aligned at middle-right
    The component appears to the left of the anchor, aligned to the bottom
    The component appears to the left of the anchor, aligned to the top
    The component appears to the left of the anchor, aligned to the middle
    The component overlaps the anchor, with anchor and component aligned at top-center
    The component overlaps the anchor, with anchor and component aligned at top-left
    The component overlaps the anchor, with anchor and component aligned at top-right
  • 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_START

      public static final ICoachmark.Position BEFORE_START
      The component appears above the anchor, aligned to the left
    • BEFORE_CENTER

      public static final ICoachmark.Position BEFORE_CENTER
      The component appears above the anchor, aligned to the center
    • BEFORE_END

      public static final ICoachmark.Position BEFORE_END
      The component appears above the anchor, aligned to the right
    • AFTER_START

      public static final ICoachmark.Position AFTER_START
      The component appears below the anchor, aligned to the left
    • AFTER_CENTER

      public static final ICoachmark.Position AFTER_CENTER
      The component appears below the anchor, aligned to the center
    • AFTER_END

      public static final ICoachmark.Position AFTER_END
      The component appears below the anchor, aligned to the right
    • START_BEFORE

      public static final ICoachmark.Position START_BEFORE
      The component appears to the left of the anchor, aligned to the top
    • START_CENTER

      public static final ICoachmark.Position START_CENTER
      The component appears to the left of the anchor, aligned to the middle
    • START_AFTER

      public static final ICoachmark.Position START_AFTER
      The component appears to the left of the anchor, aligned to the bottom
    • END_BEFORE

      public static final ICoachmark.Position END_BEFORE
      The component appears to the right of the anchor, aligned to the top
    • END_CENTER

      public static final ICoachmark.Position END_CENTER
      The component appears to the right of the anchor, aligned to the middle
    • END_AFTER

      public static final ICoachmark.Position END_AFTER
      The component appears to the right of the anchor, aligned to the bottom
    • TOP_LEFT

      public static final ICoachmark.Position TOP_LEFT
      The component overlaps the anchor, with anchor and component aligned at top-left
    • TOP_CENTER

      public static final ICoachmark.Position TOP_CENTER
      The component overlaps the anchor, with anchor and component aligned at top-center
    • TOP_RIGHT

      public static final ICoachmark.Position TOP_RIGHT
      The component overlaps the anchor, with anchor and component aligned at top-right
    • MIDDLE_LEFT

      public static final ICoachmark.Position MIDDLE_LEFT
      The component overlaps the anchor, with anchor and component aligned at middle-left
    • MIDDLE_CENTER

      public static final ICoachmark.Position MIDDLE_CENTER
      The component overlaps the anchor, with anchor and component aligned at middle-center
    • MIDDLE_RIGHT

      public static final ICoachmark.Position MIDDLE_RIGHT
      The component overlaps the anchor, with anchor and component aligned at middle-right
    • BOTTOM_LEFT

      public static final ICoachmark.Position BOTTOM_LEFT
      The component overlaps the anchor, with anchor and component aligned at bottom-left
    • BOTTOM_CENTER

      public static final ICoachmark.Position BOTTOM_CENTER
      The component overlaps the anchor, with anchor and component aligned at bottom-center
    • BOTTOM_RIGHT

      public static final ICoachmark.Position BOTTOM_RIGHT
      The component overlaps the anchor, with anchor and component aligned at bottom-right
    • AT_POINTER

      public static final ICoachmark.Position AT_POINTER
      The component appears with the upper-left aligned with the mouse cursor
    • AFTER_POINTER

      public static final ICoachmark.Position AFTER_POINTER
      The component appears with the top aligned with the bottom of the mouse cursor, with the left side of the component at the horizontal position of the mouse cursor.
  • Method Details

    • values

      public static ICoachmark.Position[] 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 ICoachmark.Position 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