|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This provides an interface for registering the interest of one or more ResourceObservers.
The class implementing this interface must provide notice on the loading of any resource to each of these ResourceObservers.
Method Summary | |
void |
addResourceObserver(ResourceObserver ro,
java.lang.Object userData)
This method registers the interest of a ResourceObserver |
java.net.URL |
getCurrentBaseURL()
Gets the current base URL for loading resources. |
int |
getPendingCount()
Returns the number of resources remaining to be loaded by the applet. |
void |
removeResourceObserver(ResourceObserver ro)
This method unregisters the interest of a ResourceObserver |
Method Detail |
public void addResourceObserver(ResourceObserver ro, java.lang.Object userData)
observer
- the ResourceObserveruserData
- data that will be passed back to the observer's
onLoadDone method.public void removeResourceObserver(ResourceObserver ro)
observer
- the ResourceObserver to unregisterpublic int getPendingCount()
public java.net.URL getCurrentBaseURL()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |