jadex.swing.map
Class OpenFileAction

java.lang.Object
  |
  +--jadex.swing.map.OpenFileAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class OpenFileAction
extends java.lang.Object
implements java.awt.event.ActionListener

This ActionListener is used to open a genetic_map file in the MapView menubar.


Constructor Summary
OpenFileAction()
          Creates new OpenFileAction
OpenFileAction(javax.swing.JFrame f, MapView view)
          An overloaded constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent p1)
          Actual method to open the file.
 java.lang.Object[][] getIntervals()
           
 java.lang.Object[][] getLoci()
           
 java.lang.Object[][] getMarkers()
           
 void processFile(java.io.File file)
          Processing the file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenFileAction

public OpenFileAction()
Creates new OpenFileAction

OpenFileAction

public OpenFileAction(javax.swing.JFrame f,
                      MapView view)
An overloaded constructor.
Parameters:
f - the JFrame displaying the Genetic_map.
view - the MapView.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent p1)
Actual method to open the file.
Specified by:
actionPerformed in interface java.awt.event.ActionListener

processFile

public void processFile(java.io.File file)
Processing the file

getMarkers

public java.lang.Object[][] getMarkers()

getLoci

public java.lang.Object[][] getLoci()

getIntervals

public java.lang.Object[][] getIntervals()