[Ejtools-cvs] CVS: libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/window CascadeAction.j
Brought to you by:
letiemble
Update of /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/window In directory usw-pr-cvs1:/tmp/cvs-serv9585/window Added Files: CascadeAction.java CloseAction.java CloseAllAction.java InternalFrameAction.java TileAction.java Log Message: Initial Import --- NEW FILE: CascadeAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.awt.action.window; import java.util.ResourceBundle; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.CommandAction; /** * Description of the Class * * @author laurent * @created 29 décembre 2001 * @todo Javadoc to complete */ public class CascadeAction extends CommandAction { private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** * Constructor for the CascadeAction object * * @param command Description of Parameter */ public CascadeAction(Command command) { super(command, res, "action.window.cascade"); this.setMenu("action.window"); } } --- NEW FILE: CloseAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.awt.action.window; import java.util.ResourceBundle; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.CommandAction; import net.sourceforge.ejtools.awt.services.MenuBarService; /** * Description of the Class * * @author laurent * @created 29 décembre 2001 * @todo Javadoc to complete */ public class CloseAction extends CommandAction { private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** * Constructor for the CloseAction object * * @param command Description of Parameter */ public CloseAction(Command command) { super(command, res, "action.window.close"); this.setMenu("action.window"); } } --- NEW FILE: CloseAllAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.awt.action.window; import java.util.ResourceBundle; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.CommandAction; import net.sourceforge.ejtools.awt.services.MenuBarService; /** * Description of the Class * * @author laurent * @created 11 janvier 2002 * @todo Javadoc to complete */ public class CloseAllAction extends CommandAction { private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** * Constructor for the CascadeAction object * * @param command Description of Parameter */ public CloseAllAction(Command command) { super(command, res, "action.window.close.all"); this.setMenu("action.window"); this.setMenuLayout(MenuBarService.SEPARATOR_AFTER); } } --- NEW FILE: InternalFrameAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.awt.action.window; import java.util.ResourceBundle; import javax.swing.JMenuItem; import javax.swing.JRadioButtonMenuItem; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.CommandAction; /** * Description of the Class * * @author laurent * @created 29 décembre 2001 * @todo Javadoc to complete */ public class InternalFrameAction extends CommandAction { private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** * Constructor for the InternalFrameAction object * * @param command Description of Parameter */ public InternalFrameAction(Command command) { super(command, res, "action.window.frame"); this.setMenu("action.window"); } /** * Gets the menuItem attribute of the InternalFrameAction object * * @return The menuItem value */ public JMenuItem getMenuItem() { if (menuitem == null) { menuitem = new JRadioButtonMenuItem(this); } return this.menuitem; } } --- NEW FILE: TileAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.awt.action.window; import java.util.ResourceBundle; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.CommandAction; /** * Description of the Class * * @author laurent * @created 29 décembre 2001 * @todo Javadoc to complete */ public class TileAction extends CommandAction { private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** * Constructor for the TileAction object * * @param command Description of Parameter */ public TileAction(Command command) { super(command, res, "action.window.tile"); this.setMenu("action.window"); } } |