org.xwiki.gwt.user.client
Class ClickCommand
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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