[]
        
立即试用
(Showing Draft Content)

HyperLinkTargetType

Enum Class HyperLinkTargetType

java.lang.Object
java.lang.Enum<HyperLinkTargetType>
com.grapecity.documents.excel.HyperLinkTargetType
All Implemented Interfaces:
Serializable, Comparable<HyperLinkTargetType>, Constable

public enum HyperLinkTargetType extends Enum<HyperLinkTargetType>
指定超链接的目标类型。
  • Enum Constant Details

    • Blank

      public static final HyperLinkTargetType Blank
      在新的窗口或标签页中打开超链接文档。
    • Self

      public static final HyperLinkTargetType Self
      在用户点击的同一框架中打开超链接文档。
    • Parent

      public static final HyperLinkTargetType Parent
      在父框架中打开超链接文档。
    • Top

      public static final HyperLinkTargetType Top
      在窗口的整个主体中打开超链接文档。
  • Method Details

    • values

      public static HyperLinkTargetType[] 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 HyperLinkTargetType 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()
    • forValue

      public static HyperLinkTargetType forValue(int value)