JavaSwingTable

Top  Previous  Next

 

Java Swing Table. Extends JavaObject. Extends SeSSimulatedObject.

 

Behavior Pattern: JavaSwingObjectTableBehavior

 

Property Summary

 

Property

Description

Getter

Setter

Cell

Text of the specified cell.

GetCell


ColumnCount

Number of columns in the table.

GetColumnCount


ColumnName

Caption of a column.

GetColumnName


RowCount

Number of rows in the table.

GetRowCount


SelectedCells

Returns string of cell coordinates delimited by separators or an array of coordinate objects for selected cells.

GetSelectedCells


SelectedColumn

Index of the selected column.

GetSelectedColumn


SelectedColumnCount

Number of selected columns.

GetSelectedColumnCount


SelectedColumns

Returns string of indexes delimited by separator or array of indexes of selected columns.

GetSelectedColumns


SelectedRow

Index of the selected row.

GetSelectedRow


SelectedRowCount

Number of selected rows.

GetSelectedRowCount


SelectedRows

Returns string of indexes delimited by separator or array of indexes of selected rows.

GetSelectedRows


Text

Text of the currently focused cell.

GetText


 

Action Summary

 

Action

Description

DoClickCell

Clicks the specified cell

DoFullText

Read and return full text contents of the table

 

Property Detail

 

Cell

Text of the specified cell.

Accessors: GetCell

 

ColumnCount

Number of columns in the table.

Accessors: GetColumnCount

 

ColumnName

Caption of a column.

Accessors: GetColumnName

 

RowCount

Number of rows in the table.

Accessors: GetRowCount

 

SelectedCells

Returns string of cell coordinates delimited by separators or an array of coordinate objects for selected cells.

Accessors: GetSelectedCells

 

SelectedColumn

Index of the selected column.

Accessors: GetSelectedColumn

 

SelectedColumnCount

Number of selected columns.

Accessors: GetSelectedColumnCount

 

SelectedColumns

Returns string of indexes delimited by separator or array of indexes of selected columns.

Accessors: GetSelectedColumns

 

SelectedRow

Index of the selected row.

Accessors: GetSelectedRow

 

SelectedRowCount

Number of selected rows.

Accessors: GetSelectedRowCount

 

SelectedRows

Returns string of indexes delimited by separator or array of indexes of selected rows.

Accessors: GetSelectedRows

 

Text

Text of the currently focused cell.

Accessors: GetText

 

Action Detail

 

DoClickCell(row, col, clickType, xOffset, yOffset)

Clicks the specified cell

 

Parameters:

 

Name

Type

Description

row

number

Zero-based index if the row.

col

number

Zero-based index of the column.

clickType

string

Type of click, can be one of "L" - left click, "LD" - double left click, "R" - right click, "RD" - double right click, "M" - middle click, "MD" - double middle click, "N" - don't click
Optional, Default: L.

xOffset

number

X offset to click within node. Default is a center.
Optional.

yOffset

number

Y offset to click within node. Default is a center.
Optional.

 

Returns:

 

'true' if successful, 'false' otherwise

 

DoFullText()

Read and return full text contents of the table

 

Returns:

 

Full text of the table (may be very long!), 'false' otherwise