public abstract class ResourcesContainerAdapter<T> extends java.lang.Object implements ResourcesContainerListener<T>
ResourcesContainerListener that allows to only overwrite
individual callbacks in anonymous implementations.ResourcesContainerListener| Constructor and Description |
|---|
ResourcesContainerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
added(java.lang.String resourceName,
T resource)
This method gets called after the
ResourcesContainer.add method was executed. |
void |
cleared()
This method gets called after the
ResourcesContainer.clear method was executed. |
void |
removed(java.lang.String resourceName,
T resource)
This method gets called after the
ResourcesContainer.remove method was executed. |
public void added(java.lang.String resourceName,
T resource)
ResourcesContainerListenerResourcesContainer.add method was executed.added in interface ResourcesContainerListener<T>resourceName - The name by which the added resource is identified.resource - The added resource.ResourcesContainer.add(String, Object)public void removed(java.lang.String resourceName,
T resource)
ResourcesContainerListenerResourcesContainer.remove method was executed.removed in interface ResourcesContainerListener<T>resourceName - The name by which the removed resource was identified.resource - The removed resource.ResourcesContainer.remove(String)public void cleared()
ResourcesContainerClearedListenerResourcesContainer.clear method was executed.cleared in interface ResourcesContainerClearedListenerResourcesContainer.clear()