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

io.webfolder.ui4j.api.browser.Page Maven / Gradle / Ivy

The newest version!
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy