public interface VetoEventListener<T>
EventService
.Modifier and Type | Method and Description |
---|---|
boolean |
shouldVeto(T event)
Determine whether an event should be vetoed or published.
|
boolean shouldVeto(T event)
Prerequisite: VetoEventListener has to be subscribed with the EventService for the event object's class.
Guaranteed to be
called in the SwingEventThread when using the SwingEventService (EventBus). See EventService
event
- The event object to veto or allow to be published.Copyright © 2013 Bushe Enterprises, Inc.. All rights reserved.