Package com.helger.pdflayout.link
Enum ELinkBorderStyle
- java.lang.Object
-
- java.lang.Enum<ELinkBorderStyle>
-
- com.helger.pdflayout.link.ELinkBorderStyle
-
- All Implemented Interfaces:
Serializable,Comparable<ELinkBorderStyle>
public enum ELinkBorderStyle extends Enum<ELinkBorderStyle>
Contains the style for links and other interactive elements.- Author:
- Philip Helger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEVELEDConstant for the name of a beveled style.DASHEDConstant for the name of a dashed style.INSETConstant for the name of a inset style.SOLIDConstant for the name of a solid style.UNDERLINEConstant for the name of a underline style.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetID()static ELinkBorderStylevalueOf(String name)Returns the enum constant of this type with the specified name.static ELinkBorderStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOLID
public static final ELinkBorderStyle SOLID
Constant for the name of a solid style.
-
DASHED
public static final ELinkBorderStyle DASHED
Constant for the name of a dashed style.
-
BEVELED
public static final ELinkBorderStyle BEVELED
Constant for the name of a beveled style.
-
INSET
public static final ELinkBorderStyle INSET
Constant for the name of a inset style.
-
UNDERLINE
public static final ELinkBorderStyle UNDERLINE
Constant for the name of a underline style.
-
-
Method Detail
-
values
public static ELinkBorderStyle[] 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 (ELinkBorderStyle c : ELinkBorderStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ELinkBorderStyle 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
-
-