HasSelectionHandlers<T> abstract class
A widget that implements this interface is a public source of {@link SelectionEvent} events.
@param <T> the type being selected
abstract class HasSelectionHandlers<T> extends HasHandlers { /** * Adds a {@link SelectionEvent} handler. * * @param handler the handler * @return the registration for the event */ HandlerRegistration addSelectionHandler(SelectionHandler<T> handler); }
Extends
HasHandlers > HasSelectionHandlers<T>
Subclasses
StackLayoutPanel, TabBar, TabLayoutPanel, TabPanel, Tree
Methods
abstract HandlerRegistration addSelectionHandler(SelectionHandler<T> handler) #
Adds a {@link SelectionEvent} handler.
@param handler the handler @return the registration for the event
abstract void fireEvent(DwtEvent event) #
inherited from HasHandlers
Fires the given event to the handlers listening to the event's type.
Any exceptions thrown by handlers will be bundled into a UmbrellaException and then re-thrown after all handlers have completed. An exception thrown by a handler will not prevent other handlers from executing.
@param event the event