public class JDnDTableModel
extends javax.swing.table.AbstractTableModel
Modifier and Type | Field and Description |
---|---|
static short |
ONLY_ALLOW_MOVING_COLUMNS |
static short |
ONLY_ALLOW_MOVING_ROWS |
Constructor and Description |
---|
JDnDTableModel(java.lang.Object[][] values,
java.lang.String[] colNames) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
int |
getRowCount() |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
void |
insertItems(org.gvsig.gui.beans.controls.dnd.CellCoordinates cellCoord,
java.util.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 JDnDTableModel(java.lang.Object[][] values, java.lang.String[] colNames)
public int getColumnCount()
public int getRowCount()
public java.lang.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, java.util.ArrayList items)
public void setSelectionMode(short mode)