WT Toolkit 0.3.3

Class WTObjectManager

Object
   |
   +--WTObjectManager

class WTObjectManager


The WT Toolkit object manager singleton manages the weak reference emulation logic.
Defined in wt_core.js


Field Summary
 Array keys
          All weak reference IDs.
 Object objects
          The weak reference images are stored here.
 Object scheduleId
          
 
Constructor Summary
WTObjectManager()
            Constructs a WT Toolkit object manager singleton.
 
Method Summary
 Integer count()
           Tells the current count of all weak references in existence.
 Object fastCount()
          
 Object get(<String> id)
           Tells the weakly referenced object behind a weak reference ID.
 Array getKeys()
           Tells all weak reference IDs in existence.
 void getMemoryStats()
           Displays the current number of weak references in existence with a dialog box.
 Object pop(<String> id)
           Removes a weak reference.
 String put(<Object> obj)
           Builds a weak refrence for an arbitary object.
 String putId(<String> id, <String> obj)
           Builds a weak reference for an arbitary object, with a specific weak reference ID.
 void scheduleGC()
          

Field Detail

keys

Array keys

objects

Object objects

scheduleId

Object scheduleId

Constructor Detail

WTObjectManager

WTObjectManager()

Method Detail

count

Integer count()

fastCount

Object fastCount()

get

Object get(<String> id)

getKeys

Array getKeys()

getMemoryStats

void getMemoryStats()

pop

Object pop(<String> id)

put

String put(<Object> obj)

putId

String putId(<String> id, <String> obj)

scheduleGC

void scheduleGC()

WT Toolkit 0.3.3

Documentation generated by JSDoc on Sun May 13 11:26:24 2007