public class StringToStringsMapTableModel extends AbstractTableModel implements TableModel
listenerList
Constructor and Description |
---|
StringToStringsMapTableModel(StringToStringsMap data,
String keyCaption,
String valueCaption,
boolean editable) |
Modifier and Type | Method and Description |
---|---|
void |
add(String key,
String value) |
Class<?> |
getColumnClass(int arg0) |
int |
getColumnCount() |
String |
getColumnName(int arg0) |
StringToStringsMap |
getData() |
int |
getRowCount() |
Object |
getValueAt(int arg0,
int arg1) |
boolean |
isCellEditable(int arg0,
int arg1) |
void |
remove(int row) |
void |
setData(StringToStringsMap newData) |
void |
setValueAt(Object arg0,
int arg1,
int arg2) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTableModelListener, removeTableModelListener
public StringToStringsMapTableModel(StringToStringsMap data, String keyCaption, String valueCaption, boolean editable)
public int getColumnCount()
getColumnCount
in interface TableModel
public String getColumnName(int arg0)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public boolean isCellEditable(int arg0, int arg1)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public Class<?> getColumnClass(int arg0)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public void setValueAt(Object arg0, int arg1, int arg2)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
public int getRowCount()
getRowCount
in interface TableModel
public Object getValueAt(int arg0, int arg1)
getValueAt
in interface TableModel
public void remove(int row)
public StringToStringsMap getData()
public void setData(StringToStringsMap newData)
Copyright © 2019. All Rights Reserved.