|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<JavaScriptType>
org.xwiki.gwt.dom.client.JavaScriptType
public enum JavaScriptType
The type a JavaScript variable can have.
| Enum Constant Summary | |
|---|---|
BOOLEAN
The boolean variable is used to record a value of either true or false. |
|
FUNCTION
Any built-in or user defined function. |
|
NUMBER
The number variable holds any type of number, either an integer or a real number. |
|
OBJECT
JavaScript provides a set of predefined objects to which the JavaScript programmer has access. |
|
STRING
The string variable type stores a string of characters, typically making up either a word or sentence. |
|
UNDEFINED
A JavaScript variable whose value is not set. |
|
| Method Summary | |
|---|---|
static JavaScriptType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JavaScriptType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final JavaScriptType BOOLEAN
true or false.
public static final JavaScriptType NUMBER
public static final JavaScriptType STRING
public static final JavaScriptType FUNCTION
public static final JavaScriptType OBJECT
public static final JavaScriptType UNDEFINED
| Method Detail |
|---|
public static JavaScriptType[] values()
for (JavaScriptType c : JavaScriptType.values()) System.out.println(c);
public static JavaScriptType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||