public class WPFTextBox extends WPFTextBoxBase
修飾子 | コンストラクタと説明 |
---|---|
protected |
WPFTextBox(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい WPFTextBox を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
clear()
テキスト ボックスのすべてのコンテンツをクリアします。
|
int |
getCaretIndex()
[読み取り専用] キャレットの挿入位置インデックス。
|
CharacterCasing |
getCharacterCasing()
[読み取り専用] テキスト ボックスに手動で文字を入力した場合に大文字で入力されるか小文字で入力されるか。
|
int |
getCharacterIndexFromLineIndex(int lineIndex)
指定した行の最初の文字を示す 0 を基準としたインデックス値を返します。
|
int |
getFirstVisibleLineIndex()
現在テキスト ボックスに表示されている最初の行に対応する行インデックスを返します。
|
int |
getLastVisibleLineIndex()
現在テキスト ボックスに表示されている最後の行に対応する行インデックスを返します。
|
int |
getLineCount()
[読み取り専用] テキスト ボックス内の行の合計数。
|
int |
getLineIndexFromCharacterIndex(int charIndex)
指定された文字インデックスが含まれている行に対応する、0 を基準とした行インデックスを返します。
|
int |
getLineLength(int lineIndex)
指定した行の文字の数を返します。
|
String |
getLineText(int lineIndex)
指定した行に現在表示されているテキストを返します。
|
int |
getMaxLength()
[読み取り専用] テキスト ボックスに手動で入力できる最大文字数。
|
int |
getMaxLines()
[読み取り専用] 表示行の最大数。
|
int |
getMinLines()
[読み取り専用] 表示行の最小数。
|
String |
getSelectedText()
[読み取り専用] テキスト ボックス内の現在の選択の内容。
|
int |
getSelectionLength()
[読み取り専用] テキスト ボックス内の現在の選択範囲の文字数。
|
int |
getSelectionStart()
[読み取り専用] 現在の選択範囲の開始位置の文字インデックス。
|
TextAlignment |
getTextAlignment()
[読み取り専用] テキスト ボックスのコンテンツの水平方向の配置を示す値。
|
TextWrapping |
getTextWrapping()
[読み取り専用] テキスト ボックスのテキスト折り返し方法を示す値。
|
void |
scrollToLine(int lineIndex)
指定された行インデックス位置の行が表示されるまでスクロールします。
|
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 WPFTextBox(JtfObjectHandle handle, Desktop desktop)
handle
- WPFTextBox を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void clear()
public int getCharacterIndexFromLineIndex(int lineIndex)
lineIndex
- 最初の文字を取得するための行の 0 を基準としたインデックスpublic int getFirstVisibleLineIndex()
public int getLastVisibleLineIndex()
public int getLineIndexFromCharacterIndex(int charIndex)
charIndex
- 関連付けられた行インデックスを取得するための 0 を基準とした文字インデックスpublic int getLineLength(int lineIndex)
lineIndex
- 文字数を返すための 0 を基準とした行インデックスpublic String getLineText(int lineIndex)
lineIndex
- 現在表示されているテキストを取得するための 0 を基準とした行インデックスpublic void scrollToLine(int lineIndex)
lineIndex
- 表示されるまでスクロールする行の 0 を基準とした行インデックスpublic void select(int start, int length)
start
- 選択範囲の最初の文字を示す 0 を基準としたインデックスlength
- 選択範囲の長さ (文字単位)public void setText(String text)
text
- 設定するテキストpublic int getCaretIndex()
public CharacterCasing getCharacterCasing()
public int getLineCount()
public int getMaxLength()
public int getMaxLines()
public int getMinLines()
public String getSelectedText()
public int getSelectionLength()
public int getSelectionStart()
public TextAlignment getTextAlignment()
public TextWrapping getTextWrapping()
Copyright 2009-2012 Micro Focus. All Rights Reserved.