Class GLOBALS
Object
|
+--GLOBALS
- class
GLOBALS
|
Method Summary |
<static> Object
|
getName(node)
|
<static> Object
|
getNode(tag, parent)
|
<static> Object
|
getValue(node)
|
<static> Object
|
getValueOfNode(tag, parent)
|
<static> void
|
inherits(childClass, parentClass, methodsAndAttributes)
Makes childClass inherits methodsAndAttributes from parentClass.
|
getName
<static> Object getName(node)
getNode
<static> Object getNode(tag, parent)
getValue
<static> Object getValue(node)
getValueOfNode
<static> Object getValueOfNode(tag, parent)
inherits
<static> void inherits(childClass, parentClass, methodsAndAttributes)
Makes childClass inherits methodsAndAttributes from parentClass.
Can be used to set up multiple inheritance by calling it with the same
childClass and difference parentClasses. Naming collisions are avoided
by selecting the methods and attributes to be inherited.
Be careful to select all the private methods and attributes required
by the public ones.
Parameters:
childClass - The class that inherits
parentClass - The class that implements the methods and attributes
methodsAndAttributes - The methods and attributes to be inherited. Example: inherits(Ferry, Vehicle, "engine", "tank"); inherits(Ferry, Boat, "hull", "decks");
Documentation generated by
JSDoc on Thu Oct 20 14:28:29 2005