org.uacalc.ui.table
Class ConLatticeTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.uacalc.ui.table.LatticeTableModel
          extended by org.uacalc.ui.table.ConLatticeTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public final class ConLatticeTableModel
extends LatticeTableModel

See Also:
Serialized Form

Nested Class Summary
static class ConLatticeTableModel.DataType
           
 
Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ConLatticeTableModel(SmallAlgebra alg, ConLatticeTableModel.DataType t)
           
ConLatticeTableModel(SmallAlgebra alg, ConLatticeTableModel.DataType t, org.latdraw.diagram.Diagram diagram)
           
 
Method Summary
 int findIndex(Partition par, org.latdraw.diagram.Vertex[] verts)
           
 java.lang.Class getColumnClass(int c)
           
 java.lang.String getColumnName(int col)
           
 java.util.List<Partition> getElementList()
           
 int getRowCount()
           
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
           
 int rowOfPartition(Partition part)
           
 void sortElemsByDiagram(org.latdraw.diagram.Diagram diagram)
           
 
Methods inherited from class org.uacalc.ui.table.LatticeTableModel
getAlgebra, getAllColNames, getAllNoTypColNames, getColNames, getColumnCount, getJIColNames, getJINoTypColNames, setAlgebra, setColNames, setToAllColNames, setToAllNoTypColNames, setToJIColNames, setToJINoTypColNames
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConLatticeTableModel

public ConLatticeTableModel(SmallAlgebra alg,
                            ConLatticeTableModel.DataType t,
                            org.latdraw.diagram.Diagram diagram)

ConLatticeTableModel

public ConLatticeTableModel(SmallAlgebra alg,
                            ConLatticeTableModel.DataType t)
Method Detail

sortElemsByDiagram

public void sortElemsByDiagram(org.latdraw.diagram.Diagram diagram)

findIndex

public int findIndex(Partition par,
                     org.latdraw.diagram.Vertex[] verts)

getElementList

public java.util.List<Partition> getElementList()

getColumnName

public java.lang.String getColumnName(int col)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

getColumnClass

public java.lang.Class getColumnClass(int c)
Specified by:
getColumnClass in interface javax.swing.table.TableModel
Overrides:
getColumnClass in class javax.swing.table.AbstractTableModel

rowOfPartition

public int rowOfPartition(Partition part)

getRowCount

public int getRowCount()

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)


Copyright 2003 Ralph Freese. All Rights Reserved.