public class SapHTMLViewer extends SapShell implements ISapContextMenuable
修飾子 | コンストラクタと説明 |
---|---|
protected |
SapHTMLViewer(JtfObjectHandle handle,
Desktop desktop)
JtfObjectHandle を持つ新しい SapHTMLViewer を作成します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
contextMenu()
コンテキスト メニューの要求をエミュレートします。
|
SapContextMenu |
getCurrentContextMenu()
[読み取り専用] 現在のコンテキスト メニュー。
|
int |
getWindowHandle()
[読み取り専用] GuiShell に接続しているコントロールのウィンドウ ハンドル。
|
boolean |
isDocumentComplete()
[読み取り専用] ドキュメントが完全かどうか。
|
void |
sapEvent(String frameName,
String postData,
String url)
この関数は HTML フォームをバックエンドに送信します。
|
void |
selectContextMenuItem(String functionCode)
コントロールのコンテキスト メニューから項目を選択します。
|
void |
selectContextMenuItemByPosition(String positionDescription)
このメソッドは項目の位置を利用してコンテキスト メニュー項目を選択できます。
|
void |
selectContextMenuItemByText(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 SapHTMLViewer(JtfObjectHandle handle, Desktop desktop)
handle
- SapHTMLViewer を識別するハンドルdesktop
- このオブジェクトが存在するデスクトップpublic void contextMenu()
public void sapEvent(String frameName, String postData, String url)
frameName
- 送信される HTML フォームが存在するフレームの名前postData
- POST メソッドを使用して送信が行われる際のフォーム データurl
- バックエンドに送信される URL。 URL 文字列のプロトコル名は "sapevent:" です。 この後に、呼び出される HTML フォームの action プロパティで定義されるイベント名が続きます。public void selectContextMenuItem(String functionCode)
selectContextMenuItem
インタフェース内 ISapContextMenuable
functionCode
- 機能コードpublic void selectContextMenuItemByPosition(String positionDescription)
selectContextMenuItemByPosition
インタフェース内 ISapContextMenuable
positionDescription
- 項目へのパスを含んだ文字列。 コンテキスト メニュー項目がトップ レベル メニューにある場合には、単に項目の 0 を基準としたインデックスになります。 それ以外の場合には、メニューおよび個々のサブメニューの位置を "|" で区切って指定します。public void selectContextMenuItemByText(String text)
selectContextMenuItemByText
インタフェース内 ISapContextMenuable
text
- メニュー項目のテキストpublic SapContextMenu getCurrentContextMenu()
public boolean isDocumentComplete()
public int getWindowHandle()
Copyright 2009-2012 Micro Focus. All Rights Reserved.