issrg.editor2.obligations
Class CoordObligationTable

java.lang.Object
  extended by issrg.editor2.obligations.CoordObligationTable
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.MouseListener, java.util.EventListener, javax.swing.event.TableColumnModelListener

public class CoordObligationTable
extends java.lang.Object
implements javax.swing.event.TableColumnModelListener, java.awt.event.ActionListener, java.awt.event.MouseListener

CoordObligationTable creates a table for creating coord obligations. It explicitly initializes column sizes and it uses combo boxes as editors.


Field Summary
 javax.swing.table.TableColumnModel model
           
protected  javax.swing.ListSelectionModel selectionModel
           
 javax.swing.JTable table
           
 javax.swing.table.DefaultTableModel tableModel
           
 javax.swing.JPanel tableView
           
 java.util.Hashtable varTypeLinks
           
 
Constructor Summary
CoordObligationTable(XMLEditor xmlED, int index, javax.swing.JPanel owner)
          Creates a new instance of ObligationTable
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void addRow(int rowLevel)
           
 void columnAdded(javax.swing.event.TableColumnModelEvent e)
           
 void columnMarginChanged(javax.swing.event.ChangeEvent e)
           
 void columnMoved(javax.swing.event.TableColumnModelEvent e)
           
 void columnRemoved(javax.swing.event.TableColumnModelEvent e)
           
 void columnSelectionChanged(javax.swing.event.ListSelectionEvent e)
           
 void deleteRow(int rowLevel)
           
 javax.swing.JPanel getContentPanel()
           
 void mouseClicked(java.awt.event.MouseEvent e)
           
 void mouseEntered(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 void setRowHeight(int height)
           
 javax.swing.JComboBox setUpColumnTwo(java.lang.String conditionOn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

varTypeLinks

public java.util.Hashtable varTypeLinks

selectionModel

protected javax.swing.ListSelectionModel selectionModel

tableModel

public javax.swing.table.DefaultTableModel tableModel

model

public javax.swing.table.TableColumnModel model

table

public javax.swing.JTable table

tableView

public javax.swing.JPanel tableView
Constructor Detail

CoordObligationTable

public CoordObligationTable(XMLEditor xmlED,
                            int index,
                            javax.swing.JPanel owner)
Creates a new instance of ObligationTable

Method Detail

getContentPanel

public javax.swing.JPanel getContentPanel()

addRow

public void addRow(int rowLevel)

deleteRow

public void deleteRow(int rowLevel)

setUpColumnTwo

public javax.swing.JComboBox setUpColumnTwo(java.lang.String conditionOn)

setRowHeight

public void setRowHeight(int height)

columnAdded

public void columnAdded(javax.swing.event.TableColumnModelEvent e)
Specified by:
columnAdded in interface javax.swing.event.TableColumnModelListener

columnMarginChanged

public void columnMarginChanged(javax.swing.event.ChangeEvent e)
Specified by:
columnMarginChanged in interface javax.swing.event.TableColumnModelListener

columnMoved

public void columnMoved(javax.swing.event.TableColumnModelEvent e)
Specified by:
columnMoved in interface javax.swing.event.TableColumnModelListener

columnRemoved

public void columnRemoved(javax.swing.event.TableColumnModelEvent e)
Specified by:
columnRemoved in interface javax.swing.event.TableColumnModelListener

columnSelectionChanged

public void columnSelectionChanged(javax.swing.event.ListSelectionEvent e)
Specified by:
columnSelectionChanged in interface javax.swing.event.TableColumnModelListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in interface java.awt.event.MouseListener