Enum Class LinkTarget

java.lang.Object
java.lang.Enum<LinkTarget>
eu.webtoolkit.jwt.LinkTarget
All Implemented Interfaces:
Serializable, Comparable<LinkTarget>, Constable

public enum LinkTarget extends Enum<LinkTarget>
Enumeration that specifies where the target of an anchor should be displayed.
  • Enum Constant Details

    • Self

      public static final LinkTarget Self
      Show Instead of the application.
    • ThisWindow

      public static final LinkTarget ThisWindow
      Show in the top level frame of the application window.
    • NewWindow

      public static final LinkTarget NewWindow
      Show in a separate new tab or window.
    • Download

      public static final LinkTarget Download
      Useful only for a downloadable resource.
  • Method Details

    • values

      public static LinkTarget[] 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 LinkTarget 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
    • getValue

      public int getValue()
      Returns the numerical representation of this enum.