public class TableUtils extends Object
TableModel
Modifier and Type | Method and Description |
---|---|
static void |
addNameToColumnIdentifiers(DefaultTableModel tableModel,
String name)
Adds a name to columns
|
static DefaultTableModel |
cloneTableModel(DefaultTableModel tableModel)
Copies a table
|
static Vector<String> |
getColumnIdentifiers(DefaultTableModel tableModel)
Gets the table's column names
|
public static DefaultTableModel cloneTableModel(DefaultTableModel tableModel)
tableModel
- the tablepublic static Vector<String> getColumnIdentifiers(DefaultTableModel tableModel)
tableModel
- the tablepublic static void addNameToColumnIdentifiers(DefaultTableModel tableModel, String name)
tableModel
- the tablename
- the new columnCopyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.