org.xwiki.gwt.user.client
Class ClickCommand

java.lang.Object
  extended by org.xwiki.gwt.user.client.ClickCommand
All Implemented Interfaces:
com.google.gwt.core.client.Scheduler.ScheduledCommand, com.google.gwt.user.client.Command

public final class ClickCommand
extends Object
implements com.google.gwt.user.client.Command

A command that simulates a click when executed. Click commands can be associated with shortcut keys.


Constructor Summary
ClickCommand(com.google.gwt.event.dom.client.HasClickHandlers clickable)
          Creates a new click command that will simulate a click on the specified object when executed.
 
Method Summary
 void execute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClickCommand

public ClickCommand(com.google.gwt.event.dom.client.HasClickHandlers clickable)
Creates a new click command that will simulate a click on the specified object when executed.

Parameters:
clickable - an object that can be clicked
Method Detail

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