public class WPFTreeView extends WPFItemsControl
| Modifier | Constructor and Description |
|---|---|
protected |
WPFTreeView(JtfObjectHandle handle,
Desktop desktop)
Creates a new WPFTreeView with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
collapse(ItemPath item)
Collapses the specified item.
|
void |
collapse(String item)
Collapses the specified item.
|
void |
expand(ItemPath item)
Expands the specified item.
|
void |
expand(String item)
Expands the specified item.
|
void |
expandAll()
Expands all items in the tree.
|
List<WPFColumnHeader> |
getColumnHeaders()
Gets the header columns.
|
WPFTreeViewItem |
getSelectedItem()
Gets the selected item or returns null if the selection is empty.
|
ItemPath |
getSelectedItemPath()
Gets the selected item path or an empty item path if nothing is selected.
|
String |
getSelectedItemText()
Gets the text of the selected item or an empty string if the selection is empty.
|
List<ItemPath> |
getVisibleItemPaths()
Gets the visible items in the tree as item paths.
|
void |
select(ItemPath item)
Selects the specified item.
|
void |
select(String item)
Selects the specified item.
|
getItems, getItemTexts, hasItems, isTextSearchEnabledgetFontFamily, getFontSize, getTabIndex, isTabStopgetActualHeight, getActualWidth, getMaximumScrollPosition, getName, getScrollPosition, pointFromScreen, pointToScreen, scroll, scrollToPositionbringIntoView, 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 WPFTreeView(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the WPFTreeViewdesktop - the desktop on which this object livespublic void collapse(ItemPath item)
item - the item to collapsepublic void collapse(String item)
item - the item to collapse. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String).
public void expand(ItemPath item)
item - the item to expandpublic void expand(String item)
item - the item to expand. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String).
public void expandAll()
public void select(ItemPath item)
item - the item to selectpublic void select(String item)
item - the item to select. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String).
public List<WPFColumnHeader> getColumnHeaders()
public WPFTreeViewItem getSelectedItem()
public ItemPath getSelectedItemPath()
public String getSelectedItemText()
Copyright 2009-2012 Micro Focus. All Rights Reserved.