public class FlexChartLegend extends FlexObject
| Modifier | Constructor and Description |
|---|---|
protected |
FlexChartLegend(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 FlexChartLegend。
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getColumnNames()
获取 包含数据中所有列的名称的列表。
|
int |
getFirstVisibleRow()
获取 第一个可见子级的索引。
|
String |
getFontWeight()
获取 文本是否为粗体。
|
String |
getLabel()
获取 显示在图例元素旁的文本。
|
String |
getLabelPlacement()
获取 图例元素的标签位置。
|
int |
getLastVisibleRow()
获取 最后一个可见子级的索引。
|
double |
getMarkerAspectRatio()
获取 与此图例项目关联的标记的纵横比。
|
int |
getMarkerHeight()
获取 图例元素的高度。
|
int |
getMarkerWidth()
获取 图例元素的宽度。
|
int |
getNumColumns()
获取 可用数据中的总列数。
|
int |
getNumRows()
获取 可用数据的总行数。
|
int |
getPaddingLeft()
获取 控件左边框与其内容区域左边框之间的像素数量。
|
int |
getPaddingRight()
获取 控件右边框与其内容区域右边框之间的像素数量。
|
List<List<String>> |
getValues(int start,
int end)
返回矩阵,其包含所有组件部分的自动化值。
|
int |
getVerticalGap()
获取 垂直方向各子级之间的像素数量。
|
void |
legendItemClick(String item)
用户单击 Legend 控件中的 LegendItem 时发送,表示用户单击了图例项目上方的鼠标按钮。
|
changeFocus, changeFocus, changeFocus, getAutomationClassName, getAutomationIndex, getAutomationName, getClassName, getCurrentState, getErrorColor, getErrorString, getId, getNumAutomationChildren, getPercentHeight, getPercentWidth, getScaleX, getScaleY, getThemeColor, getToolTip, isEnabled, isFocusEnabled, isUseHandCursor, move, move, move, setFocusclick, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAlpha, getHeight, getStyle, getTabIndex, getWidth, getX, getY, isMouseEnabled, isTabChildren, isTabEnabled, isVisible, mouseMove, mouseMove, nativeToString, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeyscaptureBitmap, 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 FlexChartLegend(JtfObjectHandle handle, Desktop desktop)
handle - 可确定 FlexChartLegend 的句柄desktop - 此对象所在的桌面public List<List<String>> getValues(int start, int end)
返回值是一个行数组,每个行数组是一个项目数组。
start - 开始子级的索引。默认值为 0。end - 结束子级的索引。默认值为 0。public void legendItemClick(String item)
item - Legend 中的项目,在此触发了此事件public int getFirstVisibleRow()
public String getFontWeight()
认可的值为常规和粗体。Button 控件的默认值为粗体。所有其他控件的默认值为常规。
public String getLabel()
public String getLabelPlacement()
上、下、右和左。public int getLastVisibleRow()
public double getMarkerAspectRatio()
图表序列提供的某些标记倾向于以特定纵横比显示。如果设置了此属性,则图例项目会在布局期间确保标记的纵横比。
public int getMarkerHeight()
public int getMarkerWidth()
public int getNumColumns()
public int getNumRows()
public int getPaddingLeft()
public int getPaddingRight()
public int getVerticalGap()
Copyright 2009-2012 Micro Focus. All Rights Reserved.