org.jscroll.widgets
Class ConstructWindowMenu

java.lang.Object
  |
  +--org.jscroll.widgets.ConstructWindowMenu
All Implemented Interfaces:
ActionListener, EventListener

public class ConstructWindowMenu
extends Object
implements ActionListener

This class constructs the "Window" menu items for use by DesktopMenu.

Version:
1.0 11-Aug-2001
Author:
Tom Tessier

Constructor Summary
ConstructWindowMenu(JMenu sourceMenu, DesktopMediator desktopMediator, boolean tileMode)
          creates the ConstructWindowMenu object.
 
Method Summary
 void actionPerformed(ActionEvent e)
          propogates actionPerformed menu event to the DesktopMediator reference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstructWindowMenu

public ConstructWindowMenu(JMenu sourceMenu,
                           DesktopMediator desktopMediator,
                           boolean tileMode)
creates the ConstructWindowMenu object.

Parameters:
sourceMenu - the source menu to apply the menu items
desktopMediator - a reference to the DesktopMediator
tileMode - the current tile mode (tile or cascade)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
propogates actionPerformed menu event to the DesktopMediator reference

Specified by:
actionPerformed in interface ActionListener
Parameters:
e - the ActionEvent to propogate


Copyright © 2001-2003 JScroll.org. All Rights Reserved.