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

      public OverlayVolumeTableModel​(VolumeSet3DInt volume_set)
  • Method Details

    • setVolumeSet

      public void setVolumeSet​(VolumeSet3DInt volume_set)
    • getRowCount

      public int getRowCount()
      Specified by:
      getRowCount in interface javax.swing.table.TableModel
      Overrides:
      getRowCount in class javax.swing.table.DefaultTableModel
    • getColumnCount

      public int getColumnCount()
      Specified by:
      getColumnCount in interface javax.swing.table.TableModel
      Overrides:
      getColumnCount in class javax.swing.table.DefaultTableModel
    • getColumnName

      public java.lang.String getColumnName​(int column)
      Specified by:
      getColumnName in interface javax.swing.table.TableModel
      Overrides:
      getColumnName in class javax.swing.table.DefaultTableModel
    • isCellEditable

      public boolean isCellEditable​(int row, int column)
      Specified by:
      isCellEditable in interface javax.swing.table.TableModel
      Overrides:
      isCellEditable in class javax.swing.table.DefaultTableModel
    • getValueAt

      public java.lang.Object getValueAt​(int row, int column)
      Specified by:
      getValueAt in interface javax.swing.table.TableModel
      Overrides:
      getValueAt in class javax.swing.table.DefaultTableModel
    • setValueAt

      public void setValueAt​(java.lang.Object value, int row, int column)
      Specified by:
      setValueAt in interface javax.swing.table.TableModel
      Overrides:
      setValueAt in class javax.swing.table.DefaultTableModel
    • getColumnClass

      public java.lang.Class<?> getColumnClass​(int column)
      Specified by:
      getColumnClass in interface javax.swing.table.TableModel
      Overrides:
      getColumnClass in class javax.swing.table.AbstractTableModel