public class MapsTableModel extends MapTableModel
Map
s TableModel
implementation.listenerList
Modifier | Constructor and Description |
---|---|
|
MapsTableModel(Iterable<? extends Map<?,?>> iterable,
int columns) |
|
MapsTableModel(Iterable<? extends Map<?,?>> iterable,
String... names) |
protected |
MapsTableModel(Iterator<? extends Map<?,?>> iterator,
String... names) |
Modifier and Type | Method and Description |
---|---|
protected Object |
getValueAt(Object row,
int x)
Implementation method to retrieve a column value from a row object.
|
map, tableChanged
getRowCount, getValueAt, list
column, getColumnClass, getColumnCount, getColumnName, header, isCellEditable, row, setColumnClass, setColumnName, setValueAt
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public MapsTableModel(Iterable<? extends Map<?,?>> iterable, String... names)
iterable
- The Iterable
of underlying
Map
s.names
- The column names.MapTableModel.MapTableModel(Map,String...)
public MapsTableModel(Iterable<? extends Map<?,?>> iterable, int columns)
iterable
- The Iterable
of underlying
Map
s.columns
- The number of columns.MapTableModel.MapTableModel(Map,int)
protected MapsTableModel(Iterator<? extends Map<?,?>> iterator, String... names)
iterator
- The Iterator
of underlying
Map
s.names
- The column names.MapsTableModel(Iterable,String...)
protected Object getValueAt(Object row, int x)
ArrayListTableModel
getValueAt
in class MapTableModel
row
- The Object
representing the row.x
- The column index.Copyright © 2015–2020 Allen D. Ball. All rights reserved.