AddWindowUnloadHandlerCommand.java :  » Scripting » echo3ext20 » org » sgodden » echo » ext20 » command » Java Open Source

Java Open Source » Scripting » echo3ext20 
echo3ext20 » org » sgodden » echo » ext20 » command » AddWindowUnloadHandlerCommand.java
package org.sgodden.echo.ext20.command;

import nextapp.echo.app.Command;

/**
 * A Web Application <code>Command</code> to inform the user that a window is
 * about to be closed.
 */
public class AddWindowUnloadHandlerCommand implements Command {
  /**
   * The message to display to the user before the window is closed.
   */
  private String unloadMessageText;

  public AddWindowUnloadHandlerCommand(String unloadMessageText) {
    super();
    this.unloadMessageText = unloadMessageText;
  }

  public String getUnloadMessageText() {
    return this.unloadMessageText;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.