public class CheckBox extends Control
修飾子 | コンストラクタと説明 |
---|---|
protected |
CheckBox(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい CheckBox を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
check()
チェック ボックスをチェックします。
|
int |
getState()
[読み取り専用] チェック ボックスの状態。
|
boolean |
isChecked()
チェック ボックスがチェックされている場合は
true を、それ以外の場合は false を返します。 |
void |
select(int state)
チェック ボックスを選択します。
|
void |
setState(int state)
[書き込み専用] チェック ボックスの状態。
|
void |
setUndecided()
チェック ボックスを未設定の状態に設定します。
|
void |
toggle()
チェック ボックスの状態を切り替えます。
|
void |
uncheck()
チェック ボックスのチェックを外します。
|
getHorizontalBar, getVerticalBar, openContextMenu, openContextMenu
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getBackground, getFont, getForeground, getNativeHandle, isEnabled, isFocused, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setBackground, setEnabled, setFocus, setFont, setForeground, setVisible, 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 CheckBox(JtfObjectHandle handle, Desktop desktop)
handle
- CheckBox を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void check()
public boolean isChecked()
true
を、それ以外の場合は false
を返します。public void select(int state)
state
- チェック ボックスの状態。 有効な値は、1=チェックあり、2=チェックなし、3=未設定 です。public void setUndecided()
public void toggle()
public void uncheck()
public int getState()
public void setState(int state)
state
- チェック ボックスの状態。 有効な値は、1=チェックあり、2=チェックなし、3=未設定 です。Copyright 2009-2012 Micro Focus. All Rights Reserved.