protected static class AirspaceBuilder.AirspaceBuilderModel extends AbstractTableModel
Modifier and Type | Field and Description |
---|---|
protected static String[] |
columnAttribute |
protected static Class[] |
columnClass |
protected static String[] |
columnName |
protected ArrayList<AirspaceBuilder.AirspaceEntry> |
entryList |
listenerList
Constructor and Description |
---|
AirspaceBuilderModel() |
Modifier and Type | Method and Description |
---|---|
void |
addEntry(AirspaceBuilder.AirspaceEntry entry) |
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
List<AirspaceBuilder.AirspaceEntry> |
getEntries() |
AirspaceBuilder.AirspaceEntry |
getEntry(int index) |
int |
getIndexForEntry(AirspaceBuilder.AirspaceEntry entry) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
removeAllEntries() |
void |
removeEntry(AirspaceBuilder.AirspaceEntry entry) |
void |
setEntries(Iterable<? extends AirspaceBuilder.AirspaceEntry> entries) |
AirspaceBuilder.AirspaceEntry |
setEntry(int index,
AirspaceBuilder.AirspaceEntry entry) |
void |
setValueAt(Object aObject,
int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
protected static String[] columnAttribute
protected static Class[] columnClass
protected static String[] columnName
protected ArrayList<AirspaceBuilder.AirspaceEntry> entryList
public void addEntry(AirspaceBuilder.AirspaceEntry entry)
public Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public int getColumnCount()
public String getColumnName(int columnIndex)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public List<AirspaceBuilder.AirspaceEntry> getEntries()
public AirspaceBuilder.AirspaceEntry getEntry(int index)
public int getIndexForEntry(AirspaceBuilder.AirspaceEntry entry)
public int getRowCount()
public Object getValueAt(int rowIndex, int columnIndex)
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public void removeAllEntries()
public void removeEntry(AirspaceBuilder.AirspaceEntry entry)
public void setEntries(Iterable<? extends AirspaceBuilder.AirspaceEntry> entries)
public AirspaceBuilder.AirspaceEntry setEntry(int index, AirspaceBuilder.AirspaceEntry entry)
public void setValueAt(Object aObject, int rowIndex, int columnIndex)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel