com.vividsolutions.jump.workbench.ui
Class SchemaTableModel

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.ColumnBasedTableModel
      extended by com.vividsolutions.jump.workbench.ui.SchemaTableModel
All Implemented Interfaces:
javax.swing.table.TableModel

public class SchemaTableModel
extends ColumnBasedTableModel


Nested Class Summary
static class SchemaTableModel.Field
           
 
Nested classes/interfaces inherited from class com.vividsolutions.jump.workbench.ui.ColumnBasedTableModel
ColumnBasedTableModel.Column
 
Field Summary
static java.lang.String DATA_TYPE_COLUMN_NAME
           
static java.lang.String FIELD_NAME_COLUMN_NAME
           
 
Constructor Summary
SchemaTableModel(Layer layer)
           
 
Method Summary
 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)
           
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.ColumnBasedTableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getValueAt, indexOfColumn, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_NAME_COLUMN_NAME

public static final java.lang.String FIELD_NAME_COLUMN_NAME
See Also:
Constant Field Values

DATA_TYPE_COLUMN_NAME

public static final java.lang.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 java.util.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(java.util.Collection fieldsToMove,
                 int displacement)

indexOf

public int indexOf(SchemaTableModel.Field field)