com.sun.webkit.WCFrameView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openjfx-78-backport Show documentation
Show all versions of openjfx-78-backport Show documentation
This is a backport of OpenJFX 8 to run on Java 7.
The newest version!
/*
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
*/
package com.sun.webkit;
final class WCFrameView extends WCWidget {
WCFrameView(WebPage page) {
super(page);
}
@Override protected void requestFocus() {
WebPageClient pageClient = getPage().getPageClient();
if (pageClient != null) {
pageClient.setFocus(true);
}
}
@Override protected void setCursor(long cursorID) {
WebPageClient pageClient = getPage().getPageClient();
if (pageClient != null) {
pageClient.setCursor(cursorID);
}
}
/*
public Rectangle getVisibleRect() {
// TODO
return null;
}
public void scrollToVisible(final Rectangle rect) {
// TODO
}
*/
}