public class SapTextEdit extends SapShell
修飾子 | コンストラクタと説明 |
---|---|
protected |
SapTextEdit(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい SapTextEdit を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
contextMenu()
コンテキスト メニューを要求します。
|
void |
doubleClick()
テキスト編集コントロールをダブルクリックします。
|
int |
getCurrentColumn()
[読み取り専用] 現在キャレットがある列のインデックス。.
|
SapContextMenu |
getCurrentContextMenu()
[読み取り専用] 現在のコンテキスト メニュー。
|
int |
getCurrentLine()
[読み取り専用] 現在キャレットがある行のインデックス。.
|
int |
getFirstVisibleLine()
[読み取り専用] テキスト編集コントロールの上端に表示されている最初の可視な行。.
|
int |
getLastVisibleLine()
[読み取り専用] テキスト編集コントロールの下端に表示されている最後の可視な行。.
|
int |
getLineCount()
[読み取り専用] テキスト編集コントロールのすべての行の数。
|
String |
getLineText(int line)
指定した行のテキストを返します。
|
String |
getSelectedText()
[読み取り専用] 現在選択されているテキスト。
|
int |
getSelectionEndColumn()
[読み取り専用] 選択範囲の終了点の列インデックス。.
|
int |
getSelectionEndLine()
[読み取り専用] 選択範囲の終了点の行インデックス。.
|
int |
getSelectionIndexEnd()
[読み取り専用] テキストの選択範囲全体の終了インデックス。.
|
int |
getSelectionIndexStart()
[読み取り専用] テキストの選択範囲全体の開始インデックス。.
|
int |
getSelectionStartColumn()
[読み取り専用] テキストの選択範囲の列の開始インデックス。.
|
int |
getSelectionStartLine()
[読み取り専用] 選択範囲の開始点の行インデックス。.
|
boolean |
isBreakpointLine(int line)
指定した行にブレークポイントが含まれているかどうかを取得します。
|
boolean |
isCommentLine(int line)
指定した行がコメント行である場合に true を返します。
|
boolean |
isHighlightedLine(int line)
指定した行がハイライトされている場合に true を返します。
|
boolean |
isProtectedLine(int line)
指定した行が保護されている場合に true を返します。
|
void |
pressF1()
F1 キーを押します。
|
void |
pressF4()
F4 キーを押します。
|
void |
setSelectionIndexes(int start,
int end)
指定した範囲のテキストを選択します。
|
void |
setText(String text)
テキスト編集コントロールに指定したテキストを設定します。
|
isDragDropSupported
getAccessibilityText, getAccessibilityTextOnRequest, getAccessibilityTooltip, getDefaultTooltip, getHeight, getIconName, getLeft, getName, getScreenLeft, getScreenTop, getTooltip, getTop, getWidth, isChangeable, isFocused, isModified, isSymbolFont, setFocus, showContextMenu
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, 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 SapTextEdit(JtfObjectHandle handle, Desktop desktop)
handle
- SapTextEdit を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void contextMenu()
public void doubleClick()
public String getLineText(int line)
line
- 行のインデックス. The value is zero-based.public boolean isBreakpointLine(int line)
line
- 行のインデックス. The value is zero-based.public boolean isCommentLine(int line)
line
- 行のインデックス. The value is zero-based.public boolean isHighlightedLine(int line)
line
- 行のインデックス. The value is zero-based.public boolean isProtectedLine(int line)
line
- 行のインデックス. The value is zero-based.public void pressF1()
public void pressF4()
public void setSelectionIndexes(int start, int end)
start
- 開始インデックス(含む). The value is zero-based.end
- 終了インデックス(含まない). The value is zero-based.public void setText(String text)
text
- テキストpublic int getCurrentColumn()
public SapContextMenu getCurrentContextMenu()
public int getCurrentLine()
public int getFirstVisibleLine()
public int getLastVisibleLine()
public int getLineCount()
public String getSelectedText()
public int getSelectionEndColumn()
public int getSelectionEndLine()
public int getSelectionIndexEnd()
public int getSelectionIndexStart()
public int getSelectionStartColumn()
public int getSelectionStartLine()
Copyright 2009-2012 Micro Focus. All Rights Reserved.