Class PvxClassLoader

This class instantiates each of the objects that have been registered as observers in the "classes.txt" file and then stores the ID in a [ProvideX Library Class:*obj/group] object.

Build Information

Author Jarett Smith
Date Nov 19, 2006
Outputfile PvxClassLoader.pvc
Forcelinenumbers false

Constructor

Initializes the environment for all observers and create a reference to the [Java Class:eventmanager/EventManager] object.

ParameterDescription
init_pvxConstants A reference to [ProvideX Class:pvxConstants] object
initViewManager A reference to [Java Class:views/UIManager] object

Properties

PROPERTY observers

Type A reference to a [ProvideX Library Class:*obj/group] object
PROPERTY _pvxConstants

Type A reference to a [ProvideX Class:PvxConstants] object
PROPERTY ViewManager

Type A reference to a [Java Class:views/UIManager] object

Methods

FUNCTION loadClasses(classesFile$)

Load all classes that have been defined in the file.


ParameterDescription
classesFile$ The name of the file that contains the list of classes to be loaded.
FUNCTION observers()

An iterator for the observers that were successfully loaded.