Package ar.com.AmberSoft.iEvenTask.client

Source Code of ar.com.AmberSoft.iEvenTask.client.CancelButton

package ar.com.AmberSoft.iEvenTask.client;

import com.extjs.gxt.ui.client.event.ComponentEvent;
import com.extjs.gxt.ui.client.event.SelectionListener;
import com.extjs.gxt.ui.client.widget.button.Button;
@SuppressWarnings({"rawtypes","unchecked"})
public class CancelButton extends Button {
 
  public static String CANCEL = "Cancelar";
 
  public CancelButton(final Window window){
    super(CANCEL, new SelectionListener() {

      @Override
      public void componentSelected(ComponentEvent ce) {
        window.onCancel();
      }

    });
  }
 
 
}
TOP

Related Classes of ar.com.AmberSoft.iEvenTask.client.CancelButton

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.