本文整理了Java中org.eclipse.swt.browser.Browser.removeProgressListener()
方法的一些代码示例,展示了Browser.removeProgressListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Browser.removeProgressListener()
方法的具体详情如下:
包路径:org.eclipse.swt.browser.Browser
类名称:Browser
方法名:removeProgressListener
[英]Removes the listener from the collection of listeners who will be notified when a progress is made during the loading of the current URL or when the loading of the current URL has been completed.
[中]
代码示例来源:origin: BiglySoftware/BiglyBT
@Override
public void
removeProgressListener(
ProgressListener l )
{
browser.removeProgressListener( l );
}
代码示例来源:origin: org.eclipse.mylyn.wikitext/ui
@Override
public void completed(ProgressEvent event) {
browser.removeProgressListener(this);
if (outlineItem != null) {
revealInBrowser(outlineItem);
} else {
browser.execute(String.format("window.scrollTo(0,%d);", verticalScrollbarPos)); //$NON-NLS-1$
}
}
});
代码示例来源:origin: org.xworker/xworker_swt
ProgressListener lis = (ProgressListener) browser.getData("listener");
if(lis != null){
browser.removeProgressListener(lis);
内容来源于网络,如有侵权,请联系作者删除!