@ControlType(value=org.eclipse.swt.widgets.Scrollable.class) public class ScrollableWrap<T extends org.eclipse.swt.widgets.Scrollable> extends ControlWrap<T>
ControlWrap.ClickFocusfocuser, popupBOUNDS_PROP_NAME, CLICKPOINT_PROP_NAME, CONTROL_CLASS_PROP_NAME, CONTROL_PROP_NAME, IMAGE_CAPTURER_PROPERTY, IMAGE_LOADER_PROPERTY, INPUT_FACTORY_PROPERTY, NAME_PROP_NAME, OUTPUT, POSITION_PROP_NAME, TEXT_PROP_NAME, TOOLTIP_PROP_NAME, VALUE_PROP_NAME, WAIT_STATE_TIMEOUT, WRAPPER_CLASS_PROP_NAME| Constructor and Description |
|---|
ScrollableWrap(Environment env,
T node) |
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
getBounds(org.eclipse.swt.widgets.Scrollable scrollable,
Environment env)
Returns a rectangle describing the visible part of the supplied
Scrollable.
|
Rectangle |
getScreenBounds()
Returns the screen bounds of this Scrollable
|
static Rectangle |
getScreenBounds(org.eclipse.swt.widgets.Scrollable scrollable,
Environment env)
Returns the screen bounds of this Scrollable
|
as, focuser, getBounds, getParent, getScreenBounds, getScreenLocation, getShell, hasFocus, is, menu, name, textas, drag, getClickPoint, getControl, getControlClass, getEnvironment, getFieldProperty, getMethodProperty, getProperties, getPropertiesQiuet, getProperty, getProperty, getProperty, getProperty, getScreenImage, getScreenImage, getWrapper, hasFieldProperty, hasMethodProperty, is, keyboard, mouse, setEnvironment, toAbsolute, toLocal, waitImage, waitImage, waitProperty, waitProperty, waitProperty, waitState, waitStatepublic ScrollableWrap(Environment env, T node)
public Rectangle getScreenBounds()
getScreenBounds in class ControlWrap<T extends org.eclipse.swt.widgets.Scrollable>public static Rectangle getScreenBounds(org.eclipse.swt.widgets.Scrollable scrollable, Environment env)
scrollable - This Scrollableenv - The environmentpublic static Rectangle getBounds(org.eclipse.swt.widgets.Scrollable scrollable, Environment env)
scrollable - The Scrollable for which to get the client areaenv - The Jemmy EnvironmentScrollable.getClientArea()Copyright © 2018. All rights reserved.