Class Collection

A Collection class (extends Singleton)

Usage:

    c = Collection.getInstance!
    

Methods

collection\newCollection (collName, root, children) Creates a new collection with an optional root and children{childName: child}
collection\getCollection (collName) gets a collection.
collection\attachControlTo (child, collName) adds child to a collection.
collection\removeControlFrom (child, collName) removes child to a collection.
collection\forget (collName) remove a collection.


Methods

collection\newCollection (collName, root, children)
Creates a new collection with an optional root and children{childName: child}

Parameters:

collection\getCollection (collName)
gets a collection.

Parameters:

collection\attachControlTo (child, collName)
adds child to a collection.

Parameters:

collection\removeControlFrom (child, collName)
removes child to a collection.

Parameters:

collection\forget (collName)
remove a collection.

Parameters:

generated by LDoc 1.5.0 Last updated 2024-01-14 01:18:20