本文整理了Java中org.eclipse.swt.browser.Browser.forward()
方法的一些代码示例,展示了Browser.forward()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Browser.forward()
方法的具体详情如下:
包路径:org.eclipse.swt.browser.Browser
类名称:Browser
方法名:forward
[英]Navigate to the next session history item.
[中]导航到下一个会话历史记录项目。
代码示例来源:origin: pentaho/pentaho-kettle
private void forward() {
wBrowser.forward();
}
代码示例来源:origin: pentaho/pentaho-kettle
public void browseForward() {
browser.forward();
}
代码示例来源:origin: org.codehaus.openxma/xmartclient
public void handleEvent(Event e) {
// if (webBrowser == null) return;
// webBrowser.GoForward();
if (swtBrowser != null)
swtBrowser.forward();
}
});
代码示例来源:origin: org.codehaus.openxma/xmartserver
public void handleEvent(Event e) {
// if (webBrowser == null) return;
// webBrowser.GoForward();
if (swtBrowser != null)
swtBrowser.forward();
}
});
代码示例来源:origin: org.xworker/xworker_swt
public static void forwardToolItemSelection(ActionContext actionContext){
Browser browser = (Browser) actionContext.get("browser");
browser.forward();
}
代码示例来源:origin: org.xworker/xworker_swt
public static void forwardToolItemSelection(ActionContext actionContext){
Browser browser = (Browser) actionContext.get("browser");
browser.forward();
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.ui.intro
@Override
public boolean navigateForward() {
boolean success = false;
if (getModel().isDynamic()) {
// dynamic case. Uses navigation history.
if (history.canNavigateForward()) {
history.navigateHistoryForward();
// guard against unnecessary History updates.
urlListener.flagStartOfNavigation();
if (history.currentLocationIsUrl()) {
success = browser.setUrl(history.getCurrentLocationAsUrl());
} else {
AbstractIntroPage page = history.getCurrentLocationAsPage();
getModel().setCurrentPageId(page.getId(), false);
success = generateContentForPage(page);
}
} else
success = false;
// update history only in dynamic case.
updateNavigationActionsState();
} else
// static HTML case. use browser real Forward.
success = browser.forward();
return success;
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.examples
ToolItem item = (ToolItem)event.widget;
if (item == itemBack) browser.back();
else if (item == itemForward) browser.forward();
else if (item == itemStop) browser.stop();
else if (item == itemRefresh) browser.refresh();
代码示例来源:origin: openaudible/openaudible
browser.back();
else if (item == itemForward)
browser.forward();
else if (item == itemStop)
browser.stop();
内容来源于网络,如有侵权,请联系作者删除!