public class SchemaTableModel extends ColumnBasedTableModel
Modifier and Type | Class and Description |
---|---|
static class |
SchemaTableModel.Field |
ColumnBasedTableModel.Column
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_TYPE_COLUMN_NAME |
static java.lang.String |
FIELD_NAME_COLUMN_NAME |
Constructor and Description |
---|
SchemaTableModel(Layer layer) |
Modifier and Type | Method and Description |
---|---|
SchemaTableModel.Field |
get(int row) |
java.util.List |
getFields() |
int |
getRowCount() |
int |
indexOf(SchemaTableModel.Field field) |
void |
insertBlankRow(int location) |
boolean |
isCellEditable(int row,
int column) |
void |
move(java.util.Collection fieldsToMove,
int displacement) |
void |
removeBlankRows() |
void |
removeFields(int[] rows) |
addTableModelListener, fireTableChanged, getColumn, getColumnClass, getColumnCount, getColumnName, getValueAt, indexOfColumn, isFiringEvents, removeTableModelListener, setColumns, setFiringEvents, setValueAt
public static final java.lang.String FIELD_NAME_COLUMN_NAME
public static final java.lang.String DATA_TYPE_COLUMN_NAME
public SchemaTableModel(Layer layer)
public int getRowCount()
public java.util.List getFields()
public SchemaTableModel.Field get(int row)
public boolean isCellEditable(int row, int column)
public void removeFields(int[] rows)
public void removeBlankRows()
public void insertBlankRow(int location)
public void move(java.util.Collection fieldsToMove, int displacement)
public int indexOf(SchemaTableModel.Field field)