HasBeforeSelectionHandlers<T> abstract class
A widget that implements this interface is a public source of {@link BeforeSelectionEvent} events.
@param <T> the type about to be selected
abstract class HasBeforeSelectionHandlers<T> extends HasHandlers { /** * Adds a {@link BeforeSelectionEvent} handler. * * @param handler the handler * @return the registration for the event */ HandlerRegistration addBeforeSelectionHandler(BeforeSelectionHandler<T> handler); }
Extends
HasHandlers > HasBeforeSelectionHandlers<T>
Subclasses
StackLayoutPanel, TabBar, TabLayoutPanel, TabPanel
Methods
abstract HandlerRegistration addBeforeSelectionHandler(BeforeSelectionHandler<T> handler) #
Adds a {@link BeforeSelectionEvent} 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