FarPointGrid

Top  Previous  Next

 

This behavior pattern implements standard behavior for Grid control. Extends SeSSimulatedObject.

 

Behavior Pattern: FarPointGridBehavior

 

Property Summary

 

Property

Description

Getter

Setter

Cell

Text of the specified cell.

GetCell

SetCell

ColumnCount

Number of columns in grid

GetColumnCount

SetColumnCount

ColumnName

Caption of a column.

GetColumnName

SetColumnName

RowCount

Number of rows in grid

GetRowCount

SetRowCount

SelectedCells

Selected cells.

GetSelectedCells

SetSelectedCells

SelectedColumn

Index of the selected column.

GetSelectedColumn

SetSelectedColumn

SelectedColumnCount

Number of selected columns.

GetSelectedColumnCount

SetSelectedColumnCount

SelectedColumns

Selected columns.

GetSelectedColumns

SetSelectedColumns

SelectedRow

Index of the selected row.

GetSelectedRow

SetSelectedRow

SelectedRowCount

Number of selected rows.

GetSelectedRowCount

SetSelectedRowCount

SelectedRows

Selected rows.

GetSelectedRows

SetSelectedRows

Text

Text of the currently focused cell.

GetText

SetText

 

Action Summary

 

Action

Description

DoClickCell

Clicks the specified cell

DoFullText

Returns text representation of the table.

 

Property Detail

 

Cell

Text of the specified cell.

Accessors: GetCell, SetCell

 

ColumnCount

Number of columns in grid

Accessors: GetColumnCount, SetColumnCount

 

ColumnName

Caption of a column.

Accessors: GetColumnName, SetColumnName

 

RowCount

Number of rows in grid

Accessors: GetRowCount, SetRowCount

 

SelectedCells

Selected cells.

Accessors: GetSelectedCells, SetSelectedCells

 

SelectedColumn

Index of the selected column.

Accessors: GetSelectedColumn, SetSelectedColumn

 

SelectedColumnCount

Number of selected columns.

Accessors: GetSelectedColumnCount, SetSelectedColumnCount

 

SelectedColumns

Selected columns.

Accessors: GetSelectedColumns, SetSelectedColumns

 

SelectedRow

Index of the selected row.

Accessors: GetSelectedRow, SetSelectedRow

 

SelectedRowCount

Number of selected rows.

Accessors: GetSelectedRowCount, SetSelectedRowCount

 

SelectedRows

Selected rows.

Accessors: GetSelectedRows, SetSelectedRows

 

Text

Text of the currently focused cell.

Accessors: GetText, SetText

 

Action Detail

 

DoClickCell(rowIndex, columnIndex)

Clicks the specified cell

 

Parameters:

 

Name

Type

Description

rowIndex

number

Zero-based index if the row.

columnIndex

number

Zero-based index of the column.

 

Returns:

 

'true' if successful, 'false' otherwise

 

DoFullText(fileName)

Returns text representation of the table.

 

Parameters:

 

Name

Type

Description

fileName

string

Name of a file that should hold text representation of the grid.
Optional.

 

Returns:

 

Text representation of the grid, 'true' if the file was successfully written, 'false' otherwise.