public class WPFNavigationWindow extends WPFWindow
Modifier | Constructor and Description |
---|---|
protected |
WPFNavigationWindow(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 WPFNavigationWindow。
|
Modifier and Type | Method and Description |
---|---|
boolean |
canGoBack()
获取 表示后退导航历史记录中是否至少有一个条目的值。
|
boolean |
canGoForward()
获取 表示前进导航历史记录中是否至少有一个条目的值。
|
String |
getSource()
获取 当前内容的统一资源标识符 (URI)。
|
void |
goBack()
导航至后退导航历史记录中的最近项目。
|
void |
goForward()
导航至前进导航历史记录中的最近项目。
|
boolean |
navigate(String uri)
异步导航至指定的源内容。
|
void |
refresh()
重新加载当前内容。
|
void |
stopLoading()
停止进一步下载当前导航请求的内容。
|
activate, close, closeSynchron, closeSynchron, getCloseWindows, getFocus, getNextCloseWindow, getTitle, getWindowState, isActive, loadAssembly, maximize, minimize, move, restore, setActive, size
getContent, hasContent
getFontFamily, getFontSize, getTabIndex, isTabStop
getActualHeight, getActualWidth, getMaximumScrollPosition, getName, getScrollPosition, pointFromScreen, pointToScreen, scroll, scrollToPosition
bringIntoView, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getToolTip, isEnabled, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, getValue, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForProperty
equals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toString
protected WPFNavigationWindow(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 WPFNavigationWindow 的句柄desktop
- 此对象所在的桌面public void goBack()
public void goForward()
public boolean navigate(String uri)
uri
- 所需内容的 URIpublic void refresh()
public void stopLoading()
public boolean canGoBack()
public boolean canGoForward()
Copyright 2009-2012 Micro Focus. All Rights Reserved.