Enum HyperlinkTargetEnum

java.lang.Object
java.lang.Enum<HyperlinkTargetEnum>
net.sf.jasperreports.engine.type.HyperlinkTargetEnum
All Implemented Interfaces:
Serializable, Comparable<HyperlinkTargetEnum>, java.lang.constant.Constable, NamedEnum

public enum HyperlinkTargetEnum extends Enum<HyperlinkTargetEnum> implements NamedEnum
Author:
Teodor Danciu (teodord@users.sourceforge.net)
  • Enum Constant Details

    • NONE

      public static final HyperlinkTargetEnum NONE
      Target not defined.
    • SELF

      public static final HyperlinkTargetEnum SELF
      Constant useful for specifying that the hyperlink will be opened in the same window.
    • BLANK

      public static final HyperlinkTargetEnum BLANK
      Constant useful for specifying that the hyperlink will be opened in a new window.
    • PARENT

      public static final HyperlinkTargetEnum PARENT
      Constant useful for specifying that the hyperlink will be opened in the parent frame.
    • TOP

      public static final HyperlinkTargetEnum TOP
      Constant useful for specifying that the hyperlink will be opened in the top frame.
    • CUSTOM

      public static final HyperlinkTargetEnum CUSTOM
      Custom hyperlink target name.

      The specific target name is determined by getLinkTarget().

  • Method Details

    • values

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

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

      public String getName()
      Specified by:
      getName in interface NamedEnum
    • getHtmlValue

      public String getHtmlValue()
    • getByName

      public static HyperlinkTargetEnum getByName(String name)