Package org.gvsig.gui.beans.controls.dnd
Class JDnDTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.gvsig.gui.beans.controls.dnd.JDnDTableModel
- All Implemented Interfaces:
Serializable,TableModel
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortstatic final shortFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetValueAt(int rowIndex, int columnIndex) voidinsertItems(org.gvsig.gui.beans.controls.dnd.CellCoordinates cellCoord, ArrayList items) voiditemsMoved(org.gvsig.gui.beans.controls.dnd.CellCoordinates newCellCoord, org.gvsig.gui.beans.controls.dnd.CellCoordinates[] coordinates) voidsetSelectionMode(short mode) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
Field Details
-
ONLY_ALLOW_MOVING_COLUMNS
public static final short ONLY_ALLOW_MOVING_COLUMNS- See Also:
-
ONLY_ALLOW_MOVING_ROWS
public static final short ONLY_ALLOW_MOVING_ROWS- See Also:
-
-
Constructor Details
-
JDnDTableModel
-
-
Method Details
-
getColumnCount
public int getColumnCount() -
getRowCount
public int getRowCount() -
getValueAt
-
itemsMoved
public void itemsMoved(org.gvsig.gui.beans.controls.dnd.CellCoordinates newCellCoord, org.gvsig.gui.beans.controls.dnd.CellCoordinates[] coordinates) -
insertItems
public void insertItems(org.gvsig.gui.beans.controls.dnd.CellCoordinates cellCoord, ArrayList items) -
setSelectionMode
public void setSelectionMode(short mode)
-