Package | Description |
---|---|
org.bushe.swing.event |
The main package, provides publish/subscribe services for Swing and non-Swing applications.
|
org.bushe.swing.event.annotation |
EventBus annotations to make it much simpler to publish and subscribe to events.
|
Modifier and Type | Class and Description |
---|---|
class |
SwingEventService
An
EventService implementation for Swing. |
class |
ThreadSafeEventService
A thread-safe EventService implementation.
|
Modifier and Type | Method and Description |
---|---|
EventService |
ContainerEventServiceRegistrar.getContainerEventService() |
EventService |
ContainerEventServiceSupplier.getContainerEventService() |
static EventService |
EventServiceLocator.getEventBusService() |
protected EventService |
EventBusAction.getEventService(ActionEvent event) |
protected EventService |
ContainerEventServiceAction.getEventService(ActionEvent event) |
protected abstract EventService |
EventServiceAction.getEventService(ActionEvent event)
Override to return the EventService on which to publish.
|
static EventService |
ContainerEventServiceFinder.getEventService(Component component)
Walks the component's parents until it find an ContainerEventServiceSupplier and returns the supplier's
EventService.
|
static EventService |
EventServiceLocator.getEventService(String serviceName) |
static EventService |
EventBus.getGlobalEventService()
The EventBus uses a global static EventService.
|
static EventService |
EventServiceLocator.getSwingEventService() |
Modifier and Type | Method and Description |
---|---|
static void |
EventServiceLocator.setEventService(String serviceName,
EventService es)
Registers a named EventService to the locator.
|
Modifier and Type | Method and Description |
---|---|
EventService |
AbstractProxySubscriber.getEventService() |
Constructor and Description |
---|
AbstractProxySubscriber(Object proxiedSubscriber,
Method subscriptionMethod,
ReferenceStrength referenceStrength,
EventService es,
boolean veto) |
AbstractProxySubscriber(Object proxiedSubscriber,
Method subscriptionMethod,
ReferenceStrength referenceStrength,
int priority,
EventService es,
boolean veto) |
BaseProxySubscriber(Object proxiedSubscriber,
Method subscriptionMethod,
ReferenceStrength referenceStrength,
EventService es,
Class subscription,
boolean veto)
Creates a proxy.
|
BaseProxySubscriber(Object proxiedSubscriber,
Method subscriptionMethod,
ReferenceStrength referenceStrength,
int priority,
EventService es,
Class subscription,
boolean veto)
Creates a proxy with a priority.
|
ProxyTopicPatternSubscriber(Object proxiedSubscriber,
Method subscriptionMethod,
ReferenceStrength referenceStrength,
EventService es,
String patternString,
Pattern pattern,
boolean veto)
Creates a proxy.
|
ProxyTopicPatternSubscriber(Object proxiedSubscriber,
Method subscriptionMethod,
ReferenceStrength referenceStrength,
int priority,
EventService es,
String patternString,
Pattern pattern,
boolean veto)
Creates a proxy.
|
ProxyTopicSubscriber(Object proxiedSubscriber,
Method subscriptionMethod,
ReferenceStrength referenceStrength,
EventService es,
String topic,
boolean veto)
Creates a proxy.
|
ProxyTopicSubscriber(Object proxiedSubscriber,
Method subscriptionMethod,
ReferenceStrength referenceStrength,
int priority,
EventService es,
String topic,
boolean veto)
Creates a proxy.
|
Copyright © 2013 Bushe Enterprises, Inc.. All Rights Reserved.