|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.web.bindery.event.shared.HandlerRegistrations
public class HandlerRegistrations
A utility class to help deal with handler registrations
.
Method Summary | |
---|---|
static HandlerRegistration |
compose(HandlerRegistration... handlers)
Create and return a HandlerRegistration that will call
HandlerRegistration.removeHandler() on all supplied handlers if
HandlerRegistration.removeHandler() is called on the returned object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static HandlerRegistration compose(HandlerRegistration... handlers)
HandlerRegistration
that will call
HandlerRegistration.removeHandler()
on all supplied handlers if
HandlerRegistration.removeHandler()
is called on the returned object.
A simple example:
HandlerRegistration hr1 = ...
HandlerRegistration hr2 = ...
return HandlerRegistrations.compose(hr1, hr2);
handlers
- the handler registrations
that should be composed
into a single HandlerRegistration
HandlerRegistration
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |