[英]How could I know whether org.eclipse.swt.browser.Browser.setText(html) renderred html completed
org.eclipse.swt.events.Progresslistner{ public void completed(ProgressEvent e){} } org.eclipse.swt.events.Progresslistner {public voidcompleted(ProgressEvent e){}}
the method completed(ProgressEvent) only means the browser has loaded the html, but still not ready to render. 方法completed(ProgressEvent)仅表示浏览器已加载HTML,但仍未准备好呈现。 What I needed is a callback when render completed. 我需要的是渲染完成后的回调。 Is there any way could do this? 有什么办法可以做到这一点?
thx 谢谢
我认为您需要从LocationListener
方法event.top
changed()
并测试event.top
是否为true
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.