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 class
SchemaTableModel.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 String
DATA_TYPE_COLUMN_NAME
static String
FIELD_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.Field
get(int row)
List
getFields()
int
getRowCount()
int
indexOf(SchemaTableModel.Field field)
void
insertBlankRow(int location)
boolean
isCellEditable(int row, int column)
void
move(Collection fieldsToMove, int displacement)
void
removeBlankRows()
void
removeFields(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)
-
-