All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.webfolder.ui4j.api.dom.Document Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
package io.webfolder.ui4j.api.dom;

import java.util.List;
import java.util.Optional;

import io.webfolder.ui4j.api.event.EventHandler;

public interface Document {

    Optional 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();

    Element getHead();

    void setTitle(String title);

    Optional getTitle();

    List parseHTML(String html);

    void trigger(String eventType, Element element);

    Optional getElementFromPoint(int x, int y);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy