public class FlexComboBox extends FlexComboBase
The ComboBox can be editable, in which case the user can type entries into the TextInput portion of the ComboBox that are not in the list.
Modifier | Constructor and Description |
---|---|
protected |
FlexComboBox(JtfObjectHandle handle,
Desktop desktop)
Creates a new FlexComboBox with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
List<Color> |
getAlternatingItemColors()
Gets the set of BackgroundColors for drop-down list rows in an alternating pattern.
|
List<String> |
getColumnNames()
Gets a list containing the names of all columns in the data.
|
int |
getFirstVisibleRow()
Gets the index of the first visible child.
|
int |
getLastVisibleRow()
Gets the index of the last visible child.
|
int |
getNumColumns()
Gets the total number of columns in the data available.
|
int |
getNumRows()
Gets the total number of rows of data available.
|
Color |
getRollOverColor()
Gets the rollOverColor of the drop-down list.
|
Color |
getSelectionColor()
Gets the selectionColor of the drop-down list.
|
List<List<String>> |
getValues(int start,
int end)
Returns a matrix containing the automation values of all parts of the components.
|
void |
select(String itemRenderer)
Defines the value of the type property of the event object for an event that is dispatched when a single item is selected.
|
void |
select(String itemRenderer,
FlexTriggerEvent triggerEvent)
Defines the value of the type property of the event object for an event that is dispatched when a single item is selected.
|
void |
select(String itemRenderer,
FlexTriggerEvent triggerEvent,
ModifierKey keyModifier)
Defines the value of the type property of the event object for an event that is dispatched when a single item is selected.
|
void |
selectIndex(int itemIndex)
Defines the value of the type property of the event object for an event that is dispatched when a single item is selected.
|
void |
selectIndex(int itemIndex,
FlexTriggerEvent triggerEvent)
Defines the value of the type property of the event object for an event that is dispatched when a single item is selected.
|
void |
selectIndex(int itemIndex,
FlexTriggerEvent triggerEvent,
ModifierKey keyModifier)
Defines the value of the type property of the event object for an event that is dispatched when a single item is selected.
|
close, close, getBackgroundAlpha, getBackgroundColor, getBackgroundImage, getBackgroundSize, getColor, getDisabledColor, getFillAlphas, getFillColors, getFontFamily, getFontSize, getFontStyle, getFontWeight, getHighlightColor, getRestrict, getSelectedIndex, getText, getTextAlign, getTextDecoration, getTextIndent, input, isDropShadowEnabled, isEditable, open, open, scroll, selectText, type, type
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, 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 FlexComboBox(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the FlexComboBoxdesktop
- the desktop on which this object livespublic List<List<String>> getValues(int start, int end)
The return value is an array of rows, each of which is an array of items.
start
- the index of the starting child. The default value is 0.end
- the index of the ending child. The default value is 0.public void select(String itemRenderer)
itemRenderer
- the item renderer object for the itempublic void select(String itemRenderer, FlexTriggerEvent triggerEvent)
itemRenderer
- the item renderer object for the itemtriggerEvent
- the event, such as a mouse or keyboard event, that triggered the actionpublic void select(String itemRenderer, FlexTriggerEvent triggerEvent, ModifierKey keyModifier)
itemRenderer
- the item renderer object for the itemtriggerEvent
- the event, such as a mouse or keyboard event, that triggered the actionkeyModifier
- the key modifiers (for example, the Ctrl key) to usepublic void selectIndex(int itemIndex)
itemIndex
- the data provider index of the item to be selectedpublic void selectIndex(int itemIndex, FlexTriggerEvent triggerEvent)
itemIndex
- the data provider index of the item to be selectedtriggerEvent
- the event, such as a mouse or keyboard event, that triggered the actionpublic void selectIndex(int itemIndex, FlexTriggerEvent triggerEvent, ModifierKey keyModifier)
itemIndex
- the data provider index of the item to be selectedtriggerEvent
- the event, such as a mouse or keyboard event, that triggered the actionkeyModifier
- the key modifiers (for example, the Ctrl key) to usepublic List<Color> getAlternatingItemColors()
Value can be an Array of two of more colors. If undefined then the rows will use the drop-down list's backgroundColor style. The default value is undefined.
public List<String> getColumnNames()
public int getFirstVisibleRow()
public int getLastVisibleRow()
public int getNumColumns()
public int getNumRows()
public Color getRollOverColor()
public Color getSelectionColor()
Copyright 2009-2012 Micro Focus. All Rights Reserved.