Package mgui.interfaces.shapes.volume
Class InterfaceVolumeSetPanel.OverlayVolumeTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
mgui.interfaces.shapes.volume.InterfaceVolumeSetPanel.OverlayVolumeTableModel
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.table.TableModel
- Enclosing class:
- InterfaceVolumeSetPanel
protected class InterfaceVolumeSetPanel.OverlayVolumeTableModel
extends javax.swing.table.DefaultTableModel
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
Constructors Constructor Description OverlayVolumeTableModel()
OverlayVolumeTableModel(VolumeSet3DInt volume_set)
-
Method Summary
Modifier and Type Method Description java.lang.Class<?>
getColumnClass(int column)
int
getColumnCount()
java.lang.String
getColumnName(int column)
int
getRowCount()
java.lang.Object
getValueAt(int row, int column)
boolean
isCellEditable(int row, int column)
void
setValueAt(java.lang.Object value, int row, int column)
void
setVolumeSet(VolumeSet3DInt volume_set)
Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OverlayVolumeTableModel
public OverlayVolumeTableModel() -
OverlayVolumeTableModel
-
-
Method Details
-
setVolumeSet
-
getRowCount
public int getRowCount()- Specified by:
getRowCount
in interfacejavax.swing.table.TableModel
- Overrides:
getRowCount
in classjavax.swing.table.DefaultTableModel
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCount
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnCount
in classjavax.swing.table.DefaultTableModel
-
getColumnName
public java.lang.String getColumnName(int column)- Specified by:
getColumnName
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnName
in classjavax.swing.table.DefaultTableModel
-
isCellEditable
public boolean isCellEditable(int row, int column)- Specified by:
isCellEditable
in interfacejavax.swing.table.TableModel
- Overrides:
isCellEditable
in classjavax.swing.table.DefaultTableModel
-
getValueAt
public java.lang.Object getValueAt(int row, int column)- Specified by:
getValueAt
in interfacejavax.swing.table.TableModel
- Overrides:
getValueAt
in classjavax.swing.table.DefaultTableModel
-
setValueAt
public void setValueAt(java.lang.Object value, int row, int column)- Specified by:
setValueAt
in interfacejavax.swing.table.TableModel
- Overrides:
setValueAt
in classjavax.swing.table.DefaultTableModel
-
getColumnClass
public java.lang.Class<?> getColumnClass(int column)- Specified by:
getColumnClass
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnClass
in classjavax.swing.table.AbstractTableModel
-