Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.automation 
IAutomationTabularData 
Packagemx.automation
Interfacepublic interface IAutomationTabularData

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The IAutomationTabularData interface is implemented by components which can provide their content information in a tabular form.

See also



Public Properties
 PropertyDefined By
  columnNames : Array
[read-only] Names of all columns in the data.
IAutomationTabularData
  firstVisibleRow : int
[read-only] The index of the first visible child.
IAutomationTabularData
  lastVisibleRow : int
[read-only] The index of the last visible child.
IAutomationTabularData
  numColumns : int
[read-only] The total number of columns in the data available.
IAutomationTabularData
  numRows : int
[read-only] The total number of rows of data available.
IAutomationTabularData
Public Methods
 MethodDefined By
  
Returns the values being displayed by the component for the given data.
IAutomationTabularData
  
getValues(start:uint = 0, end:uint = 0):Array
Returns a matrix containing the automation values of all parts of the components.
IAutomationTabularData
Property Detail

columnNames

property
columnNames:Array  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Names of all columns in the data.



Implementation
    public function get columnNames():Array

firstVisibleRow

property 
firstVisibleRow:int  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The index of the first visible child.



Implementation
    public function get firstVisibleRow():int

lastVisibleRow

property 
lastVisibleRow:int  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The index of the last visible child.



Implementation
    public function get lastVisibleRow():int

numColumns

property 
numColumns:int  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The total number of columns in the data available.



Implementation
    public function get numColumns():int

numRows

property 
numRows:int  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The total number of rows of data available.



Implementation
    public function get numRows():int
Method Detail

getAutomationValueForData

()method
public function getAutomationValueForData(data:Object):Array

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the values being displayed by the component for the given data.

Parameters

data:Object — The object representing the data.

Returns
Array — Array containing the values being displayed by the component.

getValues

()method 
public function getValues(start:uint = 0, end:uint = 0):Array

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns a matrix containing the automation values of all parts of the components. Should be row-major (return value is an Array of rows, each of which is an Array of "items").

Parameters

start:uint (default = 0) — The index of the starting child.
 
end:uint (default = 0) — The index of the ending child.

Returns
Array — A matrix containing the automation values of all parts of the components.