public class WPFToggleButton extends WPFButtonBase
| Modifier | Constructor and Description |
|---|---|
protected |
WPFToggleButton(JtfObjectHandle handle,
Desktop desktop)
Creates a new WPFToggleButton with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
check()
Checks the button.
|
ButtonState |
getState()
Gets the state of the button.
|
boolean |
isChecked()
Gets whether the button is checked.
|
boolean |
isThreeState()
Gets whether the control supports two or three states.
|
void |
setIndeterminate()
Set the button to the indeterminate state.
|
void |
uncheck()
Unchecks the button.
|
getClickMode, selectgetContent, hasContentgetFontFamily, getFontSize, getTabIndex, isTabStopgetActualHeight, getActualWidth, getMaximumScrollPosition, getName, getScrollPosition, pointFromScreen, pointToScreen, scroll, scrollToPositionbringIntoView, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getToolTip, isEnabled, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, 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 WPFToggleButton(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the WPFToggleButtondesktop - the desktop on which this object livespublic void check()
public void setIndeterminate()
public void uncheck()
public boolean isChecked()
public boolean isThreeState()
public ButtonState getState()
Copyright 2009-2012 Micro Focus. All Rights Reserved.