Public Member Functions | |
| MyTableModel () | |
| Object | getValueAt (int row, int column) |
| int | getRowCount () |
| int | getColumnCount () |
| void | append (String name, String cUrl) |
| Class | getColumnClass (int c) |
| boolean | exist (String name) |
| void | deleteEntry (String url) |
| void | sort () |
| void | setValueAt (Object obj, int row, int col) |
| String | getColumnName (int col) |
| boolean | isCellEditable (int row, int col) |
| String | getURL (String name) |
Package Attributes | |
| final String | colNames [] |
| Object | tableData [][] |
Private Attributes | |
| final int | ROWNUM = 32 |
| final int | COLNUM = 3 |
|
|
The construtor |
|
||||||||||||
|
Append a new activated component with the given name In this very very very first version the component are added at the end without any care
|
|
|
Delete the component with the given name url The name of the component |
|
|
Check if an element with the given name already exists in the table
|
|
|
Return the class of the elements stored in a column
|
|
|
Return the number of columns of the table
|
|
|
Return the name of the column
|
|
|
Return the number of rows of the table
|
|
|
Return the URL of a component given its name
|
|
||||||||||||
|
Return the value of the cell
|
|
||||||||||||
|
Check if a cell is editable. In this case all the cells are not editable
|
|
||||||||||||||||
|
Add a component to the table
|
|
|
Sort the items of the table |
|
|
Initial value: The name of the columns |
|
|
|
|
|
The number of row and columns in the table |
|
|
The data of each cell The third column always contains the Release button |
1.3.8