com.jeta.open.gui.framework
Class JETAComponentCleanser
java.lang.Object
com.jeta.open.gui.framework.JETAComponentCleanser
public class JETAComponentCleanser
- extends Object
This class recursively searches a container for child components. It searches
for all registered listeners on those components that are part of the
com.jeta package and removes those listeners. This is used to assist in
garbage collection. Hopefully, it ensures that a frame or container does not
linger because of registered listeners that are never removed.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JETAComponentCleanser
public JETAComponentCleanser()
cleanse
public void cleanse(Container container)
- Recursively searches all Components owned by this container. If the
Component has a name, we store it in the m_components hash table
- Parameters:
container
- the container to search
removeJETAListeners
public void removeJETAListeners(Component comp,
Class listenerClass,
String methodName)
Copyright © 2005-2007 Jeff Tassin & Todd Viegut. All Rights Reserved.