public class FlexAlert extends FlexPanel
Alert コントロールはモーダルです。これは、ユーザーが閉じるまでフォーカスを保持することを意味します。
修飾子 | コンストラクタと説明 |
---|---|
protected |
FlexAlert(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい FlexAlert を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
double |
getDefaultButtonFlag()
[読み取り専用] デフォルト ボタンを指定する Alert.OK、Alert.CANCEL、Alert.YES または Alert.NO を含むビット フラグ。
|
String |
getText()
[読み取り専用] この警告ダイアログ ボックスに表示するテキスト。
|
void |
type(String keyCode)
ユーザーがキーを押したときにディスパッチされます。
|
void |
type(String keyCode,
ModifierKey keyModifier)
ユーザーがキーを押したときにディスパッチされます。
|
getFooterColors, getHeaderColors, getHeaderHeight, getStatus, getTitle, isDropShadowEnabled
dragCancel, dragCancel, dragDrop, dragDrop, dragDrop, dragStart, dragStart, getBackgroundAlpha, getBackgroundColor, getBackgroundDisabledColor, getBackgroundImage, getBackgroundSize, getColumnNames, getCreationIndex, getCreationPolicy, getFillAlphas, getFillColors, getFirstVisibleRow, getFontFamily, getFontSize, getFontStyle, getFontWeight, getLabel, getLastVisibleRow, getNumChildren, getNumColumns, getNumRows, getValues, mouseScroll, mouseScroll, scroll
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 FlexAlert(JtfObjectHandle handle, Desktop desktop)
handle
- FlexAlert を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void type(String keyCode)
keyCode
- 押したり離したりするキーのキー コード値public void type(String keyCode, ModifierKey keyModifier)
keyCode
- 押したり離したりするキーのキー コード値keyModifier
- 使用されるキー修飾(Ctrl キーなど)public double getDefaultButtonFlag()
public String getText()
getText
クラス内 TestObject
Copyright 2009-2012 Micro Focus. All Rights Reserved.