public class SapBarChart extends SapShell implements ISapContextMenuable
| Modifier | Constructor and Description |
|---|---|
protected |
SapBarChart(JtfObjectHandle handle,
Desktop desktop)
Creates a new SapBarChart with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
int |
barCount(int chartId)
Returns the number of bars in the given chart.
|
String |
getAccessibilityDescription()
Gets the accessibility description of the shell.
|
String |
getBarContent(int chartId,
int barId,
int textId)
Returns the content of the bar.
|
int |
getChartCount()
Gets the number of charts.
|
SapContextMenu |
getCurrentContextMenu()
Gets the current context menu.
|
String |
getGridLineContent(int chartId,
int gridLineId,
int textId)
Returns the content of the grid line.
|
int |
getWindowHandle()
Gets the window handle of the control that is connected to the GuiShell.
|
int |
gridCount(int chartId)
Returns the number of grids within the chart.
|
int |
linkCount(int chartId)
Returns the number of links within the given chart.
|
void |
selectContextMenuItem(String functionCode)
Select an item from the controls context menu.
|
void |
selectContextMenuItemByPosition(String positionDescription)
This method allows you to select a context menu item using the position of the item.
|
void |
selectContextMenuItemByText(String text)
Select a menu item of a context menu using the text of the item and possible higher level menus.
|
void |
sendData(String data)
Send data to the server.
|
isDragDropSupportedgetAccessibilityText, getAccessibilityTextOnRequest, getAccessibilityTooltip, getDefaultTooltip, getHeight, getIconName, getLeft, getName, getScreenLeft, getScreenTop, getTooltip, getTop, getWidth, isChangeable, isFocused, isModified, isSymbolFont, setFocus, showContextMenucaptureBitmap, 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, 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 SapBarChart(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the SapBarChartdesktop - the desktop on which this object livespublic int barCount(int chartId)
chartId - index of the chartpublic String getBarContent(int chartId, int barId, int textId)
chartId - index of the chartbarId - index of the bar within the given charttextId - the text idpublic String getGridLineContent(int chartId, int gridLineId, int textId)
chartId - index of the chartgridLineId - index of the grid line within the given charttextId - the text idpublic int gridCount(int chartId)
chartId - index of the chartpublic int linkCount(int chartId)
chartId - index of the chartpublic void selectContextMenuItem(String functionCode)
selectContextMenuItem in interface ISapContextMenuablefunctionCode - the function codepublic void selectContextMenuItemByPosition(String positionDescription)
selectContextMenuItemByPosition in interface ISapContextMenuablepositionDescription - a string containing the path to the item. If the context menu item is on the top level menu, this is just the zero-base index of the item. Otherwise, the positions on the menu and respective submenus should be concatenated, separated by "|".public void selectContextMenuItemByText(String text)
selectContextMenuItemByText in interface ISapContextMenuabletext - the menu item textpublic void sendData(String data)
data - the data to be sendpublic String getAccessibilityDescription()
public int getChartCount()
public SapContextMenu getCurrentContextMenu()
public int getWindowHandle()
Copyright 2009-2012 Micro Focus. All Rights Reserved.