issrg.policytester
Class AbstractParameterValueTable

java.lang.Object
  extended by issrg.policytester.AbstractParameterValueTable
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.MouseListener, java.util.EventListener, javax.swing.event.TableColumnModelListener
Direct Known Subclasses:
ActionTable, EnvironmentTable

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

Author:
Christian Azzopardi

Field Summary
 javax.swing.table.TableColumnModel model
           
 javax.swing.JTable table
           
 javax.swing.table.DefaultTableModel tableModel
           
 
Constructor Summary
AbstractParameterValueTable()
          Creates a new instance of ParameterValueTable
 
Method Summary
abstract  void actionPerformed(java.awt.event.ActionEvent e)
           
abstract  void addRow(int rowLevel)
           
abstract  void addToTableModel()
           
 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()
           
abstract  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)
           
abstract  void removeFromVectors(int rowLevel)
           
abstract  void setColumnWidths()
           
 void setRowHeight(int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

public javax.swing.JTable table

tableModel

public javax.swing.table.DefaultTableModel tableModel

model

public javax.swing.table.TableColumnModel model
Constructor Detail

AbstractParameterValueTable

public AbstractParameterValueTable()
Creates a new instance of ParameterValueTable

Method Detail

getContentPanel

public javax.swing.JPanel getContentPanel()

addToTableModel

public abstract void addToTableModel()

setColumnWidths

public abstract void setColumnWidths()

addRow

public abstract void addRow(int rowLevel)

deleteRow

public void deleteRow(int rowLevel)

removeFromVectors

public abstract void removeFromVectors(int rowLevel)

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 abstract void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

mouseClicked

public abstract 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