public class FlexPopUpButton extends FlexButton
A PopUpButton control can have a text label, an icon, or both on its face. When a user clicks the main part of the PopUpButton control, it dispatches a click event.
One common use for the PopUpButton control is to have the pop-up button open a List control or a Menu control that changes the function and label of the main button.
| Modifier | Constructor and Description |
|---|---|
protected |
FlexPopUpButton(JtfObjectHandle handle,
Desktop desktop)
Creates a new FlexPopUpButton with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Dispatched when the specified UIComponent closes.
|
void |
close(FlexTriggerEvent triggerEvent)
Dispatched when the specified UIComponent closes.
|
void |
open()
Dispatched when the specified UIComponent opens.
|
void |
open(FlexTriggerEvent triggerEvent)
Dispatched when the specified UIComponent opens.
|
getColor, getDisabledColor, getFillAlphas, getFillColors, getFocusAlpha, getFontFamily, getFontSize, getFontStyle, getFontWeight, getLabel, getLabelPlacement, getTextAlign, getTextDecoration, getTextIndent, getTextRollOverColor, getTextSelectedColor, isSelected, isToggle, type, typechangeFocus, changeFocus, changeFocus, getAutomationClassName, getAutomationIndex, getAutomationName, getClassName, getCurrentState, getErrorColor, getErrorString, getId, getNumAutomationChildren, getPercentHeight, getPercentWidth, getScaleX, getScaleY, getThemeColor, getToolTip, isEnabled, isFocusEnabled, isUseHandCursor, move, move, move, setFocusclick, 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, 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 FlexPopUpButton(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the FlexPopUpButtondesktop - the desktop on which this object livespublic void close()
The DropdownEvent.CLOSE constant defines the value of the type property of the event object for a close event.
public void close(FlexTriggerEvent triggerEvent)
The DropdownEvent.CLOSE constant defines the value of the type property of the event object for a close event.
triggerEvent - a value indicating the type of input action that triggered the eventpublic void open()
The DropdownEvent.OPEN constant defines the value of the type property of the event object for a open event.
public void open(FlexTriggerEvent triggerEvent)
The DropdownEvent.OPEN constant defines the value of the type property of the event object for a open event.
triggerEvent - a value indicating the type of input action that triggered the eventCopyright 2009-2012 Micro Focus. All Rights Reserved.