@ControlType(value=org.eclipse.swt.widgets.Tree.class) public class TreeWrap<T extends org.eclipse.swt.widgets.Tree> extends ScrollableWrap<T> implements KeyboardSelectable<String>, Focusable
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_NAMESTATE_PROP_NAME, STATES_PROP_NAME| Constructor and Description |
|---|
TreeWrap(Environment env,
T node) |
| Modifier and Type | Method and Description |
|---|---|
<INTERFACE extends ControlInterface> |
as(Class<INTERFACE> interfaceClass) |
<TYPE,INTERFACE extends TypeControlInterface<TYPE>> |
as(Class<INTERFACE> interfaceClass,
Class<TYPE> type) |
Point |
getClickPoint()
Click point for Tree (top of the visible part)
|
List<org.eclipse.swt.widgets.TreeItem> |
getItems() |
org.eclipse.swt.widgets.TreeItem |
getSelectedItem() |
String |
getState() |
List<String> |
getStates() |
Class<String> |
getType() |
int |
index(String item) |
int |
index(org.eclipse.swt.widgets.TreeItem item) |
<INTERFACE extends ControlInterface> |
is(Class<INTERFACE> interfaceClass) |
<TYPE,INTERFACE extends TypeControlInterface<TYPE>> |
is(Class<INTERFACE> interfaceClass,
Class<TYPE> type) |
boolean |
isVertical() |
int |
selection() |
Selector<String> |
selector() |
getBounds, getScreenBounds, getScreenBoundsfocuser, getBounds, getParent, getScreenBounds, getScreenLocation, getShell, hasFocus, menu, name, textdrag, getControl, getControlClass, getEnvironment, getFieldProperty, getMethodProperty, getProperties, getPropertiesQiuet, getProperty, getProperty, getProperty, getProperty, getScreenImage, getScreenImage, getWrapper, hasFieldProperty, hasMethodProperty, keyboard, mouse, setEnvironment, toAbsolute, toLocal, waitImage, waitImage, waitProperty, waitProperty, waitProperty, waitState, waitStatepublic TreeWrap(Environment env, T node)
public List<org.eclipse.swt.widgets.TreeItem> getItems()
public org.eclipse.swt.widgets.TreeItem getSelectedItem()
public int selection()
selection in interface KeyboardSelectable<String>public boolean isVertical()
isVertical in interface KeyboardSelectable<String>public int index(org.eclipse.swt.widgets.TreeItem item)
public Selector<String> selector()
selector in interface Selectable<String>public Class<String> getType()
getType in interface TypeControlInterface<String>@Property(value="clickPoint") public Point getClickPoint()
getClickPoint in class Wrap<T extends org.eclipse.swt.widgets.Tree>public <TYPE,INTERFACE extends TypeControlInterface<TYPE>> INTERFACE as(Class<INTERFACE> interfaceClass, Class<TYPE> type)
public <INTERFACE extends ControlInterface> INTERFACE as(Class<INTERFACE> interfaceClass)
as in class ControlWrap<T extends org.eclipse.swt.widgets.Tree>public <TYPE,INTERFACE extends TypeControlInterface<TYPE>> boolean is(Class<INTERFACE> interfaceClass, Class<TYPE> type)
public <INTERFACE extends ControlInterface> boolean is(Class<INTERFACE> interfaceClass)
is in class ControlWrap<T extends org.eclipse.swt.widgets.Tree>public int index(String item)
index in interface KeyboardSelectable<String>@Property(value="states") public List<String> getStates()
getStates in interface Selectable<String>Copyright © 2018. All rights reserved.