
com.doctusoft.gwtmock.MockEventTargetElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gwt-mock-2.5.1 Show documentation
Show all versions of gwt-mock-2.5.1 Show documentation
A mocked implementation for GWT-2.5.1 that can run in the JVM to allow integration testing
The newest version!
package com.doctusoft.gwtmock;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.EventTarget;
public class MockEventTargetElement extends EventTarget {
Element element;
public MockEventTargetElement(Element element) {
super();
this.element = element;
}
@SuppressWarnings("unchecked")
public T cast() {
return (T) element;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy