package org.j3de.input;
import java.util.List;
import java.util.Vector;
public class ActivationManager {
private List listeners;
public ActivationManager() {
listeners = new Vector();
}
public void addActivationListener(ActivationListener listener) {
listeners.add(listener);
}
public void setActivation(boolean isActive) {
for (int i=0; i ((ActivationListener)listeners.get(i)).setActivation(isActive);
}
}