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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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()