org.proteinshader.gui.listeners.menubar
Class AboutBoxListenerFactory

java.lang.Object
  extended by org.proteinshader.gui.listeners.menubar.AboutBoxListenerFactory

public class AboutBoxListenerFactory
extends Object

Creates the event listeners needed by the AboutBox.


Constructor Summary
AboutBoxListenerFactory(AboutBox aboutBox)
          Constructs a AboutBoxListenerFactory.
 
Method Summary
 ActionListener createCloseButtonListener()
          Creates an action listener for the 'Close' button.
 ActionListener createWebSiteButtonListener()
          Creates an action listener for the 'Go to Web Site' button.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AboutBoxListenerFactory

public AboutBoxListenerFactory(AboutBox aboutBox)
Constructs a AboutBoxListenerFactory.

Parameters:
aboutBox - the dialog box this class will create listeners for.
Method Detail

createCloseButtonListener

public ActionListener createCloseButtonListener()
Creates an action listener for the 'Close' button.

Returns:
The action listener.

createWebSiteButtonListener

public ActionListener createWebSiteButtonListener()
Creates an action listener for the 'Go to Web Site' button.

Returns:
The action listener.


Copyright © 2007-2008