Save This Page
Home » openjdk-7 » net.sf.raptor » ui » dialog » [javadoc | source]
    1   /*********************************************************************************
    2    *                                                                               *
    3    * Raptor - Rapid prototyping of Swing GUIs based on JavaBeans like Java objects *
    4    * Copyright (C) 2003  XCOM AG                                                   *
    5    *                                                                               *
    6    * This library is free software; you can redistribute it and/or                 *
    7    * modify it under the terms of the GNU Lesser General Public                    *
    8    * License as published by the Free Software Foundation; either                  *
    9    * version 2.1 of the License, or (at your option) any later version.            *
   10    *                                                                               *
   11    * This library is distributed in the hope that it will be useful,               *
   12    * but WITHOUT ANY WARRANTY; without even the implied warranty of                *
   13    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU             *
   14    * Lesser General Public License for more details.                               *
   15    *                                                                               *
   16    * You should have received a copy of the GNU Lesser General Public              *
   17    * License along with this library; if not, write to the Free Software           *
   18    * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA     *
   19    *                                                                               *
   20    *********************************************************************************/
   21   package net.sf.raptor.ui.dialog;
   22   
   23   import java.awt.Dialog;
   24   import java.awt.Frame;
   25   
   26   /**
   27    * @author thomasg
   28    *
   29    * To change the template for this generated type comment go to
   30    * Window>Preferences>Java>Code Generation>Code and Comments
   31    */
   32   public class OKCancelDialog extends OKDialog {
   33   
   34   	/**
   35   	 * 
   36   	 */
   37   	public OKCancelDialog() {
   38   		super();
   39   		// TODO Auto-generated constructor stub
   40   	}
   41   
   42   	/**
   43   	 * @param owner
   44   	 */
   45   	public OKCancelDialog(Frame owner) {
   46   		super(owner);
   47   		// TODO Auto-generated constructor stub
   48   	}
   49   
   50   	/**
   51   	 * @param owner
   52   	 * @param modal
   53   	 */
   54   	public OKCancelDialog(Frame owner, boolean modal) {
   55   		super(owner, modal);
   56   		// TODO Auto-generated constructor stub
   57   	}
   58   
   59   	/**
   60   	 * @param owner
   61   	 * @param title
   62   	 */
   63   	public OKCancelDialog(Frame owner, String title) {
   64   		super(owner, title);
   65   		// TODO Auto-generated constructor stub
   66   	}
   67   
   68   	/**
   69   	 * @param owner
   70   	 * @param title
   71   	 * @param modal
   72   	 */
   73   	public OKCancelDialog(Frame owner, String title, boolean modal) {
   74   		super(owner, title, modal);
   75   		// TODO Auto-generated constructor stub
   76   	}
   77   
   78   	/**
   79   	 * @param owner
   80   	 */
   81   	public OKCancelDialog(Dialog owner) {
   82   		super(owner);
   83   		// TODO Auto-generated constructor stub
   84   	}
   85   
   86   	/**
   87   	 * @param owner
   88   	 * @param modal
   89   	 */
   90   	public OKCancelDialog(Dialog owner, boolean modal) {
   91   		super(owner, modal);
   92   		// TODO Auto-generated constructor stub
   93   	}
   94   
   95   	/**
   96   	 * @param owner
   97   	 * @param title
   98   	 */
   99   	public OKCancelDialog(Dialog owner, String title) {
  100   		super(owner, title);
  101   		// TODO Auto-generated constructor stub
  102   	}
  103   
  104   	/**
  105   	 * @param owner
  106   	 * @param title
  107   	 * @param modal
  108   	 */
  109   	public OKCancelDialog(Dialog owner, String title, boolean modal) {
  110   		super(owner, title, modal);
  111   		// TODO Auto-generated constructor stub
  112   	}
  113   	
  114   	public void doCancelAction() {
  115   		returnValue=null;
  116   		hide();
  117   	}
  118   
  119   	public void doSomethingAction() {
  120   		System.out.println("something");
  121   	}
  122   }

Save This Page
Home » openjdk-7 » net.sf.raptor » ui » dialog » [javadoc | source]