public class WPFFrameworkElement extends WPFBase implements IWPFScrollable
| Modifier | Constructor and Description |
|---|---|
protected |
WPFFrameworkElement(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 WPFFrameworkElement。
|
| Modifier and Type | Method and Description |
|---|---|
double |
getActualHeight()
获取 此元素的呈现高度。
|
double |
getActualWidth()
获取 此元素的呈现宽度。
|
double |
getMaximumScrollPosition(Orientation orientation)
检索 ScrollViewer 的最大位置。
|
String |
getName()
获取 元素的标识名称。
|
double |
getScrollPosition(Orientation orientation)
返回 ScrollViewer 的位置。
|
Point |
pointFromScreen(Point point)
将以屏幕坐标表示的点转换为表示视觉对象当前坐标系的点。
|
Point |
pointToScreen(Point point)
将表示视觉对象当前坐标系的点转换为以屏幕坐标表示的点。
|
void |
scroll(ScrollDestination scrolldestination)
设置 ScrollViewer 的值为指定 scrolldestination。
|
void |
scrollToPosition(double offset,
Orientation orientation)
设置 ScrollViewer 的位置。
|
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, typePasswordKeyscaptureBitmap, 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, waitForPropertyequals, 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, toStringprotected WPFFrameworkElement(JtfObjectHandle handle, Desktop desktop)
handle - 可确定 WPFFrameworkElement 的句柄desktop - 此对象所在的桌面public double getMaximumScrollPosition(Orientation orientation)
getMaximumScrollPosition in interface IWPFScrollableorientation - 水平或垂直滚动条的 GetMaximumScrollPositionpublic double getScrollPosition(Orientation orientation)
getScrollPosition in interface IWPFScrollableorientation - 水平或垂直滚动条的 GetScrollPositionpublic Point pointFromScreen(Point point)
point - 点值(屏幕坐标)public Point pointToScreen(Point point)
point - 表示视觉对象当前坐标系的点值public void scroll(ScrollDestination scrolldestination)
scroll in interface IWPFScrollablescrolldestination - 设置 ScrollViewer 使用的值public void scrollToPosition(double offset,
Orientation orientation)
scrollToPosition in interface IWPFScrollableoffset - ScrollViewer 的值orientation - 水平或垂直滚动条的 ScrollToPositionpublic double getActualHeight()
public double getActualWidth()
Copyright 2009-2012 Micro Focus. All Rights Reserved.