public class FlexAxisRenderer extends FlexObject
AxisRenderer objects inherit some of their visual properties from the enclosing chart object. The text format of the labels and title defaults to the CSS text properties of the renderer. You can control the formatting of the axis title separately by specifying a axisTitleStyleName, either on the AxisRenderer or on the enclosing chart.
Modifier | Constructor and Description |
---|---|
protected |
FlexAxisRenderer(JtfObjectHandle handle,
Desktop desktop)
Creates a new FlexAxisRenderer with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canDropLabels()
Gets whether the AxisRenderer should drop labels as necessary to lay out correctly.
|
boolean |
canStagger()
Gets whether to stagger labels on two label rows.
|
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.
|
double |
getHeightLimit()
Gets the maximum amount of space, in pixels, that an axis renderer will take from a chart.
|
double |
getLabelGap()
Gets the gap between the end of the tick marks and the top of the labels, in pixels.
|
double |
getLabelRotation()
Gets the label rotation.
|
int |
getLastVisibleRow()
Gets the index of the last visible child.
|
double |
getLength()
Gets the length of the axis, in screen coordinates.
|
double |
getMinorTickLength()
Gets the length of the minor tick marks on the axis, in pixels.
|
String |
getMinorTickPlacement()
Gets a value where to draw the minor tick marks.
|
List<Double> |
getMinorTicks()
Gets an array that specifies where Flex draws the minor tick marks along the axis.
|
int |
getNumColumns()
Gets the total number of columns in the data available.
|
int |
getNumRows()
Gets the total number of rows of data available.
|
String |
getPlacement()
Gets the side of the chart that the axisRenderer appears on.
|
double |
getTickLength()
Gets the length of the tick marks on the axis, in pixels.
|
String |
getTickPlacement()
Gets a value where to draw the tick marks.
|
List<Double> |
getTicks()
Gets an array that specifies where Flex draws the tick marks along the axis.
|
List<List<String>> |
getValues(int start,
int end)
Returns a matrix containing the automation values of all parts of the components.
|
boolean |
isShowLabels()
Gets whether labels appear along the axis.
|
boolean |
isShowLine()
Gets whether to display the axis.
|
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 FlexAxisRenderer(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the FlexAxisRendererdesktop
- 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 boolean canDropLabels()
Set to true to cause the AxisRenderer to drop overlapping labels when rendering. Labels are always rendered at regular intervals. If necessary, the AxisRenderer will render every other label, or every third label, but never drop two or more consecutive labels.
Set to false to cause the AxisRenderer to use other schemes (rotation, scaling) to lay out the labels.
If you do not explicitly set this style, the AxisRenderer defaults to an appropriate value based on the type of axis being rendered.
public boolean canStagger()
public List<String> getColumnNames()
public int getFirstVisibleRow()
public double getHeightLimit()
public double getLabelGap()
public double getLabelRotation()
If the labels are rendered with device fonts, the labels are always drawn horizontally. If this style is any negative value, the AxisRenderer determines an optimal angle to render the labels in the smallest area without overlapping.
public int getLastVisibleRow()
public double getLength()
public double getMinorTickLength()
public String getMinorTickPlacement()
inside
, outside
, cross
, and none
.public List<Double> getMinorTicks()
public int getNumColumns()
public int getNumRows()
public String getPlacement()
public boolean isShowLabels()
public boolean isShowLine()
public double getTickLength()
public String getTickPlacement()
inside
, outside
, cross
, and none
.Copyright 2009-2012 Micro Focus. All Rights Reserved.