com.ui4j.api.dom.Document Maven / Gradle / Ivy
The newest version!
package com.ui4j.api.dom;
import java.util.List;
import com.ui4j.api.event.EventHandler;
public interface Document {
Element query(String selector);
List queryAll(String selector);
Element createElement(String tagName);
void bind(String event, EventHandler handler);
void unbind(String event);
void unbind();
Element getBody();
void setTitle(String title);
String getTitle();
List parseHTML(String html);
void trigger(String eventType, Element element);
Element getElementFromPoint(int x, int y);
}