Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`MultipleHandlerRegistration(HandlerRegistration... registrations)` Creates a new `MultipleHandlerRegistration` with the specified registrations.

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`

Constructor Detail

### MultipleHandlerRegistration

    public MultipleHandlerRegistration(HandlerRegistration... registrations)

  Creates a new `MultipleHandlerRegistration` with the specified registrations.

Method Detail

### removeHandler

    public void removeHandler()

  Invokes `HandlerRegistration.removeHandler()` on all the registrations.

  Specified by:
    `removeHandler` in interface `com.google.web.bindery.event.shared.HandlerRegistration`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD