public class Spinner extends Control
Modifier | Constructor and Description |
---|---|
protected |
Spinner(JtfObjectHandle handle,
Desktop desktop)
Creates a new Spinner with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
void |
decrement()
Decreases the value when the spinner controls are pressed.
|
void |
decrement(int value)
Decreases the value when the spinner controls are pressed.
|
int |
getIncrementCount()
Gets the amount to increase the position value of the spinner control after pressing it.
|
int |
getPageSize()
Gets the internal page size of the spinner control.
|
int |
getPosition()
Gets the position for the up/down control.
|
Range |
getRange()
Gets the range of the spinner control.
|
void |
increment()
Increases the value when the spinner controls are pressed.
|
void |
increment(int value)
Increases the value when the spinner controls are pressed.
|
void |
pageDecrement()
Decreases the value when the page spinner controls are pressed.
|
void |
pageDecrement(int value)
Decreases the value when the page spinner controls are pressed.
|
void |
pageIncrement()
Increases the value when the page spinner controls are pressed.
|
void |
pageIncrement(int value)
Increases the value when the page spinner controls are pressed.
|
void |
setIncrementCount(int incrementCount)
Sets the amount to increase the position value of the spinner control after pressing it.
|
void |
setPageSize(int pageSize)
Sets the internal page size of the spinner control.
|
void |
setPosition(int position)
Sets the position for the up/down control.
|
void |
setRange(Range range)
Sets the range of the spinner control.
|
void |
setValue(int value)
Sets the value for the spinner control.
|
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 Spinner(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the Spinnerdesktop
- the desktop on which this object livespublic void decrement()
public void decrement(int value)
value
- the amount to decrement. The default value is '1'.public void increment()
public void increment(int value)
value
- the amount to increment. The default value is '1'.public void pageDecrement()
public void pageDecrement(int value)
value
- the page amount to decrement. The default value is '1'.public void pageIncrement()
public void pageIncrement(int value)
value
- the page amount to increment. The default value is '1'.public void setValue(int value)
value
- the new valuepublic int getIncrementCount()
public void setIncrementCount(int incrementCount)
incrementCount
- the amount to increase the position value of the spinner control after pressing itpublic int getPageSize()
public void setPageSize(int pageSize)
pageSize
- the internal page size of the spinner controlpublic 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 spinner controlCopyright 2009-2012 Micro Focus. All Rights Reserved.