com.maryanovsky.gwtutils.client.event
Class MultipleHandlerRegistration
java.lang.Object
com.maryanovsky.gwtutils.client.event.MultipleHandlerRegistration
- All Implemented Interfaces:
- com.google.web.bindery.event.shared.HandlerRegistration
public class MultipleHandlerRegistration
- extends Object
- implements HandlerRegistration
An implementation of HandlerRegistration
which holds a collection of
registrations and invokes their HandlerRegistration.removeHandler()
method when its own method is invoked.
- Author:
- Maryanovsky Alexander
Method Summary |
void |
removeHandler()
Invokes HandlerRegistration.removeHandler() on all the
registrations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipleHandlerRegistration
public MultipleHandlerRegistration(HandlerRegistration... registrations)
- Creates a new
MultipleHandlerRegistration
with the specified
registrations.
removeHandler
public void removeHandler()
- Invokes
HandlerRegistration.removeHandler()
on all the
registrations.
- Specified by:
removeHandler
in interface com.google.web.bindery.event.shared.HandlerRegistration