@ControlType(value=org.eclipse.swt.widgets.Control.class) public class ControlWrap<T extends org.eclipse.swt.widgets.Control> extends Wrap<T> implements Focusable
| Modifier and Type | Class and Description |
|---|---|
protected class |
ControlWrap.ClickFocus |
| Modifier and Type | Field and Description |
|---|---|
protected ControlWrap.ClickFocus |
focuser |
protected PopupOwner |
popup |
BOUNDS_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 |
|---|
ControlWrap(Environment env,
T node) |
| Modifier and Type | Method and Description |
|---|---|
<INTERFACE extends ControlInterface> |
as(Class<INTERFACE> interfaceClass) |
ControlWrap.ClickFocus |
focuser() |
static Rectangle |
getBounds(org.eclipse.swt.widgets.Control c,
Environment env) |
static org.eclipse.swt.widgets.Composite |
getParent(org.eclipse.swt.widgets.Control control,
Environment env) |
Rectangle |
getScreenBounds() |
static Rectangle |
getScreenBounds(org.eclipse.swt.widgets.Control control,
Environment env) |
static org.eclipse.swt.graphics.Point |
getScreenLocation(org.eclipse.swt.widgets.Control control,
Environment env) |
org.eclipse.swt.widgets.Shell |
getShell() |
boolean |
hasFocus() |
<INTERFACE extends ControlInterface> |
is(Class<INTERFACE> interfaceClass) |
org.eclipse.swt.widgets.Menu |
menu() |
String |
name() |
String |
text() |
as, 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, waitStateprotected ControlWrap.ClickFocus focuser
protected PopupOwner popup
public ControlWrap(Environment env, T node)
public Rectangle getScreenBounds()
getScreenBounds in class Wrap<T extends org.eclipse.swt.widgets.Control>public static Rectangle getScreenBounds(org.eclipse.swt.widgets.Control control, Environment env)
public static org.eclipse.swt.graphics.Point getScreenLocation(org.eclipse.swt.widgets.Control control,
Environment env)
public org.eclipse.swt.widgets.Shell getShell()
public boolean hasFocus()
public org.eclipse.swt.widgets.Menu menu()
public static org.eclipse.swt.widgets.Composite getParent(org.eclipse.swt.widgets.Control control,
Environment env)
public ControlWrap.ClickFocus focuser()
public static Rectangle getBounds(org.eclipse.swt.widgets.Control c, Environment env)
public <INTERFACE extends ControlInterface> boolean is(Class<INTERFACE> interfaceClass)
public <INTERFACE extends ControlInterface> INTERFACE as(Class<INTERFACE> interfaceClass)
Copyright © 2018. All rights reserved.