public class DefaultPopupHandler extends java.lang.Object implements PopupHandler
PopupHandler
that will display popup Browser in a Stage. The stage will be positioned according to the initial popup bounds. If popup doesn't provide initial bounds the stage will have 800x600 size and its location will be decided by OS.
Constructor and Description |
---|
DefaultPopupHandler() |
Modifier and Type | Method and Description |
---|---|
PopupContainer |
handlePopup(PopupParams params)
Creates a container to display a new browser window, identified by
创建一个容器以显示由参数标识的新浏览器窗口。 params .
|
public PopupContainer handlePopup(PopupParams params)
PopupHandler
params
. Return
null
to prevent popup from being displayed.
handlePopup
in interface
PopupHandler
params
- requested container parameters.
-请求的容器参数。
null
to suppress popup.
容器窗口还是禁止弹出窗口。