public class WPFRichTextBox extends WPFTextBoxBase
修飾子 | コンストラクタと説明 |
---|---|
protected |
WPFRichTextBox(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい WPFRichTextBox を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
clear()
RichTextBox のすべてのコンテンツをクリアします。
|
int |
getCaretIndex()
[読み取り専用] キャレットの挿入位置インデックス。
|
String |
getSelectedText()
[読み取り専用] テキスト ボックス内の現在の選択の内容。
|
int |
getSelectionLength()
[読み取り専用] テキスト ボックス内の現在の選択範囲の文字数。
|
int |
getSelectionStart()
[読み取り専用] 現在の選択範囲の開始位置の文字インデックス。
|
void |
select(int start,
int length)
テキスト ボックス内のテキストの範囲を選択します。
|
void |
setText(String text)
テキストを設定します。
|
appendText, canRedo, canUndo, copy, cut, getHorizontalScrollBarVisibility, getText, getVerticalScrollBarVisibility, isAcceptsReturn, isAcceptsTab, isAutoWordSelection, isReadOnly, isSpellCheckEnabled, isUndoEnabled, paste, redo, selectAll, undo
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 WPFRichTextBox(JtfObjectHandle handle, Desktop desktop)
handle
- WPFRichTextBox を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void clear()
public void select(int start, int length)
start
- 選択範囲の開始位置length
- 開始位置から選択する文字数public void setText(String text)
text
- 設定するテキストpublic int getCaretIndex()
public String getSelectedText()
public int getSelectionLength()
public int getSelectionStart()
Copyright 2009-2012 Micro Focus. All Rights Reserved.