Package mgui.interfaces.shapes
Class InterfaceShapesPanel.VertexSelectionTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
mgui.interfaces.shapes.InterfaceShapesPanel.VertexSelectionTableModel
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.table.TableModel
- Enclosing class:
- InterfaceShapesPanel
public static class InterfaceShapesPanel.VertexSelectionTableModel
extends javax.swing.table.AbstractTableModel
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description java.util.ArrayList<java.lang.String>
comparison
java.util.ArrayList<java.lang.String>
values
java.util.ArrayList<java.lang.String>
variables
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
Constructors Constructor Description VertexSelectionTableModel()
-
Method Summary
Modifier and Type Method Description void
addRow()
void
clear()
java.lang.Class<?>
getColumnClass(int columnIndex)
int
getColumnCount()
java.lang.String
getColumnName(int columnIndex)
static javax.swing.JComboBox
getComparisonCombo()
int
getRowCount()
java.lang.Object
getValueAt(int rowIndex, int columnIndex)
static javax.swing.JComboBox
getVariableCombo(InterfaceShape shape)
boolean
isCellEditable(int rowIndex, int columnIndex)
void
removeRow(int row)
void
setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
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
-
Field Details
-
variables
public java.util.ArrayList<java.lang.String> variables -
comparison
public java.util.ArrayList<java.lang.String> comparison -
values
public java.util.ArrayList<java.lang.String> values
-
-
Constructor Details
-
VertexSelectionTableModel
public VertexSelectionTableModel()
-
-
Method Details
-
clear
public void clear() -
addRow
public void addRow() -
removeRow
public void removeRow(int row) -
getComparisonCombo
public static javax.swing.JComboBox getComparisonCombo() -
getVariableCombo
-
getColumnClass
public java.lang.Class<?> getColumnClass(int columnIndex)- Specified by:
getColumnClass
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnClass
in classjavax.swing.table.AbstractTableModel
-
getColumnCount
public int getColumnCount() -
getColumnName
public java.lang.String getColumnName(int columnIndex)- Specified by:
getColumnName
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnName
in classjavax.swing.table.AbstractTableModel
-
getRowCount
public int getRowCount() -
getValueAt
public java.lang.Object getValueAt(int rowIndex, int columnIndex) -
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex)- Specified by:
isCellEditable
in interfacejavax.swing.table.TableModel
- Overrides:
isCellEditable
in classjavax.swing.table.AbstractTableModel
-
setValueAt
public void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)- Specified by:
setValueAt
in interfacejavax.swing.table.TableModel
- Overrides:
setValueAt
in classjavax.swing.table.AbstractTableModel
-