issrg.utils.gui.ifcondition
Class AdvancedConditionsTable

java.lang.Object
  extended by issrg.utils.gui.ifcondition.ConditionsTable
      extended by issrg.utils.gui.ifcondition.AdvancedConditionsTable
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.MouseListener, java.util.EventListener, javax.swing.event.TableColumnModelListener

public class AdvancedConditionsTable
extends ConditionsTable
implements java.awt.event.ActionListener

This class extends ConditionsTable and adds another Column, which is an Add button to create more rows.

Author:
Christian Azzopardi

Field Summary
 
Fields inherited from class issrg.utils.gui.ifcondition.ConditionsTable
model, selectionModel, table, tableModel, tableView, varTypeLinks
 
Constructor Summary
AdvancedConditionsTable(XMLEditor xmlED, javax.swing.JFrame owner, int index, java.util.ResourceBundle rb, ConditionOnComboBoxFactory conditionOnCBFactory)
          Creates a new instance of AdvancedConditionsTable
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void addRow(int rowLevel)
           
 void deleteRow(int rowLevel)
           
 javax.swing.JPanel getContentPanel()
           
 
Methods inherited from class issrg.utils.gui.ifcondition.ConditionsTable
columnAdded, columnMarginChanged, columnMoved, columnRemoved, columnSelectionChanged, getColumn1, getColumn1Store, getColumn2, getColumn2Store, getColumn3, getColumn3Store, getColumn4, getColumn4Store, getConditionOnCBFactory, getOperatorTypes, getRelations, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, setColumn1, setColumn1Store, setColumn2, setColumn2Store, setColumn3, setColumn3Store, setColumn4, setColumn4Store, setConditionOnCB, setRowHeight, setUpColumnThree, setUpColumnTwo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdvancedConditionsTable

public AdvancedConditionsTable(XMLEditor xmlED,
                               javax.swing.JFrame owner,
                               int index,
                               java.util.ResourceBundle rb,
                               ConditionOnComboBoxFactory conditionOnCBFactory)
Creates a new instance of AdvancedConditionsTable

Method Detail

getContentPanel

public javax.swing.JPanel getContentPanel()
Overrides:
getContentPanel in class ConditionsTable

addRow

public void addRow(int rowLevel)
Overrides:
addRow in class ConditionsTable

deleteRow

public void deleteRow(int rowLevel)
Overrides:
deleteRow in class ConditionsTable

actionPerformed

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