public class FlexChartLegend extends FlexObject
Modifier | Constructor and Description |
---|---|
protected |
FlexChartLegend(JtfObjectHandle handle,
Desktop desktop)
Creates a new FlexChartLegend with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getColumnNames()
Gets a list containing the names of all columns in the data.
|
int |
getFirstVisibleRow()
Gets the index of the first visible child.
|
String |
getFontWeight()
Gets whether the text is boldface.
|
String |
getLabel()
Gets the text that displays next to the legend element.
|
String |
getLabelPlacement()
Gets the label placement of the legend element.
|
int |
getLastVisibleRow()
Gets the index of the last visible child.
|
double |
getMarkerAspectRatio()
Gets the aspect ratio for the marker associated with this legend item.
|
int |
getMarkerHeight()
Gets the height of the legend element.
|
int |
getMarkerWidth()
Gets the width of the legend element.
|
int |
getNumColumns()
Gets the total number of columns in the data available.
|
int |
getNumRows()
Gets the total number of rows of data available.
|
int |
getPaddingLeft()
Gets the number of pixels between the control's left border and the left edge of its content area.
|
int |
getPaddingRight()
Gets the number of pixels between the control's right border and the right edge of its content area.
|
List<List<String>> |
getValues(int start,
int end)
Returns a matrix containing the automation values of all parts of the components.
|
int |
getVerticalGap()
Gets the number of pixels between children in the vertical direction.
|
void |
legendItemClick(String item)
Dispatched when the user clicks on a LegendItem in the Legend control, which indicates that the user clicked the mouse button over a legend item.
|
changeFocus, changeFocus, changeFocus, getAutomationClassName, getAutomationIndex, getAutomationName, getClassName, getCurrentState, getErrorColor, getErrorString, getId, getNumAutomationChildren, getPercentHeight, getPercentWidth, getScaleX, getScaleY, getThemeColor, getToolTip, isEnabled, isFocusEnabled, isUseHandCursor, move, move, move, setFocus
click, 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, typePasswordKeys
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 FlexChartLegend(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the FlexChartLegenddesktop
- the desktop on which this object livespublic List<List<String>> getValues(int start, int end)
The return value is an array of rows, each of which is an array of items.
start
- the index of the starting child. The default value is 0.end
- the index of the ending child. The default value is 0.public void legendItemClick(String item)
item
- the item in the Legend on which this event was triggeredpublic List<String> getColumnNames()
public int getFirstVisibleRow()
public String getFontWeight()
Recognized values are normal and bold. The default value for Button controls is bold. The default value for all other controls is normal.
public String getLabel()
public String getLabelPlacement()
top
, bottom
, right
, and left
.public int getLastVisibleRow()
public double getMarkerAspectRatio()
Some markers provided by chart series are intended for display at a particular aspect ratio. If this property is set, the legend item guarantees the aspect ratio of the marker during layout.
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.