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.


Constructor Summary
Variable ()
           
 
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

Constructor Detail

Variable

Variable()

Method Detail

get

void get()

set

void set(value)


Documentation generated by JSDoc on Tue May 3 17:16:26 2005