org.xwiki.gwt.user.client
Interface HasActionHandlers

All Superinterfaces:
com.google.gwt.event.shared.HasHandlers
All Known Implementing Classes:
RichTextArea

public interface HasActionHandlers
extends com.google.gwt.event.shared.HasHandlers

Interface to register action handlers.

Version:
$Id: 2bca1b1d644ead6c530e7e6920468928283ec52d $

Method Summary
 com.google.gwt.event.shared.HandlerRegistration addActionHandler(String actionName, ActionHandler handler)
          Registers the given handler for the specified action.
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Method Detail

addActionHandler

com.google.gwt.event.shared.HandlerRegistration addActionHandler(String actionName,
                                                                 ActionHandler handler)
Registers the given handler for the specified action.

Parameters:
actionName - the name of the action to listen to
handler - the object to be notified when the specified action occurs
Returns:
the registration for the event, to be used for removing the handler


Copyright © 2004-2012 XWiki. All Rights Reserved.