public enum JsNamespaceOption extends Enum<JsNamespaceOption>
Enum Constant and Description |
---|
BY_JAVA_PACKAGE
Put the globals for each Java package into their own namespace.
|
NONE
Don't use namespace; put all global variables directly under Window.
|
Modifier and Type | Method and Description |
---|---|
static JsNamespaceOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsNamespaceOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsNamespaceOption NONE
public static final JsNamespaceOption BY_JAVA_PACKAGE
public static JsNamespaceOption[] values()
for (JsNamespaceOption c : JsNamespaceOption.values()) System.out.println(c);
public static JsNamespaceOption valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.