Methods' Details |
getRowCount
- Description
- Returns the number of rows in in the model.
- Returns
- the number of rows.
|
|
addRow
void |
addRow( |
[in] string |
headername, |
| [in] sequence< any > |
data ); |
- Description
- Adds a row to the model.
- Parameter headername
- specifies the name of the row.
- Parameter data
- the content of the row.
|
|
removeRow
void |
removeRow( |
[in] long |
index ); |
- Description
- Removes a row from the model.
- Parameter index
- the index of the row that should be removed.
|
|
removeAll
- Description
- Removes all rows from the model.
|
|
updateCell
void |
updateCell( |
[in] long |
row, |
| [in] long |
column, |
| [in] any |
value ); |
- Description
- Updates the content of a given cell.
- Parameter row
- the row index
- Parameter column
- the column index
- Parameter value
- the new value of the cell.
|
|
updateRow
void |
updateRow( |
[in] long |
row, |
| [in] sequence< long > |
columns, |
| [in] sequence< any > |
values ); |
- Description
- Updates the content of a given row.
- Parameter row
- the row index
- Parameter columns
- column indexes of the cells, which should be updated
- Parameter value
- the new values of the cells.
|
|
addDataListener
- Description
- Adds a listener for the GridDataEvent posted after the grid changes.
- Parameter Listener
- the listener to add.
|
|
removeDataListener
- Description
- Removes a listener previously added with addDataListener().
- Parameter Listener
- the listener to remove.
|
|
Copyright © 1995, 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.