public class UpDown extends Control
| Modifier | Constructor and Description |
|---|---|
protected |
UpDown(JtfObjectHandle handle,
Desktop desktop)
Creates a new UpDown with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decrement()
Decreases the position value of the up/down control.
|
void |
decrement(int amount)
Decreases the position value of the up/down control.
|
int |
getPosition()
Gets the position for the up/down control.
|
Range |
getRange()
Gets the range of the up/down control.
|
void |
increment()
Increases the position value of the up/down control.
|
void |
increment(int amount)
Increases the position value of the up/down control.
|
boolean |
isHorizontal()
Gets whether the up/down control is horizontal.
|
boolean |
isWrapAround()
Gets whether values are wrapped if smaller than minimum or larger than maximum.
|
void |
setPosition(int position)
Sets the position for the up/down control.
|
void |
setRange(Range range)
Sets the range of the up/down control.
|
getHorizontalBar, getVerticalBar, openContextMenu, openContextMenuclick, 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, typePasswordKeyscaptureBitmap, 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, 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 UpDown(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the UpDowndesktop - the desktop on which this object livespublic void decrement()
public void decrement(int amount)
amount - the amount to decrement. The default value is '1'.public void increment()
public void increment(int amount)
amount - the amount to increment. The default value is '1'.public boolean isHorizontal()
public int getPosition()
public void setPosition(int position)
position - the position for the up/down controlpublic Range getRange()
public void setRange(Range range)
range - the range of the up/down controlpublic boolean isWrapAround()
Copyright 2009-2012 Micro Focus. All Rights Reserved.