本文整理了Java中org.eclipse.swt.browser.Browser.refresh()
方法的一些代码示例,展示了Browser.refresh()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Browser.refresh()
方法的具体详情如下:
包路径:org.eclipse.swt.browser.Browser
类名称:Browser
方法名:refresh
[英]Refresh the current page.
[中]刷新当前页面。
代码示例来源:origin: pentaho/pentaho-kettle
private void refresh() {
wBrowser.refresh();
}
代码示例来源:origin: BiglySoftware/BiglyBT
@Override
public void
refresh()
{
browser.refresh();
}
代码示例来源:origin: org.xworker/xworker_swt
public static void refreshToolItemSelection(ActionContext actionContext){
Browser browser = (Browser) actionContext.get("browser");
browser.refresh();
}
代码示例来源:origin: org.xworker/xworker_swt
public static void refreshToolItemSelection(ActionContext actionContext){
Browser browser = (Browser) actionContext.get("browser");
browser.refresh();
}
}
代码示例来源:origin: org.apache.uima/ruta-ep-caseditor
private void setHtmlWithEditor() {
CAS cas = editor.getDocument().getCAS();
String html = cas.getDocumentText();
browser.setText(html);
browser.refresh();
}
代码示例来源:origin: org.apache.uima/ruta-ep-caseditor
browser.refresh();
} catch (IOException e) {
RutaCasEditorPlugin.error(e);
代码示例来源:origin: org.apache.uima/ruta-ep-caseditor
@Override
public void createControl(Composite parent) {
Composite composite = parent;
browser = new Browser(composite, SWT.NONE);
updateHtml();
getSite().setSelectionProvider(new ISelectionProvider() {
public void setSelection(ISelection selection) {
}
public void removeSelectionChangedListener(ISelectionChangedListener listener) {
}
public ISelection getSelection() {
return null;
}
public void addSelectionChangedListener(ISelectionChangedListener listener) {
}
});
editor.addCasEditorInputListener(this);
browser.refresh();
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.examples
else if (item == itemForward) browser.forward();
else if (item == itemStop) browser.stop();
else if (item == itemRefresh) browser.refresh();
else if (item == itemGo) browser.setUrl(locationBar.getText());
};
代码示例来源:origin: openaudible/openaudible
browser.stop();
else if (item == itemRefresh)
browser.refresh();
else if (item == itemGo)
setUrl(locationBar.getText());
内容来源于网络,如有侵权,请联系作者删除!