public class SapBarChart extends SapShell implements ISapContextMenuable
Modifier | Constructor and Description |
---|---|
protected |
SapBarChart(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 SapBarChart。
|
Modifier and Type | Method and Description |
---|---|
int |
barCount(int chartId)
返回指定图表中栏的数量。
|
String |
getAccessibilityDescription()
获取 外壳的可访问性说明。
|
String |
getBarContent(int chartId,
int barId,
int textId)
返回栏的内容。
|
int |
getChartCount()
获取 图表的数量。
|
SapContextMenu |
getCurrentContextMenu()
获取 当前上下文菜单。
|
String |
getGridLineContent(int chartId,
int gridLineId,
int textId)
返回网格线的内容。
|
int |
getWindowHandle()
获取 与 GuiShell 连接的控件的窗口句柄。
|
int |
gridCount(int chartId)
返回图表中网格的数量。
|
int |
linkCount(int chartId)
返回指定图表中链接的数量。
|
void |
selectContextMenuItem(String functionCode)
选择控件上下文菜单中的项目。
|
void |
selectContextMenuItemByPosition(String positionDescription)
利用此方法可通过项目位置选择上下文菜单项目。
|
void |
selectContextMenuItemByText(String text)
使用项目文本和可能的更高层菜单选择上下文菜单的菜单项目。
|
void |
sendData(String data)
发送数据至服务器。
|
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 SapBarChart(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 SapBarChart 的句柄desktop
- 此对象所在的桌面public int barCount(int chartId)
chartId
- 图表的索引public String getBarContent(int chartId, int barId, int textId)
chartId
- 图表的索引barId
- 指定图表内栏的索引textId
- 文本 idpublic String getGridLineContent(int chartId, int gridLineId, int textId)
chartId
- 图表的索引gridLineId
- 指定图表内网格线的索引textId
- 文本 idpublic int gridCount(int chartId)
chartId
- 图表的索引public int linkCount(int chartId)
chartId
- 图表的索引public void selectContextMenuItem(String functionCode)
selectContextMenuItem
in interface ISapContextMenuable
functionCode
- 函数代码public void selectContextMenuItemByPosition(String positionDescription)
selectContextMenuItemByPosition
in interface ISapContextMenuable
positionDescription
- 包含项目路径的字符串。如果上下文菜单项目在顶层菜单中,则这仅是项目的零基索引。否则,菜单中的位置和各自子菜单应用“|”分隔串联。public void selectContextMenuItemByText(String text)
selectContextMenuItemByText
in interface ISapContextMenuable
text
- 菜单项目文本public void sendData(String data)
data
- 可被发送的数据public String getAccessibilityDescription()
public int getChartCount()
public SapContextMenu getCurrentContextMenu()
public int getWindowHandle()
Copyright 2009-2012 Micro Focus. All Rights Reserved.