org.proteinshader.gui.listeners
Class WindowListenerFactory
java.lang.Object
org.proteinshader.gui.listeners.WindowListenerFactory
public class WindowListenerFactory
- extends Object
Creates a window listener for closing the retractable control panel
that opens on the right-side of the GUI.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowListenerFactory
public WindowListenerFactory(Mediator mediator)
- Constructs a WindowListenerFactory.
- Parameters:
mediator
- the centralized Mediator object that listeners
call on to accomplish their task.
createControlFrameListener
public WindowListener createControlFrameListener()
- Creates a window listener for the spring-loaded frame that holds
the control panel. When the frame's close box is clicked, the
spring-loaded frame will be closed using animation.
- Returns:
- The window listener.
Copyright © 2007-2008