fi.hut.tml.xsmiles.gui.components.swing
Class XAMenuListener

java.lang.Object
  extended byfi.hut.tml.xsmiles.gui.components.swing.XAMenuListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

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


Constructor Summary
XAMenuListener(BrowserWindow b)
          A generic listener for gui dropdown menus
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
static java.net.URL toURL(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XAMenuListener

public XAMenuListener(BrowserWindow b)
A generic listener for gui dropdown menus

Parameters:
b - the browser
Method Detail

actionPerformed

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

toURL

public static java.net.URL toURL(java.io.File file)
                          throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException


X-Smiles 1.2