public class OracleFormsListBox extends OracleFormsChoice implements IOracleFormsScrollable
Modifier | Constructor and Description |
---|---|
protected |
OracleFormsListBox(JtfObjectHandle handle,
Desktop desktop)
Creates a new OracleFormsListBox with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
void |
clickItem(int itemIndex)
Clicks the specified list item.
|
void |
clickItem(int itemIndex,
int button)
Clicks the specified list item.
|
void |
clickItem(int itemIndex,
int button,
Point position)
Clicks the specified list item.
|
void |
clickItem(int itemIndex,
int button,
Point position,
ModifierKey modifiers)
Clicks the specified list item.
|
void |
clickItem(ItemIdentifier item)
Clicks the specified list item.
|
void |
clickItem(ItemIdentifier item,
int button)
Clicks the specified list item.
|
void |
clickItem(ItemIdentifier item,
int button,
Point position)
Clicks the specified list item.
|
void |
clickItem(ItemIdentifier item,
int button,
Point position,
ModifierKey modifiers)
Clicks the specified list item.
|
void |
clickItem(String itemText)
Clicks the specified list item.
|
void |
clickItem(String itemText,
int button)
Clicks the specified list item.
|
void |
clickItem(String itemText,
int button,
Point position)
Clicks the specified list item.
|
void |
clickItem(String itemText,
int button,
Point position,
ModifierKey modifiers)
Clicks the specified list item.
|
void |
doubleClickItem(int itemIndex)
Double-clicks a list item.
|
void |
doubleClickItem(int itemIndex,
int button)
Double-clicks a list item.
|
void |
doubleClickItem(int itemIndex,
int button,
Point position)
Double-clicks a list item.
|
void |
doubleClickItem(int itemIndex,
int button,
Point position,
ModifierKey modifiers)
Double-clicks a list item.
|
void |
doubleClickItem(ItemIdentifier item)
Double-clicks a list item.
|
void |
doubleClickItem(ItemIdentifier item,
int button)
Double-clicks a list item.
|
void |
doubleClickItem(ItemIdentifier item,
int button,
Point position)
Double-clicks a list item.
|
void |
doubleClickItem(ItemIdentifier item,
int button,
Point position,
ModifierKey modifiers)
Double-clicks a list item.
|
void |
doubleClickItem(String itemText)
Double-clicks a list item.
|
void |
doubleClickItem(String itemText,
int button)
Double-clicks a list item.
|
void |
doubleClickItem(String itemText,
int button,
Point position)
Double-clicks a list item.
|
void |
doubleClickItem(String itemText,
int button,
Point position,
ModifierKey modifiers)
Double-clicks a list item.
|
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.
|
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.
|
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.
|
getItemCount, getItems, getItemText, getSelectedIndex, getSelectedItem, select, select, select
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, typePasswordKeys
captureBitmap, 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, waitForProperty
equals, 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, toString
protected OracleFormsListBox(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the OracleFormsListBoxdesktop
- the desktop on which this object livespublic void clickItem(ItemIdentifier item)
item
- the name or index of the list itempublic void clickItem(ItemIdentifier item, int button)
item
- the name or index of the list itembutton
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).public void clickItem(ItemIdentifier item, int button, Point position)
item
- the name or index of the list itembutton
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the clicked position within the list. (default: center of the list item)public void clickItem(ItemIdentifier item, int button, Point position, ModifierKey modifiers)
item
- the name or index of the list itembutton
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the clicked position within the list. (default: center of the list item)modifiers
- the modifier keys (Alt, Shift and Ctrl) to press while clicking the list item. Use a modifier to click multiple list items. Default: Don't use modifier keys.public void clickItem(String itemText)
itemText
- the name or index of the list itempublic void clickItem(String itemText, int button)
itemText
- the name or index of the list itembutton
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).public void clickItem(String itemText, int button, Point position)
itemText
- the name or index of the list itembutton
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the clicked position within the list. (default: center of the list item)public void clickItem(String itemText, int button, Point position, ModifierKey modifiers)
itemText
- the name or index of the list itembutton
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the clicked position within the list. (default: center of the list item)modifiers
- the modifier keys (Alt, Shift and Ctrl) to press while clicking the list item. Use a modifier to click multiple list items. Default: Don't use modifier keys.public void clickItem(int itemIndex)
itemIndex
- the name or index of the list itempublic void clickItem(int itemIndex, int button)
itemIndex
- the name or index of the list itembutton
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).public void clickItem(int itemIndex, int button, Point position)
itemIndex
- the name or index of the list itembutton
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the clicked position within the list. (default: center of the list item)public void clickItem(int itemIndex, int button, Point position, ModifierKey modifiers)
itemIndex
- the name or index of the list itembutton
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the clicked position within the list. (default: center of the list item)modifiers
- the modifier keys (Alt, Shift and Ctrl) to press while clicking the list item. Use a modifier to click multiple list items. Default: Don't use modifier keys.public void doubleClickItem(ItemIdentifier item)
item
- the name or index of the list itempublic void doubleClickItem(ItemIdentifier item, int button)
item
- the name or index of the list itembutton
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).public void doubleClickItem(ItemIdentifier item, int button, Point position)
item
- the name or index of the list itembutton
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the double-clicked position within the list. (default: center of the list item)public void doubleClickItem(ItemIdentifier item, int button, Point position, ModifierKey modifiers)
item
- the name or index of the list itembutton
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the double-clicked position within the list. (default: center of the list item)modifiers
- the modifier keys (Alt, Shift and Ctrl) to press while double-clicking the list item. Default: Don't use modifier keys.public void doubleClickItem(String itemText)
itemText
- the name or index of the list itempublic void doubleClickItem(String itemText, int button)
itemText
- the name or index of the list itembutton
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).public void doubleClickItem(String itemText, int button, Point position)
itemText
- the name or index of the list itembutton
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the double-clicked position within the list. (default: center of the list item)public void doubleClickItem(String itemText, int button, Point position, ModifierKey modifiers)
itemText
- the name or index of the list itembutton
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the double-clicked position within the list. (default: center of the list item)modifiers
- the modifier keys (Alt, Shift and Ctrl) to press while double-clicking the list item. Default: Don't use modifier keys.public void doubleClickItem(int itemIndex)
itemIndex
- the name or index of the list itempublic void doubleClickItem(int itemIndex, int button)
itemIndex
- the name or index of the list itembutton
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).public void doubleClickItem(int itemIndex, int button, Point position)
itemIndex
- the name or index of the list itembutton
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the double-clicked position within the list. (default: center of the list item)public void doubleClickItem(int itemIndex, int button, Point position, ModifierKey modifiers)
itemIndex
- the name or index of the list itembutton
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the double-clicked position within the list. (default: center of the list item)modifiers
- the modifier keys (Alt, Shift and Ctrl) to press while double-clicking the list item. Default: Don't use modifier keys.public OracleFormsHorizontalScrollbar getHorizontalScrollbar()
getHorizontalScrollbar
in interface IOracleFormsScrollable
public OracleFormsVerticalScrollbar getVerticalScrollbar()
getVerticalScrollbar
in interface IOracleFormsScrollable
public void horizontalScrollbarPage(int pageCount)
horizontalScrollbarPage
in interface IOracleFormsScrollable
pageCount
- the number of pages to incrementpublic void horizontalScrollbarScrollTo(int position)
horizontalScrollbarScrollTo
in interface IOracleFormsScrollable
position
- the position to scroll topublic void horizontalScrollbarScrollToMax()
horizontalScrollbarScrollToMax
in interface IOracleFormsScrollable
public void horizontalScrollbarScrollToMin()
horizontalScrollbarScrollToMin
in interface IOracleFormsScrollable
public void horizontalScrollbarStep(int stepCount)
horizontalScrollbarStep
in interface IOracleFormsScrollable
stepCount
- the number of steps to incrementpublic void verticalScrollbarPage(int pageCount)
verticalScrollbarPage
in interface IOracleFormsScrollable
pageCount
- the number of pages to incrementpublic void verticalScrollbarScrollTo(int position)
verticalScrollbarScrollTo
in interface IOracleFormsScrollable
position
- the position to scroll topublic void verticalScrollbarScrollToMax()
verticalScrollbarScrollToMax
in interface IOracleFormsScrollable
public void verticalScrollbarScrollToMin()
verticalScrollbarScrollToMin
in interface IOracleFormsScrollable
public void verticalScrollbarStep(int stepCount)
verticalScrollbarStep
in interface IOracleFormsScrollable
stepCount
- the number of steps to incrementpublic int getHorizontalScrollbarPageSize()
getHorizontalScrollbarPageSize
in interface IOracleFormsScrollable
public int getHorizontalScrollbarPosition()
getHorizontalScrollbarPosition
in interface IOracleFormsScrollable
public Range getHorizontalScrollbarRange()
getHorizontalScrollbarRange
in interface IOracleFormsScrollable
public int getHorizontalScrollbarStepSize()
getHorizontalScrollbarStepSize
in interface IOracleFormsScrollable
public int getVerticalScrollbarPageSize()
getVerticalScrollbarPageSize
in interface IOracleFormsScrollable
public int getVerticalScrollbarPosition()
getVerticalScrollbarPosition
in interface IOracleFormsScrollable
public Range getVerticalScrollbarRange()
getVerticalScrollbarRange
in interface IOracleFormsScrollable
public int getVerticalScrollbarStepSize()
getVerticalScrollbarStepSize
in interface IOracleFormsScrollable
Copyright 2009-2012 Micro Focus. All Rights Reserved.