public class SparkComboBox extends SparkDropDownListBase
Modifier | Constructor and Description |
---|---|
protected |
SparkComboBox(JtfObjectHandle handle,
Desktop desktop)
Creates a new SparkComboBox with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxChars()
Gets the maximum number of characters that the prompt area can contain, as entered by a user.
|
String |
getRestrict()
Gets the set of characters that a user can enter into the prompt area.
|
void |
input(String text)
Dispatched when the user types, deletes, or pastes text into the control.
|
void |
selectText(int beginIndex,
int endIndex)
Dispatched when text is selected.
|
isDropDownOpen, open, open
getSelectedIndices, getSelectedItems, isAllowMultipleSelection, isDragEnabled, isDragMoveEnabled, isDropEnabled, selectIndex, selectIndex, selectIndex
getCaretIndex, getItemsCount, getLabelField, getSelectedIndex, getSelectedItem, isRequireSelection, isUseVirtualLayout, select, select, select, type, type
isAutoLayout
dragCancel, dragCancel, dragDrop, dragDrop, dragDrop, dragStart, dragStart, getColumnNames, getFirstVisibleRow, getLastVisibleRow, getNumColumns, getNumRows, getValues
changeFocus, changeFocus, changeFocus, getAutomationClassName, getAutomationIndex, getAutomationName, getClassName, getCurrentState, getErrorColor, getErrorString, getId, getNumAutomationChildren, getPercentHeight, getPercentWidth, getScaleX, getScaleY, getThemeColor, getToolTip, isEnabled, isFocusEnabled, isUseHandCursor, move, move, move, setFocus
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAlpha, getHeight, getStyle, getTabIndex, getWidth, getX, getY, isMouseEnabled, isTabChildren, isTabEnabled, isVisible, mouseMove, mouseMove, nativeToString, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, 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 SparkComboBox(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the SparkComboBoxdesktop
- the desktop on which this object livespublic void input(String text)
text
- the character or sequence of characters entered by the userpublic void selectText(int beginIndex, int endIndex)
beginIndex
- the index of the first character in the selectionendIndex
- the index of the last character in the selectionpublic int getMaxChars()
public String getRestrict()
Copyright 2009-2012 Micro Focus. All Rights Reserved.