Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## shout3d.core
Interface ResourceListener

public abstract interface ResourceListener

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
`void` | `removeResourceObserver(ResourceObserver ro)` This method unregisters the interest of a ResourceObserver

Method Detail

### addResourceObserver

    public void addResourceObserver(ResourceObserver ro,
                                    java.lang.Object userData)

  This method registers the interest of a ResourceObserver
  Parameters:
    `observer` - the ResourceObserver
    `userData` - data that will be passed back to the observer's onLoadDone method.

### removeResourceObserver

    public void removeResourceObserver(ResourceObserver ro)

  This method unregisters the interest of a ResourceObserver
  Parameters:
    `observer` - the ResourceObserver to unregister

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD