org.proteinshader.gui.listeners.menubar
Class StyleMenuListenerFactory

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

public class StyleMenuListenerFactory
extends Object

Creates all event listeners needed by the StyleMenu of the MainMenuBar.


Constructor Summary
StyleMenuListenerFactory(Mediator mediator)
          Constructs a StyleMenuListenerFactory.
 
Method Summary
 ActionListener createRadioButtonListener()
          Creates the action listener for all radio buttons in the StyleMenu.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleMenuListenerFactory

public StyleMenuListenerFactory(Mediator mediator)
Constructs a StyleMenuListenerFactory.

Parameters:
mediator - the centralized Mediator object that listeners call on to accomplish their task.
Method Detail

createRadioButtonListener

public ActionListener createRadioButtonListener()
Creates the action listener for all radio buttons in the StyleMenu.

Returns:
The action listener.


Copyright © 2007-2008