org.proteinshader.gui.listeners.menubar
Class ToolsMenuListenerFactory
java.lang.Object
org.proteinshader.gui.listeners.menubar.ToolsMenuListenerFactory
public class ToolsMenuListenerFactory
- extends Object
Creates all event listeners needed by the ToolsMenu of the
MainMenuBar.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToolsMenuListenerFactory
public ToolsMenuListenerFactory(Mediator mediator)
- Constructs a ToolsMenuListenerFactory.
- Parameters:
mediator
- the centralized Mediator object that listeners
call on to accomplish their task.
createControlPanelCheckBoxListener
public ItemListener createControlPanelCheckBoxListener()
- Creates an item listener for the "Control Panel" check box menu
item. When the item listener is called, it will open the control
panel frame if the check box is selected or hide it if the check
box is deselected.
- Returns:
- The item listener.
Copyright © 2007-2008