public class OracleFormsListView extends OracleFormsContainer implements IOracleFormsScrollable
| Modifier | Constructor and Description |
|---|---|
protected |
OracleFormsListView(JtfObjectHandle handle,
Desktop desktop)
Creates a new OracleFormsListView with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearSelection()
Clears the selection.
|
List<List<String>> |
getAllCellTexts()
Gets the text values of all cells in the listview.
|
String |
getCellText(int row,
int columnIndex)
Returns the cell text.
|
String |
getCellText(int row,
ItemIdentifier column)
Returns the cell text.
|
String |
getCellText(int row,
String columnText)
Returns the cell text.
|
int |
getColumnCount()
Gets the number of columns in the listview.
|
String |
getColumnName(int index)
Returns the name of the column at the specified index.
|
int |
getColumnWidth(int columnIndex)
Returns the width of the specified column.
|
int |
getColumnWidth(ItemIdentifier column)
Returns the width of the specified column.
|
int |
getColumnWidth(String columnText)
Returns the width of the specified column.
|
int |
getFocusedRow()
Gets the index of the focused row, -1 (4Test: 0) is returned if no row is focused.
|
OracleFormsHorizontalScrollbar |
getHorizontalScrollbar()
Gets the horizontal scroll bar.
|
int |
getHorizontalScrollbarPageSize()
Gets the block increment value of the scroll bar.
|
int |
getHorizontalScrollbarPosition()
Gets the current position of the scroll bar.
|
Range |
getHorizontalScrollbarRange()
Gets the range value of the scroll bar.
|
int |
getHorizontalScrollbarStepSize()
Gets the unit increment value of the scroll bar.
|
int |
getRowCount()
Gets the number of rows in the listview.
|
int |
getSelectedRow()
Gets the index of the selected row, -1 (4Test: 0) is returned if no row is selected.
|
OracleFormsVerticalScrollbar |
getVerticalScrollbar()
Gets the vertical scroll bar.
|
int |
getVerticalScrollbarPageSize()
Gets the block increment value of the scroll bar.
|
int |
getVerticalScrollbarPosition()
Gets the current position of the scroll bar.
|
Range |
getVerticalScrollbarRange()
Gets the range value of the scroll bar.
|
int |
getVerticalScrollbarStepSize()
Gets the unit increment value of the scroll bar.
|
void |
horizontalScrollbarPage(int pageCount)
Increments the current scroll position by specified number of pages.
|
void |
horizontalScrollbarScrollTo(int position)
Scrolls to the specified position.
|
void |
horizontalScrollbarScrollToMax()
Scrolls to the maximum position of the scroller.
|
void |
horizontalScrollbarScrollToMin()
Scrolls to the minimum position of the scroller.
|
void |
horizontalScrollbarStep(int stepCount)
Increments the current scroll position by specified steps.
|
boolean |
isRowVisible(int index)
Returns whether the specified row is visible.
|
void |
scrollToRow(int index)
Scrolls to the specified row.
|
void |
selectRow(int index)
Selects the specified row.
|
void |
setColumnWidth(int columnIndex,
int width)
Sets the width of the specified column.
|
void |
setColumnWidth(ItemIdentifier column,
int width)
Sets the width of the specified column.
|
void |
setColumnWidth(String columnText,
int width)
Sets the width of the specified column.
|
void |
verticalScrollbarPage(int pageCount)
Increments the current scroll position by specified number of pages.
|
void |
verticalScrollbarScrollTo(int position)
Scrolls to the specified position.
|
void |
verticalScrollbarScrollToMax()
Scrolls to the maximum position of the scroller.
|
void |
verticalScrollbarScrollToMin()
Scrolls to the minimum position of the scroller.
|
void |
verticalScrollbarStep(int stepCount)
Increments the current scroll position by specified steps.
|
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 - the handle that identifies the OracleFormsListViewdesktop - the desktop on which this object livespublic void clearSelection()
public String getCellText(int row, ItemIdentifier column)
Only the values that have been visible to the user at least once are available.
row - the index of the row. The value is zero-based.column - the name or index of the columnpublic String getCellText(int row, String columnText)
Only the values that have been visible to the user at least once are available.
row - the index of the row. The value is zero-based.columnText - the name or index of the columnpublic String getCellText(int row, int columnIndex)
Only the values that have been visible to the user at least once are available.
row - the index of the row. The value is zero-based.columnIndex - the name or index of the columnpublic String getColumnName(int index)
index - the index of the column. The value is zero-based.public int getColumnWidth(ItemIdentifier column)
column - the name or index of the columnpublic int getColumnWidth(String columnText)
columnText - the name or index of the columnpublic int getColumnWidth(int columnIndex)
columnIndex - the name or index of the columnpublic OracleFormsHorizontalScrollbar getHorizontalScrollbar()
getHorizontalScrollbar in interface IOracleFormsScrollablepublic OracleFormsVerticalScrollbar getVerticalScrollbar()
getVerticalScrollbar in interface IOracleFormsScrollablepublic void horizontalScrollbarPage(int pageCount)
horizontalScrollbarPage in interface IOracleFormsScrollablepageCount - the number of pages to incrementpublic void horizontalScrollbarScrollTo(int position)
horizontalScrollbarScrollTo in interface IOracleFormsScrollableposition - the position to scroll topublic void horizontalScrollbarScrollToMax()
horizontalScrollbarScrollToMax in interface IOracleFormsScrollablepublic void horizontalScrollbarScrollToMin()
horizontalScrollbarScrollToMin in interface IOracleFormsScrollablepublic void horizontalScrollbarStep(int stepCount)
horizontalScrollbarStep in interface IOracleFormsScrollablestepCount - the number of steps to incrementpublic boolean isRowVisible(int index)
index - the index of the row. The value is zero-based.public void scrollToRow(int index)
index - the row to scroll to. The value is zero-based.public void selectRow(int index)
index - the row to select. The value is zero-based.public void setColumnWidth(ItemIdentifier column, int width)
column - the name or index of the column to resizewidth - the new width for the columnpublic void setColumnWidth(String columnText, int width)
columnText - the name or index of the column to resizewidth - the new width for the columnpublic void setColumnWidth(int columnIndex,
int width)
columnIndex - the name or index of the column to resizewidth - the new width for the columnpublic void verticalScrollbarPage(int pageCount)
verticalScrollbarPage in interface IOracleFormsScrollablepageCount - the number of pages to incrementpublic void verticalScrollbarScrollTo(int position)
verticalScrollbarScrollTo in interface IOracleFormsScrollableposition - the position to scroll topublic void verticalScrollbarScrollToMax()
verticalScrollbarScrollToMax in interface IOracleFormsScrollablepublic void verticalScrollbarScrollToMin()
verticalScrollbarScrollToMin in interface IOracleFormsScrollablepublic void verticalScrollbarStep(int stepCount)
verticalScrollbarStep in interface IOracleFormsScrollablestepCount - the number of steps to incrementpublic List<List<String>> getAllCellTexts()
Only the values that have been visible to the user at least once are available.
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.