Class SchemaTableModel
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.ColumnBasedTableModel
-
- org.locationtech.jts.jump.workbench.ui.SchemaTableModel
-
- All Implemented Interfaces:
TableModel
public class SchemaTableModel extends ColumnBasedTableModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchemaTableModel.Field-
Nested classes/interfaces inherited from class org.locationtech.jts.jump.workbench.ui.ColumnBasedTableModel
ColumnBasedTableModel.Column
-
-
Field Summary
Fields Modifier and Type Field Description static StringDATA_TYPE_COLUMN_NAMEstatic StringFIELD_NAME_COLUMN_NAME
-
Constructor Summary
Constructors Constructor Description SchemaTableModel(Layer layer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaTableModel.Fieldget(int row)ListgetFields()intgetRowCount()intindexOf(SchemaTableModel.Field field)voidinsertBlankRow(int location)booleanisCellEditable(int row, int column)voidmove(Collection fieldsToMove, int displacement)voidremoveBlankRows()voidremoveFields(int[] rows)-
Methods inherited from class org.locationtech.jts.jump.workbench.ui.ColumnBasedTableModel
addTableModelListener, fireTableChanged, getColumn, getColumnClass, getColumnCount, getColumnName, getValueAt, indexOfColumn, isFiringEvents, removeTableModelListener, setColumns, setFiringEvents, setValueAt
-
-
-
-
Field Detail
-
FIELD_NAME_COLUMN_NAME
public static final String FIELD_NAME_COLUMN_NAME
- See Also:
- Constant Field Values
-
DATA_TYPE_COLUMN_NAME
public static final String DATA_TYPE_COLUMN_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SchemaTableModel
public SchemaTableModel(Layer layer)
-
-
Method Detail
-
getRowCount
public int getRowCount()
-
getFields
public List getFields()
-
get
public SchemaTableModel.Field get(int row)
-
isCellEditable
public boolean isCellEditable(int row, int column)
-
removeFields
public void removeFields(int[] rows)
-
removeBlankRows
public void removeBlankRows()
-
insertBlankRow
public void insertBlankRow(int location)
-
move
public void move(Collection fieldsToMove, int displacement)
-
indexOf
public int indexOf(SchemaTableModel.Field field)
-
-