Class Variable
Defined in jobject.js
Variable is a superclass for defining variables that work with JObject's .set and .get.
For one-off properties, create .set_* and .get_* methods. For multiple use properties, you can create subclasses of the Variable objects and re-use the code multiple times. For instance, see XBLinJS's ValueVar object.
Method Summary |
void
|
get()
get the value, through whatever method makes sense in this class
|
void
|
set(value)
set the value, through whatever method makes sense in this class
|
Variable
Variable()
get
void get()
get the value, through whatever method makes sense in this class
set
void set(value)
set the value, through whatever method makes sense in this class
Parameters:
value
- The desired value; what this means will vary from implementation to implementation.
Documentation generated by
JSDoc on Tue May 3 17:16:26 2005