- java.lang.Object
-
- java.lang.Enum<TemplatePlaceholders>
-
- com.sun.javafx.tools.packager.TemplatePlaceholders
-
- All Implemented Interfaces:
Serializable
,Comparable<TemplatePlaceholders>
public enum TemplatePlaceholders extends Enum<TemplatePlaceholders>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMBED_CODE_DYNAMIC
EMBED_CODE_ONLOAD
EMBED_STATIC_CODE
EMBED_STATIC_FOOTER
EMBED_STATIC_HEADER
LAUNCH_CODE
SCRIPT_CODE
SCRIPT_URL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplatePlaceholders
fromString(String text)
String
getPlaceholder()
static TemplatePlaceholders
valueOf(String name)
Returns the enum constant of this type with the specified name.static TemplatePlaceholders[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCRIPT_URL
public static final TemplatePlaceholders SCRIPT_URL
-
SCRIPT_CODE
public static final TemplatePlaceholders SCRIPT_CODE
-
EMBED_CODE_DYNAMIC
public static final TemplatePlaceholders EMBED_CODE_DYNAMIC
-
EMBED_CODE_ONLOAD
public static final TemplatePlaceholders EMBED_CODE_ONLOAD
-
LAUNCH_CODE
public static final TemplatePlaceholders LAUNCH_CODE
-
EMBED_STATIC_HEADER
public static final TemplatePlaceholders EMBED_STATIC_HEADER
-
EMBED_STATIC_FOOTER
public static final TemplatePlaceholders EMBED_STATIC_FOOTER
-
EMBED_STATIC_CODE
public static final TemplatePlaceholders EMBED_STATIC_CODE
-
-
Method Detail
-
values
public static TemplatePlaceholders[] 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 (TemplatePlaceholders c : TemplatePlaceholders.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TemplatePlaceholders 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
-
getPlaceholder
public String getPlaceholder()
-
fromString
public static TemplatePlaceholders fromString(String text)
-
-