public class AWTTextArea extends AWTTextComponent implements IAWTScrollable
修飾子 | コンストラクタと説明 |
---|---|
protected |
AWTTextArea(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい AWTTextArea を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
int |
getColumns()
[読み取り専用] テキスト領域の列の数。.
|
AWTHorizontalScrollbar |
getHorizontalBar()
水平方向のスクロール バーを取得します。
|
Point |
getPosition()
[読み取り専用] スクロール可能コンポーネントの現在のスクロール位置。
|
int |
getRows()
[読み取り専用] テキスト領域の行の数。.
|
AWTVerticalScrollbar |
getVerticalBar()
垂直方向のスクロール バーを取得します。
|
void |
insert(String text,
int pos)
指定したテキストを指定した位置に挿入します。
|
void |
replaceRange(String text,
int start,
int end)
指定した開始位置と終了位置の間にあるテキストを、指定した置換テキストで置き換えます。
|
void |
scrollTo(Point position)
指定した位置にスクロールします。
|
clear, getCaretPosition, getSelectedText, getSelectionEnd, getSelectionStart, getText, isEditable, selectAll, setCaretPosition, setSelectionRange, setText
click, 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, 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 AWTTextArea(JtfObjectHandle handle, Desktop desktop)
handle
- AWTTextArea を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic AWTHorizontalScrollbar getHorizontalBar()
getHorizontalBar
インタフェース内 IAWTScrollable
public AWTVerticalScrollbar getVerticalBar()
getVerticalBar
インタフェース内 IAWTScrollable
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 void scrollTo(Point position)
scrollTo
インタフェース内 IBaseScrollable
position
- スクロールする位置public int getColumns()
public Point getPosition()
getPosition
インタフェース内 IBaseScrollable
public int getRows()
Copyright 2009-2012 Micro Focus. All Rights Reserved.