edu.mayo.bsi.ngsportal.client
Class CommandClickHandler

java.lang.Object
  extended by edu.mayo.bsi.ngsportal.client.CommandClickHandler
All Implemented Interfaces:
com.google.gwt.core.client.Scheduler.ScheduledCommand, com.google.gwt.event.shared.EventHandler, com.google.gwt.user.client.Command, com.smartgwt.client.widgets.form.fields.events.ClickHandler

public class CommandClickHandler
extends Object
implements com.google.gwt.user.client.Command, com.smartgwt.client.widgets.events.ClickHandler, com.google.gwt.event.dom.client.ClickHandler, com.smartgwt.client.widgets.form.fields.events.ClickHandler

@author Gregory Dougherty


Constructor Summary
CommandClickHandler(com.google.gwt.user.client.Command theCommand, com.smartgwt.client.widgets.Window dialogBox)
           
CommandClickHandler(com.google.gwt.user.client.Command theCommand, com.smartgwt.client.widgets.Window dialogBox, Validate validator)
           
 
Method Summary
 void execute()
           
 void onClick(com.smartgwt.client.widgets.events.ClickEvent event)
           
 void onClick(com.google.gwt.event.dom.client.ClickEvent event)
           
 void onClick(com.smartgwt.client.widgets.form.fields.events.ClickEvent event)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandClickHandler

public CommandClickHandler(com.google.gwt.user.client.Command theCommand,
                           com.smartgwt.client.widgets.Window dialogBox)
Parameters:
theCommand - Command to execute, can be null
dialogBox - Dialog Box to hide

CommandClickHandler

public CommandClickHandler(com.google.gwt.user.client.Command theCommand,
                           com.smartgwt.client.widgets.Window dialogBox,
                           Validate validator)
Parameters:
theCommand - Command to execute, can be null
dialogBox - Dialog Box to hide
validator - Routine to call to figure out if the dialog is read to be finished
Method Detail

onClick

public void onClick(com.smartgwt.client.widgets.events.ClickEvent event)

onClick

public void onClick(com.google.gwt.event.dom.client.ClickEvent event)

onClick

public void onClick(com.smartgwt.client.widgets.form.fields.events.ClickEvent event)
Specified by:
onClick in interface com.smartgwt.client.widgets.form.fields.events.ClickHandler

execute

public void execute()
Specified by:
execute in interface com.google.gwt.core.client.Scheduler.ScheduledCommand
Specified by:
execute in interface com.google.gwt.user.client.Command