org.xwiki.gwt.user.client
Class ClickCommand

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

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

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

Version:
$Id: ClickCommand.java 26632 2010-02-03 11:13:13Z mflorea $

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.user.client.Command
See Also:
Command.execute()


Copyright © 2004-2011 XWiki. All Rights Reserved.