io.webfolder.ui4j.api.browser.Page Maven / Gradle / Ivy
package io.webfolder.ui4j.api.browser;
import java.io.OutputStream;
import io.webfolder.ui4j.api.dom.Document;
import io.webfolder.ui4j.api.dom.Window;
import io.webfolder.ui4j.api.event.DocumentListener;
import io.webfolder.ui4j.spi.JavaScriptEngine;
import io.webfolder.ui4j.spi.PageView;
public interface Page extends JavaScriptEngine, PageView, AutoCloseable {
void addDocumentListener(DocumentListener listener);
void removeListener(DocumentListener listener);
Document getDocument();
Window getWindow();
void show(boolean maximized);
void show();
void hide();
BrowserType getBrowserType();
void close();
void captureScreen(OutputStream os);
}