org.proteinshader.gui.listeners.menubar
Class OrientationMenuListenerFactory
java.lang.Object
org.proteinshader.gui.listeners.menubar.OrientationMenuListenerFactory
public class OrientationMenuListenerFactory
- extends Object
Creates all event listeners needed by the OrientationMenu of the
MainMenuBar.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrientationMenuListenerFactory
public OrientationMenuListenerFactory(Mediator mediator)
- Constructs a OrientationMenuListenerFactory.
- Parameters:
mediator
- the centralized Mediator object that listeners
call on to accomplish their task.
createOrientationMenuItemsListener
public ActionListener createOrientationMenuItemsListener()
- Creates an action listener for the OrientationEnum menu items. When
the action listener is called, it call on the setImageOrientation()
method of the Mediator.
- Returns:
- The action listener.
Copyright © 2007-2008