public class WPFTextBoxBase extends WPFControl
Modifier | Constructor and Description |
---|---|
protected |
WPFTextBoxBase(JtfObjectHandle handle,
Desktop desktop)
Creates a new WPFTextBoxBase with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
void |
appendText(String textData)
Appends a string to the contents of a text control.
|
boolean |
canRedo()
Gets a value that indicates whether the most recent undo action can be redone.
|
boolean |
canUndo()
Gets a value that indicates whether the most recent action can be undone.
|
void |
copy()
Copies the current selection of the text editing control to the Clipboard.
|
void |
cut()
Removes the current selection from the text editing control and copies it to the Clipboard.
|
ScrollBarVisibility |
getHorizontalScrollBarVisibility()
Gets a value that indicates whether a horizontal scroll bar is shown.
|
String |
getText()
Gets the text that is displayed in the text control.
|
ScrollBarVisibility |
getVerticalScrollBarVisibility()
Gets a value that indicates whether a vertical scroll bar is shown.
|
boolean |
isAcceptsReturn()
Gets a value that indicates how the text editing control responds when the user presses the ENTER key.
|
boolean |
isAcceptsTab()
Gets a value that indicates how the text editing control responds when the user presses the TAB key.
|
boolean |
isAutoWordSelection()
Gets a value that determines if a user selects part of a word by dragging across it with the mouse, whether the rest of the word is selected.
|
boolean |
isReadOnly()
Gets a value that indicates whether the text editing control is read-only to a user interacting with the control.
|
boolean |
isSpellCheckEnabled()
Gets whether spell checking is enabled.
|
boolean |
isUndoEnabled()
Gets a value that indicates whether undo support is enabled for the text-editing control.
|
void |
paste()
Pastes the contents of the Clipboard over the current selection in the text editing control.
|
boolean |
redo()
Undoes the most recent undo command.
|
void |
selectAll()
Selects the entire contents of the text editing control.
|
boolean |
undo()
Undoes the most recent undo command.
|
getFontFamily, getFontSize, getTabIndex, isTabStop
getActualHeight, getActualWidth, getMaximumScrollPosition, getName, getScrollPosition, pointFromScreen, pointToScreen, scroll, scrollToPosition
bringIntoView, 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, 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 WPFTextBoxBase(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the WPFTextBoxBasedesktop
- the desktop on which this object livespublic void appendText(String textData)
textData
- a string that specifies the text to append to the current contents of the text controlpublic void copy()
public void cut()
public void paste()
public boolean redo()
public void selectAll()
public boolean undo()
public boolean isAcceptsReturn()
public boolean isAcceptsTab()
public boolean isAutoWordSelection()
public boolean canRedo()
public boolean canUndo()
public ScrollBarVisibility getHorizontalScrollBarVisibility()
public boolean isReadOnly()
public boolean isSpellCheckEnabled()
public boolean isUndoEnabled()
public String getText()
getText
in class TestObject
public ScrollBarVisibility getVerticalScrollBarVisibility()
Copyright 2009-2012 Micro Focus. All Rights Reserved.