public class JDnDTableModel extends AbstractTableModel
Modifier and Type | Field and Description |
---|---|
static short |
ONLY_ALLOW_MOVING_COLUMNS |
static short |
ONLY_ALLOW_MOVING_ROWS |
listenerList
Constructor and Description |
---|
JDnDTableModel(Object[][] values,
String[] colNames) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
void |
insertItems(org.gvsig.gui.beans.controls.dnd.CellCoordinates cellCoord,
ArrayList items) |
void |
itemsMoved(org.gvsig.gui.beans.controls.dnd.CellCoordinates newCellCoord,
org.gvsig.gui.beans.controls.dnd.CellCoordinates[] coordinates) |
void |
setSelectionMode(short mode) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public static final short ONLY_ALLOW_MOVING_COLUMNS
public static final short ONLY_ALLOW_MOVING_ROWS
public int getColumnCount()
public int getRowCount()
public Object getValueAt(int rowIndex, int columnIndex)
public void itemsMoved(org.gvsig.gui.beans.controls.dnd.CellCoordinates newCellCoord, org.gvsig.gui.beans.controls.dnd.CellCoordinates[] coordinates)
public void insertItems(org.gvsig.gui.beans.controls.dnd.CellCoordinates cellCoord, ArrayList items)
public void setSelectionMode(short mode)