public class WPFFrameworkElement extends WPFBase implements IWPFScrollable
| Modifier | Constructor and Description |
|---|---|
protected |
WPFFrameworkElement(JtfObjectHandle handle,
Desktop desktop)
Creates a new WPFFrameworkElement with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getActualHeight()
Gets the rendered height of this element.
|
double |
getActualWidth()
Gets the rendered width of this element.
|
double |
getMaximumScrollPosition(Orientation orientation)
Retrieves the maximum position of the ScrollViewer.
|
String |
getName()
Gets the identifying name of the element.
|
double |
getScrollPosition(Orientation orientation)
Return the position of the ScrollViewer.
|
Point |
pointFromScreen(Point point)
Converts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual.
|
Point |
pointToScreen(Point point)
Converts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates.
|
void |
scroll(ScrollDestination scrolldestination)
Sets the value of the ScrollViewer to a specific scrolldestination.
|
void |
scrollToPosition(double offset,
Orientation orientation)
Sets the position of the 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 - the handle that identifies the WPFFrameworkElementdesktop - the desktop on which this object livespublic double getMaximumScrollPosition(Orientation orientation)
getMaximumScrollPosition in interface IWPFScrollableorientation - getMaximumScrollPosition of either the horizontal or vertical scrollbarpublic double getScrollPosition(Orientation orientation)
getScrollPosition in interface IWPFScrollableorientation - getScrollPosition of either the horizontal or vertical scrollbarpublic Point pointFromScreen(Point point)
point - the Point value in screen coordinatespublic Point pointToScreen(Point point)
point - the Point value that represents the current coordinate system of the Visualpublic void scroll(ScrollDestination scrolldestination)
scroll in interface IWPFScrollablescrolldestination - the value to set the ScrollViewerpublic void scrollToPosition(double offset,
Orientation orientation)
scrollToPosition in interface IWPFScrollableoffset - the value of the ScrollViewerorientation - scrollToPosition of either the horizontal or vertical scrollbarpublic double getActualHeight()
public double getActualWidth()
Copyright 2009-2012 Micro Focus. All Rights Reserved.