|
From: Scott A. L. <sc...@sc...> - 2000-12-28 00:20:48
|
Hi Mark,
The queue in LoadPanel (and the old loadHTML extension) basically
ensures that multiple load requests happen one after the other, instead
of all at once. Both Netscape and IE seem to have troubles processing
multiple load requests. The queue was created to make sure all requests
were taken care of one at a time. When a URL is loaded it disappears
from the queue.
With the current widget model, you can't overwrite methods and call
their super methods like you can in Java. You have to preserve the
original method, like this:
myFoo.prototype.origSetURL = LoadPanel.prototype.setURL;
myFoo.prototype.setURL = function(url){
this.origSetURL(url);
}
If you're using the SuperClass object (I don't know if it's included in
the current distro) you can do "this.Super.setURL" -- the SuperClass
object simulates Java's inheritance scheme. But you'd have to change
your widget to use it.
Unless someone puts comments in the code, there's no way to tell if a
method is private or public. I assume "getFileScope" is internal, but
only because I've never had to call it myself. Digging through the code
may give you clues.
--
scott andrew lepera
-----------------------------------
web stuff: www.scottandrew.com
music stuff: www.walkingbirds.com
|