Package | Description |
---|---|
com.googlecode.lanterna.gui2.table |
Modifier and Type | Method and Description |
---|---|
TableModel<V> |
TableModel.addColumn(String label,
V[] newColumnValues)
Adds a new column into the table model as the last column.
|
TableModel<V> |
TableModel.addRow(Collection<V> values)
Adds a new row to the table model at the end
|
TableModel<V> |
TableModel.addRow(V... values)
Adds a new row to the table model at the end
|
TableModel<V> |
Table.getTableModel()
Returns the underlying table model
|
TableModel<V> |
TableModel.insertColumn(int index,
String label,
V[] newColumnValues)
Adds a new column into the table model at a specified index.
|
TableModel<V> |
TableModel.insertRow(int index,
Collection<V> values)
Inserts a new row to the table model at a particular index
|
TableModel<V> |
TableModel.removeColumn(int index)
Removes a column from the table model
|
TableModel<V> |
TableModel.removeRow(int index)
Removes a row at a particular index from the table model
|
TableModel<V> |
TableModel.setCell(int columnIndex,
int rowIndex,
V value)
Updates the call value stored at a specific column/row coordinate.
|
TableModel<V> |
TableModel.setColumnLabel(int index,
String newLabel)
Updates the label of a column header
|
Modifier and Type | Method and Description |
---|---|
Table<V> |
Table.setTableModel(TableModel<V> tableModel)
Updates the table with a new table model, effectively replacing the content of the table completely
|
Copyright © 2016. All rights reserved.