org.proteinshader.gui.listeners.controlpanel
Class ModifierPanelListenerFactory

java.lang.Object
  extended by org.proteinshader.gui.listeners.controlpanel.ModifierPanelListenerFactory

public class ModifierPanelListenerFactory
extends Object

Creates the listener for the control panel menu of the ModifierPanel.


Constructor Summary
ModifierPanelListenerFactory(ModifierPanel modifier)
          Constructs a ModifierPanelListenerFactory.
 
Method Summary
 ActionListener createControlsMenuListener()
          Creates an action listener for the menu of control panels.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModifierPanelListenerFactory

public ModifierPanelListenerFactory(ModifierPanel modifier)
Constructs a ModifierPanelListenerFactory.

Parameters:
modifier - the ModifierPanel that this class create a listener for.
Method Detail

createControlsMenuListener

public ActionListener createControlsMenuListener()
Creates an action listener for the menu of control panels. When the action listener is called, it will reset which control panel is displayed in the ModifierPanel.

Returns:
The action listener.


Copyright © 2007-2008