public class OracleFormsListView extends OracleFormsContainer implements IOracleFormsScrollable
| Modifier | Constructor and Description |
|---|---|
protected |
OracleFormsListView(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 OracleFormsListView。
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearSelection()
清除选定内容。
|
List<List<String>> |
getAllCellTexts()
获取 列表视图中所有单元格的文本值。
|
String |
getCellText(int row,
int columnIndex)
返回单元格文本。
|
String |
getCellText(int row,
ItemIdentifier column)
返回单元格文本。
|
String |
getCellText(int row,
String columnText)
返回单元格文本。
|
int |
getColumnCount()
获取 列表视图中列的数量。
|
String |
getColumnName(int index)
返回指定索引处的列的名称。
|
int |
getColumnWidth(int columnIndex)
返回指定列的宽度。
|
int |
getColumnWidth(ItemIdentifier column)
返回指定列的宽度。
|
int |
getColumnWidth(String columnText)
返回指定列的宽度。
|
int |
getFocusedRow()
获取 如果当前未选择任何行,则返回所关注行的索引 -1 (4Test: 0)。.
|
OracleFormsHorizontalScrollbar |
getHorizontalScrollbar()
获取水平滚动条。
|
int |
getHorizontalScrollbarPageSize()
获取 滚动条的块增量值。
|
int |
getHorizontalScrollbarPosition()
获取 滚动条的当前位置。
|
Range |
getHorizontalScrollbarRange()
获取 滚动条的范围值。
|
int |
getHorizontalScrollbarStepSize()
获取 滚动条的单位增量值。
|
int |
getRowCount()
获取 列表视图中行的数量。
|
int |
getSelectedRow()
获取 所选行的索引。
|
OracleFormsVerticalScrollbar |
getVerticalScrollbar()
获取垂直滚动条。
|
int |
getVerticalScrollbarPageSize()
获取 滚动条的块增量值。
|
int |
getVerticalScrollbarPosition()
获取 滚动条的当前位置。
|
Range |
getVerticalScrollbarRange()
获取 滚动条的范围值。
|
int |
getVerticalScrollbarStepSize()
获取 滚动条的单位增量值。
|
void |
horizontalScrollbarPage(int pageCount)
将当前滚动位置增加指定页数。
|
void |
horizontalScrollbarScrollTo(int position)
滚动至指定位置。
|
void |
horizontalScrollbarScrollToMax()
滚动至滚动条的最大位置。
|
void |
horizontalScrollbarScrollToMin()
滚动至滚动条的最小位置。
|
void |
horizontalScrollbarStep(int stepCount)
将当前滚动位置增加指定步长数。
|
boolean |
isRowVisible(int index)
返回指定行是否可见。
|
void |
scrollToRow(int index)
滚动至指定行。
|
void |
selectRow(int index)
选择指定行。
|
void |
setColumnWidth(int columnIndex,
int width)
设置指定列的宽度。
|
void |
setColumnWidth(ItemIdentifier column,
int width)
设置指定列的宽度。
|
void |
setColumnWidth(String columnText,
int width)
设置指定列的宽度。
|
void |
verticalScrollbarPage(int pageCount)
将当前滚动位置增加指定页数。
|
void |
verticalScrollbarScrollTo(int position)
滚动至指定位置。
|
void |
verticalScrollbarScrollToMax()
滚动至滚动条的最大位置。
|
void |
verticalScrollbarScrollToMin()
滚动至滚动条的最小位置。
|
void |
verticalScrollbarStep(int stepCount)
将当前滚动位置增加指定步长数。
|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAccessibleName, getAccessibleRole, getBackground, getCursor, getFont, getForeground, getHeight, getName, getNativeHandle, getWidth, isEnabled, isFocusable, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, scrollIntoView, 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 OracleFormsListView(JtfObjectHandle handle, Desktop desktop)
handle - 可确定 OracleFormsListView 的句柄desktop - 此对象所在的桌面public void clearSelection()
public String getCellText(int row, ItemIdentifier column)
仅限至少在可用后即对用户可见的值。
row - 行的索引。. The value is zero-based.column - 列的名称或索引public String getCellText(int row, String columnText)
仅限至少在可用后即对用户可见的值。
row - 行的索引。. The value is zero-based.columnText - 列的名称或索引public String getCellText(int row, int columnIndex)
仅限至少在可用后即对用户可见的值。
row - 行的索引。. The value is zero-based.columnIndex - 列的名称或索引public String getColumnName(int index)
index - 列的索引。. The value is zero-based.public int getColumnWidth(ItemIdentifier column)
column - 列的名称或索引public int getColumnWidth(String columnText)
columnText - 列的名称或索引public int getColumnWidth(int columnIndex)
columnIndex - 列的名称或索引public OracleFormsHorizontalScrollbar getHorizontalScrollbar()
getHorizontalScrollbar in interface IOracleFormsScrollablepublic OracleFormsVerticalScrollbar getVerticalScrollbar()
getVerticalScrollbar in interface IOracleFormsScrollablepublic void horizontalScrollbarPage(int pageCount)
horizontalScrollbarPage in interface IOracleFormsScrollablepageCount - 可增加的页数public void horizontalScrollbarScrollTo(int position)
horizontalScrollbarScrollTo in interface IOracleFormsScrollableposition - 可滚动到的位置public void horizontalScrollbarScrollToMax()
horizontalScrollbarScrollToMax in interface IOracleFormsScrollablepublic void horizontalScrollbarScrollToMin()
horizontalScrollbarScrollToMin in interface IOracleFormsScrollablepublic void horizontalScrollbarStep(int stepCount)
horizontalScrollbarStep in interface IOracleFormsScrollablestepCount - 可增加的步长数public boolean isRowVisible(int index)
index - 行的索引。. The value is zero-based.public void scrollToRow(int index)
index - 要滚动至的行。. The value is zero-based.public void selectRow(int index)
index - 可选择的行。. The value is zero-based.public void setColumnWidth(ItemIdentifier column, int width)
column - 可调整大小的列的名称或索引width - 新列宽public void setColumnWidth(String columnText, int width)
columnText - 可调整大小的列的名称或索引width - 新列宽public void setColumnWidth(int columnIndex,
int width)
columnIndex - 可调整大小的列的名称或索引width - 新列宽public void verticalScrollbarPage(int pageCount)
verticalScrollbarPage in interface IOracleFormsScrollablepageCount - 可增加的页数public void verticalScrollbarScrollTo(int position)
verticalScrollbarScrollTo in interface IOracleFormsScrollableposition - 可滚动到的位置public void verticalScrollbarScrollToMax()
verticalScrollbarScrollToMax in interface IOracleFormsScrollablepublic void verticalScrollbarScrollToMin()
verticalScrollbarScrollToMin in interface IOracleFormsScrollablepublic void verticalScrollbarStep(int stepCount)
verticalScrollbarStep in interface IOracleFormsScrollablestepCount - 可增加的步长数public List<List<String>> getAllCellTexts()
仅限至少在可用后即对用户可见的值。
public int getColumnCount()
public int getFocusedRow()
public int getHorizontalScrollbarPageSize()
getHorizontalScrollbarPageSize in interface IOracleFormsScrollablepublic int getHorizontalScrollbarPosition()
getHorizontalScrollbarPosition in interface IOracleFormsScrollablepublic Range getHorizontalScrollbarRange()
getHorizontalScrollbarRange in interface IOracleFormsScrollablepublic int getHorizontalScrollbarStepSize()
getHorizontalScrollbarStepSize in interface IOracleFormsScrollablepublic int getRowCount()
public int getSelectedRow()
public int getVerticalScrollbarPageSize()
getVerticalScrollbarPageSize in interface IOracleFormsScrollablepublic int getVerticalScrollbarPosition()
getVerticalScrollbarPosition in interface IOracleFormsScrollablepublic Range getVerticalScrollbarRange()
getVerticalScrollbarRange in interface IOracleFormsScrollablepublic int getVerticalScrollbarStepSize()
getVerticalScrollbarStepSize in interface IOracleFormsScrollableCopyright 2009-2012 Micro Focus. All Rights Reserved.