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

com.sun.webkit.WebPageClient Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
 */
package com.sun.webkit;

import com.sun.webkit.graphics.WCPageBackBuffer;
import com.sun.webkit.graphics.WCPoint;
import com.sun.webkit.graphics.WCRectangle;

public interface WebPageClient {

    public void setCursor(long cursorID);

    public void setFocus(boolean focus);

    public void transferFocus(boolean forward);

    public void setTooltip(String tooltip);

    public WCRectangle getScreenBounds(boolean available);

    public int getScreenDepth();

    /**
     * @return the UI container which represents a web component
     *         in the implementing platform
     */
    public T getContainer();

    public WCPoint screenToWindow(WCPoint ptScreen);

    public WCPoint windowToScreen(WCPoint ptWindow);

    public WCPageBackBuffer createBackBuffer();

    public boolean isBackBufferSupported();

    public void addMessageToConsole(String message, int lineNumber,
                                    String sourceId);

    public void didClearWindowObject(long context, long windowObject);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy