public interface PopupContainer
| Modifier and Type | Method and Description |
|---|---|
void |
insertBrowser(Browser browser, java.awt.Rectangle initialBounds)
Notification is called when newly created browser instance should be inserted into the parent container and displayed.
当应将新创建的浏览器实例插入父容器并显示时,将调用通知。 |
void insertBrowser(Browser browser, java.awt.Rectangle initialBounds)
initialBounds parameter contains popup window bounds on the screen.
When popup window is opened via the
window.open('url','target','left=0, top=0, width=100, height=100') JavaScript function, the
initialBounds will contain the
Rectangle(0, 0, 100, 100) value.
browser - the newly created browser.
-新创建的浏览器。
initialBounds - initial bounds of popup window.
-弹出窗口的初始边界。