public class DataGridRow extends Item
| Modifier | Constructor and Description |
|---|---|
protected |
DataGridRow(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 DataGridRow。
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
获取 列宽。
|
int |
getItemCount()
获取 行中项目的数量。
|
List<DataGridItem> |
getItems()
获取 行中项目的列表。
|
void |
resize(int height)
调整列的大小。
|
void |
scrollIntoView()
通过滚动数据网格尝试将行放到顶部。
|
void |
select()
选择列。
|
void |
select(ModifierKey modifiers)
选择列。
|
void |
setHeight(int height)
设置 列宽。
|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getBackground, getFont, getForeground, getNativeHandle, isEnabled, isFocused, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setBackground, setEnabled, setFocus, setFont, setForeground, setVisible, 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 DataGridRow(JtfObjectHandle handle, Desktop desktop)
handle - 可确定 DataGridRow 的句柄desktop - 此对象所在的桌面public void resize(int height)
height - 新的行高度(像素)public void scrollIntoView()
public void select()
public void select(ModifierKey modifiers)
modifiers - 选择项目时的活动修饰键状态public int getHeight()
public void setHeight(int height)
height - 列宽public int getItemCount()
public List<DataGridItem> getItems()
Copyright 2009-2012 Micro Focus. All Rights Reserved.