com.jpattern.gwt.client.view.NullHasWidgets Maven / Gradle / Ivy
package com.jpattern.gwt.client.view;
import java.util.ArrayList;
import java.util.Iterator;
import com.google.gwt.user.client.ui.HasWidgets;
import com.google.gwt.user.client.ui.Widget;
/**
*
* @author Francesco Cina
*
* 02/ago/2011
*/
public class NullHasWidgets implements HasWidgets {
@Override
public void add(Widget w) {
}
@Override
public void clear() {
}
@Override
public Iterator iterator() {
return new ArrayList().iterator();
}
@Override
public boolean remove(Widget w) {
return false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy