public class JTextArea extends JTextComponent
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
JTextArea(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい JTextArea を作成します。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getColumns()
[読み取り専用] テキスト領域の列の数。.
|
int |
getRows()
[読み取り専用] テキスト領域の行の数。.
|
void |
insert(String text,
int pos)
指定したテキストを指定した位置に挿入します。
|
void |
replaceRange(String text,
int start,
int end)
指定した範囲内のテキストを指定した新しいテキストで置き換えます。
|
clear, getCaretPosition, getSelectedText, getSelectionEnd, getSelectionStart, getText, isEditable, selectAll, setCaretPosition, setSelectionRange, setTextgetToolTipTextclick, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAccessibleName, getAccessibleRole, getBackground, getCursor, getFont, getForeground, getHeight, getName, getNativeHandle, getWidth, isEnabled, isFocusable, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, scrollIntoView, setFocus, 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 JTextArea(JtfObjectHandle handle, Desktop desktop)
handle - JTextArea を識別するハンドルdesktop - このオブジェクトが存在するデスクトップpublic void insert(String text, int pos)
text - 挿入するテキストpos - テキストを挿入する位置。. The value is zero-based.public void replaceRange(String text, int start, int end)
text - 置換するのに使用するテキストstart - 開始位置。. The value is zero-based.end - 終了位置。. The value is zero-based.public int getColumns()
public int getRows()
Copyright 2009-2012 Micro Focus. All Rights Reserved.