parseq
Class Parseq

java.lang.Object
  extended byparseq.Parseq

public class Parseq
extends java.lang.Object

Defines the Parseq object of the program. The main object.
This is where the lists of imported and prioritized requirements are held.

Author:
Mikael Jönsson & Per Klingnäs

Field Summary
private  HelpDialog hd
           
private  RequirementList importedList
           
private  javax.swing.JFrame lastPrioWindow
           
private  MainWindow mw
           
private  RequirementList prioList
           
 
Constructor Summary
Parseq()
          Constructs the Parseq object and instantiates a HelpDialog object and the MainWindow
 
Method Summary
 RequirementList getImportedList()
          Returns the list of imported requirements
 javax.swing.JFrame getLastPrioWindow()
           
 RequirementList getPrioList()
          Returns the list of prioritized requirements.
 RequirementList getPrioTestList()
           
private  RequirementList getTestList()
           
static void main(java.lang.String[] args)
          The main method of the program.
 void setImportedList(java.util.Vector v)
          Sets the list of imported requirements
 void setLastPrioWindow(javax.swing.JFrame lastPrioWindow)
           
 void setPrioList(RequirementList prioList)
          Sets the list of prioritized requirements
 void setPrioParams(int prioMethod, java.lang.String prioCriteria1, java.lang.String prioCriteria2)
          Sets the prioritization method and criteria.
 void showHelpDialog(java.lang.String helpfile)
          Shows the help dialog with the requested page to use as start page
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

importedList

private RequirementList importedList

prioList

private RequirementList prioList

mw

private MainWindow mw

lastPrioWindow

private javax.swing.JFrame lastPrioWindow

hd

private HelpDialog hd
Constructor Detail

Parseq

public Parseq()
Constructs the Parseq object and instantiates a HelpDialog object and the MainWindow

Method Detail

getTestList

private RequirementList getTestList()

getPrioTestList

public RequirementList getPrioTestList()

getImportedList

public RequirementList getImportedList()
Returns the list of imported requirements

Returns:
the imported requirement list.

getPrioList

public RequirementList getPrioList()
Returns the list of prioritized requirements.

Returns:
the prioritized requirements list.

setLastPrioWindow

public void setLastPrioWindow(javax.swing.JFrame lastPrioWindow)

getLastPrioWindow

public javax.swing.JFrame getLastPrioWindow()

setImportedList

public void setImportedList(java.util.Vector v)
Sets the list of imported requirements

Parameters:
v - the Vector object containing the list to set.

setPrioList

public void setPrioList(RequirementList prioList)
Sets the list of prioritized requirements

Parameters:
prioList - the RequirementList object containing the list to set.

setPrioParams

public void setPrioParams(int prioMethod,
                          java.lang.String prioCriteria1,
                          java.lang.String prioCriteria2)
Sets the prioritization method and criteria.
The method is called when the user has chosen method and criteria before a new prioritization

Parameters:
prioMethod - the prio method to use
prioCriteria1 - the first criteria to use
prioCriteria2 - the second criteria to use

showHelpDialog

public void showHelpDialog(java.lang.String helpfile)
Shows the help dialog with the requested page to use as start page

Parameters:
helpfile - the page to show when the dialog is visible

main

public static void main(java.lang.String[] args)
The main method of the program. Instantiates a Parseq object.

Parameters:
args - the arguments given. Not used.