Enum Class TooltipBehaviour

java.lang.Object
java.lang.Enum<TooltipBehaviour>
com.juliewoolie.dom.TooltipBehaviour
All Implemented Interfaces:
Serializable, Comparable<TooltipBehaviour>, Constable

public enum TooltipBehaviour extends Enum<TooltipBehaviour>
Represents the behaviour of a tooltip
  • Enum Constant Details

    • CURSOR_STICKY

      public static final TooltipBehaviour CURSOR_STICKY
      Tooltip follows cursor
    • CURSOR

      public static final TooltipBehaviour CURSOR
      Tooltip spawns where cursor is, but doesn't move
    • LEFT

      public static final TooltipBehaviour LEFT
      Tooltip appears on the left side of the element
    • ABOVE

      public static final TooltipBehaviour ABOVE
      Tooltip appears on the above the element
    • BELOW

      public static final TooltipBehaviour BELOW
      Tooltip appears on the below the element
  • Method Details

    • values

      public static TooltipBehaviour[] 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 TooltipBehaviour 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
    • getAttributeValue

      public String getAttributeValue()
      Get the attribute value of the behaviour.
      Returns:
      Attribute value