Package net.sf.jasperreports.engine.type
Enum HyperlinkTargetEnum
- java.lang.Object
-
- java.lang.Enum<HyperlinkTargetEnum>
-
- net.sf.jasperreports.engine.type.HyperlinkTargetEnum
-
- All Implemented Interfaces:
Serializable,Comparable<HyperlinkTargetEnum>,JREnum,NamedEnum
public enum HyperlinkTargetEnum extends Enum<HyperlinkTargetEnum> implements JREnum
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLANKConstant useful for specifying that the hyperlink will be opened in a new window.CUSTOMCustom hyperlink target name.NONETarget not defined.PARENTConstant useful for specifying that the hyperlink will be opened in the parent frame.SELFConstant useful for specifying that the hyperlink will be opened in the same window.TOPConstant useful for specifying that the hyperlink will be opened in the top frame.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static HyperlinkTargetEnumgetByName(String name)static HyperlinkTargetEnumgetByValue(byte value)Deprecated.Used only by deprecated serialized fields.static HyperlinkTargetEnumgetByValue(Byte value)Deprecated.Used only by deprecated serialized fields.StringgetHtmlValue()StringgetName()bytegetValue()Deprecated.Used only by deprecated serialized fields.BytegetValueByte()Deprecated.Used only by deprecated serialized fields.static HyperlinkTargetEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static HyperlinkTargetEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static HyperlinkTargetEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HyperlinkTargetEnum c : HyperlinkTargetEnum.values()) System.out.println(c);
- 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 nameNullPointerException- if the argument is null
-
getValueByte
public Byte getValueByte()
Deprecated.Used only by deprecated serialized fields.- Specified by:
getValueBytein interfaceJREnum
-
getValue
public final byte getValue()
Deprecated.Used only by deprecated serialized fields.
-
getHtmlValue
public String getHtmlValue()
-
getByName
public static HyperlinkTargetEnum getByName(String name)
-
getByValue
public static HyperlinkTargetEnum getByValue(Byte value)
Deprecated.Used only by deprecated serialized fields.
-
getByValue
public static HyperlinkTargetEnum getByValue(byte value)
Deprecated.Used only by deprecated serialized fields.
-
-