public class FlexPopUpButton extends FlexButton
PopUpButton コントロールには、テキスト ラベル、アイコンのいずれか、または両方を表示できます。 PopUpButton コントロールのメイン ボタンをユーザーがクリックすると、click イベントがディスパッチされます。
PopUpButton コントロールの一般的な使用法の 1 つとして、ポップアップ ボタンで、メイン ボタンの機能やラベルを変更する List コントロールや Menu コントロールを開くことが挙げられます。
修飾子 | コンストラクタと説明 |
---|---|
protected |
FlexPopUpButton(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい FlexPopUpButton を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
close()
指定した UIComponent が閉じるときにディスパッチされます。
|
void |
close(FlexTriggerEvent triggerEvent)
指定した UIComponent が閉じるときにディスパッチされます。
|
void |
open()
指定した UIComponent が開くときにディスパッチされます。
|
void |
open(FlexTriggerEvent triggerEvent)
指定した UIComponent が開くときにディスパッチされます。
|
getColor, getDisabledColor, getFillAlphas, getFillColors, getFocusAlpha, getFontFamily, getFontSize, getFontStyle, getFontWeight, getLabel, getLabelPlacement, getTextAlign, getTextDecoration, getTextIndent, getTextRollOverColor, getTextSelectedColor, isSelected, isToggle, 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, 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 FlexPopUpButton(JtfObjectHandle handle, Desktop desktop)
handle
- FlexPopUpButton を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void close()
DropdownEvent.CLOSE 定数は、close イベントのイベント オブジェクトの type プロパティの値を定義します。
public void close(FlexTriggerEvent triggerEvent)
DropdownEvent.CLOSE 定数は、close イベントのイベント オブジェクトの type プロパティの値を定義します。
triggerEvent
- イベントがトリガされた入力アクションの種類を示す値public void open()
DropdownEvent.OPEN 定数は、open イベントのイベント オブジェクトの type プロパティの値を定義します。
public void open(FlexTriggerEvent triggerEvent)
DropdownEvent.OPEN 定数は、open イベントのイベント オブジェクトの type プロパティの値を定義します。
triggerEvent
- イベントがトリガされた入力アクションの種類を示す値Copyright 2009-2012 Micro Focus. All Rights Reserved.