- callingStackTrace - Variable in exception org.bushe.swing.exception.SwingException
-
- CLEANUP_PERIOD_MS_DEFAULT - Static variable in class org.bushe.swing.event.ThreadSafeEventService
-
- CLEANUP_START_THRESHOLD_DEFAULT - Static variable in class org.bushe.swing.event.ThreadSafeEventService
-
- CLEANUP_STOP_THRESHOLD_DEFAULT - Static variable in class org.bushe.swing.event.ThreadSafeEventService
-
- CleanupEvent - Class in org.bushe.swing.event
-
Published when the ThreadSafeEventService cleans up stale subscribers.
- CleanupEvent(CleanupEvent.Status, int, Integer) - Constructor for class org.bushe.swing.event.CleanupEvent
-
- CleanupEvent.Status - Enum in org.bushe.swing.event
-
The status of the cleanup.
- clearAllSubscribers() - Static method in class org.bushe.swing.event.EventBus
-
- clearAllSubscribers() - Method in interface org.bushe.swing.event.EventService
-
Clears all current subscribers and veto subscribers
- clearAllSubscribers() - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- clearCache(Class) - Static method in class org.bushe.swing.event.EventBus
-
- clearCache(String) - Static method in class org.bushe.swing.event.EventBus
-
- clearCache(Pattern) - Static method in class org.bushe.swing.event.EventBus
-
- clearCache() - Static method in class org.bushe.swing.event.EventBus
-
- clearCache(Class) - Method in interface org.bushe.swing.event.EventService
-
Clears the event cache for a specific event class or interface and it's any of it's subclasses or implementing
classes.
- clearCache(String) - Method in interface org.bushe.swing.event.EventService
-
Clears the topic data cache for a specific topic name.
- clearCache(Pattern) - Method in interface org.bushe.swing.event.EventService
-
Clears the topic data cache for all topics that match a particular pattern.
- clearCache() - Method in interface org.bushe.swing.event.EventService
-
Clear all event caches for all topics and event.
- clearCache(Class) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Clears the event cache for a specific event class or interface and it's any of it's subclasses or implementing
classes.
- clearCache(String) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Clears the topic data cache for a specific topic name.
- clearCache(Pattern) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Clears the topic data cache for all topics that match a particular pattern.
- clearCache() - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Clear all event caches for all topics and event.
- CLIENT_PROPERTY_KEY_TOP_LEVEL_EVENT_SERVICE - Static variable in class org.bushe.swing.event.ContainerEventServiceFinder
-
The client property used to put a new SwingEventService on top-level components.
- ContainerEventServiceAction - Class in org.bushe.swing.event
-
When fired, this action publishes an ActionEvent on a Container EventService.
- ContainerEventServiceAction() - Constructor for class org.bushe.swing.event.ContainerEventServiceAction
-
- ContainerEventServiceAction(String, ImageIcon) - Constructor for class org.bushe.swing.event.ContainerEventServiceAction
-
- ContainerEventServiceFinder - Class in org.bushe.swing.event
-
This class finds a component's container event service, and creates one if necessary and possible.
- ContainerEventServiceFinder() - Constructor for class org.bushe.swing.event.ContainerEventServiceFinder
-
- ContainerEventServiceRegistrar - Class in org.bushe.swing.event
-
Registers a component with it's Container's EventService while keeping track of the component's container.
- ContainerEventServiceRegistrar(JComponent) - Constructor for class org.bushe.swing.event.ContainerEventServiceRegistrar
-
Create a registrar that will keep track of the container event service, typically used in the publish-only cases
where the getContainerEventServer() call will be made before publication.
- ContainerEventServiceRegistrar(JComponent, EventSubscriber, Class) - Constructor for class org.bushe.swing.event.ContainerEventServiceRegistrar
-
Create a registrar that will keep track of the container event service, and subscribe the subscriber to the
eventClass when the ContainerEventService is available and when it changes.
- ContainerEventServiceRegistrar(JComponent, EventTopicSubscriber, String) - Constructor for class org.bushe.swing.event.ContainerEventServiceRegistrar
-
Create a registrar that will keep track of the container event service, and subscribe the subscriber to the topic
when the ContainerEventService is available and when it changes.
- ContainerEventServiceRegistrar(JComponent, EventSubscriber, Class[]) - Constructor for class org.bushe.swing.event.ContainerEventServiceRegistrar
-
Create a registrar that will keep track of the container event service, and subscribe the subscriber to the event
classes when the ContainerEventService is available and when it changes.
- ContainerEventServiceRegistrar(JComponent, EventTopicSubscriber, String[]) - Constructor for class org.bushe.swing.event.ContainerEventServiceRegistrar
-
Create a registrar that will keep track of the container event service, and subscribeStrongly the subscriber to
the topics when the ContainerEventService is available and when it changes.
- ContainerEventServiceRegistrar(JComponent, EventSubscriber, Class[], EventTopicSubscriber, String[]) - Constructor for class org.bushe.swing.event.ContainerEventServiceRegistrar
-
Create a registrar that will keep track of the container event service, and subscribe the subscriber to the topics
and the event classes when the ContainerEventService is available and when it changes.
- ContainerEventServiceSupplier - Interface in org.bushe.swing.event
-
A interface implemented by a Swing Container to supply an EventService local to it's child components.
- getCachedEvents(Class<T>) - Static method in class org.bushe.swing.event.EventBus
-
- getCachedEvents(Class<T>) - Method in interface org.bushe.swing.event.EventService
-
When caching, returns the last set of event published for the type supplied.
- getCachedEvents(Class) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getCachedTopicData(String) - Static method in class org.bushe.swing.event.EventBus
-
- getCachedTopicData(String) - Method in interface org.bushe.swing.event.EventService
-
When caching, returns the last set of payload objects published on the topic name supplied.
- getCachedTopicData(String) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getCacheSizeForEventClass(Class) - Static method in class org.bushe.swing.event.EventBus
-
- getCacheSizeForEventClass(Class) - Method in interface org.bushe.swing.event.EventService
-
Returns the number of events cached for a particular class of event.
- getCacheSizeForEventClass(Class) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Returns the number of events cached for a particular class of event.
- getCacheSizeForTopic(String) - Static method in class org.bushe.swing.event.EventBus
-
- getCacheSizeForTopic(String) - Method in interface org.bushe.swing.event.EventService
-
Returns the number of cached data objects published on a particular topic.
- getCacheSizeForTopic(String) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Returns the number of cached data objects published on a particular topic.
- getCallingStack() - Method in exception org.bushe.swing.exception.SwingException
-
Client exceptions often have two stacks - one thread causes the posting of an action on another thread - usually
the Swing EDT thread.
- getCleanupPeriodMS() - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Get the cleanup interval.
- getCleanupStartThreshhold() - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Gets the threshold above which cleanup starts.
- getCleanupStopThreshold() - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Gets the threshold below which cleanup stops.
- getContainerEventService() - Method in class org.bushe.swing.event.ContainerEventServiceRegistrar
-
- getContainerEventService() - Method in interface org.bushe.swing.event.ContainerEventServiceSupplier
-
- getDefaultCacheSizePerClassOrTopic() - Static method in class org.bushe.swing.event.EventBus
-
- getDefaultCacheSizePerClassOrTopic() - Method in interface org.bushe.swing.event.EventService
-
The default number of events or payloads kept per event class or topic
- getDefaultCacheSizePerClassOrTopic() - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getEnd() - Method in class org.bushe.swing.event.SubscriberTimingEvent
-
- getEvent() - Method in class org.bushe.swing.event.SubscriberTimingEvent
-
- getEventBusService() - Static method in class org.bushe.swing.event.EventServiceLocator
-
- getEventObject() - Method in class org.bushe.swing.event.ObjectEvent
-
- getEventService() - Method in class org.bushe.swing.event.annotation.AbstractProxySubscriber
-
- getEventService(ActionEvent) - Method in class org.bushe.swing.event.ContainerEventServiceAction
-
- getEventService(Component) - Static method in class org.bushe.swing.event.ContainerEventServiceFinder
-
Walks the component's parents until it find an ContainerEventServiceSupplier and returns the supplier's
EventService.
- getEventService(ActionEvent) - Method in class org.bushe.swing.event.EventBusAction
-
- getEventService(ActionEvent) - Method in class org.bushe.swing.event.EventServiceAction
-
Override to return the EventService on which to publish.
- getEventService(String) - Static method in class org.bushe.swing.event.EventServiceLocator
-
- getEventServiceEvent(ActionEvent) - Method in class org.bushe.swing.event.EventServiceAction
-
If isPublishesOnTopic() returns false (i.e., when using class-based rather than topic-based publication), then
override this method to publish an on object other than the ActionEvent.
- getGlobalEventService() - Static method in class org.bushe.swing.event.EventBus
-
The EventBus uses a global static EventService.
- getLastEvent(Class<T>) - Static method in class org.bushe.swing.event.EventBus
-
- getLastEvent(Class<T>) - Method in interface org.bushe.swing.event.EventService
-
When caching, returns the last event publish for the type supplied.
- getLastEvent(Class) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getLastTopicData(String) - Static method in class org.bushe.swing.event.EventBus
-
- getLastTopicData(String) - Method in interface org.bushe.swing.event.EventService
-
When caching, returns the last payload published on the topic name supplied.
- getLastTopicData(String) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getLogger(String) - Static method in class org.bushe.swing.event.Logger
-
- getName() - Method in class org.bushe.swing.event.EventServiceAction
-
- getNumStaleSubscribersCleaned() - Method in class org.bushe.swing.event.CleanupEvent
-
Null unless status is FINISHED_CLEANING.
- getPriority() - Method in class org.bushe.swing.event.annotation.AbstractProxySubscriber
-
- getPriority() - Method in interface org.bushe.swing.event.Prioritized
-
- getProxiedSubscriber() - Method in class org.bushe.swing.event.annotation.AbstractProxySubscriber
-
- getProxiedSubscriber() - Method in interface org.bushe.swing.event.ProxySubscriber
-
- getPublicationStatus() - Method in class org.bushe.swing.event.AbstractEventServiceEvent
-
- getPublicationStatus() - Method in interface org.bushe.swing.event.PublicationStatusTracker
-
Implementations of this method must be made thread safe.
- getRealSubscriberAndCleanStaleSubscriberIfNecessary(Iterator, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Unsubscribe a subscriber if it is a stale ProxySubscriber.
- getReferenceStrength() - Method in class org.bushe.swing.event.annotation.AbstractProxySubscriber
-
- getReferenceStrength() - Method in interface org.bushe.swing.event.ProxySubscriber
-
- getSource() - Method in class org.bushe.swing.event.AbstractEventServiceEvent
-
- getSource() - Method in interface org.bushe.swing.event.EventServiceEvent
-
- getStart() - Method in class org.bushe.swing.event.SubscriberTimingEvent
-
- getStatus() - Method in class org.bushe.swing.event.CleanupEvent
-
- getSubscriber() - Method in class org.bushe.swing.event.SubscriberTimingEvent
-
- getSubscribers(Class<T>) - Static method in class org.bushe.swing.event.EventBus
-
- getSubscribers(Type) - Static method in class org.bushe.swing.event.EventBus
-
- getSubscribers(String) - Static method in class org.bushe.swing.event.EventBus
-
- getSubscribers(Pattern) - Static method in class org.bushe.swing.event.EventBus
-
- getSubscribers(Class<T>) - Method in interface org.bushe.swing.event.EventService
-
Union of getSubscribersToClass(Class) and getSubscribersToExactClass(Class)
- getSubscribers(Type) - Method in interface org.bushe.swing.event.EventService
-
Gets the subscribers that subscribed to a generic type.
- getSubscribers(String) - Method in interface org.bushe.swing.event.EventService
-
Union of getSubscribersByPattern(String) and geSubscribersToTopic(String)
- getSubscribers(Pattern) - Method in interface org.bushe.swing.event.EventService
-
Gets the subscribers that subscribed to a regular expression.
- getSubscribers(Class<T>) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getSubscribers(Type) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getSubscribers(String) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getSubscribers(Pattern) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getSubscribersByPattern(String) - Static method in class org.bushe.swing.event.EventBus
-
- getSubscribersByPattern(String) - Method in interface org.bushe.swing.event.EventService
-
Gets the subscribers that subscribed with a Pattern that matches the given topic.
- getSubscribersByPattern(String) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getSubscribersToClass(Class<T>) - Static method in class org.bushe.swing.event.EventBus
-
- getSubscribersToClass(Class<T>) - Method in interface org.bushe.swing.event.EventService
-
Gets subscribers that subscribed with the given a class, but not those subscribed exactly to the class.
- getSubscribersToClass(Class<T>) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getSubscribersToExactClass(Class<T>) - Static method in class org.bushe.swing.event.EventBus
-
- getSubscribersToExactClass(Class<T>) - Method in interface org.bushe.swing.event.EventService
-
Gets subscribers that are subscribed exactly to a class, but not those subscribed non-exactly to a class.
- getSubscribersToExactClass(Class<T>) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getSubscribersToPattern(Pattern) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getSubscribersToTopic(String) - Static method in class org.bushe.swing.event.EventBus
-
- getSubscribersToTopic(String) - Method in interface org.bushe.swing.event.EventService
-
Get the subscribers that subscribed to a topic.
- getSubscribersToTopic(String) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getSubscriptionMethod() - Method in class org.bushe.swing.event.annotation.AbstractProxySubscriber
-
- getSwingEventService() - Static method in class org.bushe.swing.event.EventServiceLocator
-
- getThrowsExceptionOnNullEventService() - Method in class org.bushe.swing.event.EventServiceAction
-
By default, exceptions are throw if getEventService() returns null.
- getTimeLimitMilliseconds() - Method in class org.bushe.swing.event.SubscriberTimingEvent
-
- getTopicName(ActionEvent) - Method in class org.bushe.swing.event.EventServiceAction
-
- getTopicValue(ActionEvent) - Method in class org.bushe.swing.event.EventServiceAction
-
By default, the ActionEvent is the object published on the topic.
- getTotalWeakRefsAndProxies() - Method in class org.bushe.swing.event.CleanupEvent
-
Total weak refs and ProxySubscribers subscribed.
- getType() - Method in class org.bushe.swing.event.generics.TypeReference
-
- getVetoEventListener() - Method in class org.bushe.swing.event.SubscriberTimingEvent
-
- getVetoEventListeners(String) - Static method in class org.bushe.swing.event.EventBus
-
- getVetoEventListeners(String) - Method in interface org.bushe.swing.event.EventService
-
- getVetoEventListeners(String) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getVetoSubscribers(Class<T>) - Static method in class org.bushe.swing.event.EventBus
-
- getVetoSubscribers(String) - Static method in class org.bushe.swing.event.EventBus
-
Deprecated.
use getVetoSubscribersToTopic instead for direct replacement,
or use getVetoEventListeners to get topic and pattern matchers.
In EventBus 2.0 this name will replace getVetoEventListeners()
and have it's union functionality
- getVetoSubscribers(Pattern) - Static method in class org.bushe.swing.event.EventBus
-
- getVetoSubscribers(Class<T>) - Method in interface org.bushe.swing.event.EventService
-
Gets veto subscribers that subscribed to a given class.
- getVetoSubscribers(Pattern) - Method in interface org.bushe.swing.event.EventService
-
Gets the veto subscribers that subscribed to a regular expression.
- getVetoSubscribers(String) - Method in interface org.bushe.swing.event.EventService
-
Deprecated.
use getVetoSubscribersToTopic instead for direct replacement,
or use getVetoEventListeners to get topic and pattern matchers.
In EventBus 2.0 this name will replace getVetoEventListeners()
and have it's union functionality
- getVetoSubscribers(Class<T>) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getVetoSubscribers(String) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Deprecated.
use getVetoSubscribersToTopic instead for direct replacement,
or use getVetoEventListeners to get topic and pattern matchers.
In EventBus 2.0 this name will replace getVetoEventListeners()
and have it's union functionality
- getVetoSubscribers(Pattern) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getVetoSubscribersByPattern(String) - Static method in class org.bushe.swing.event.EventBus
-
- getVetoSubscribersByPattern(String) - Method in interface org.bushe.swing.event.EventService
-
Gets the veto subscribers that are subscribed by pattern that match the topic.
- getVetoSubscribersByPattern(String) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getVetoSubscribersToClass(Class<T>) - Static method in class org.bushe.swing.event.EventBus
-
- getVetoSubscribersToClass(Class<T>) - Method in interface org.bushe.swing.event.EventService
-
Gets the veto subscribers that subscribed to a class.
- getVetoSubscribersToClass(Class<T>) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getVetoSubscribersToExactClass(Class<T>) - Static method in class org.bushe.swing.event.EventBus
-
- getVetoSubscribersToExactClass(Class<T>) - Method in interface org.bushe.swing.event.EventService
-
Get veto subscribers that subscribed to a given class exactly.
- getVetoSubscribersToExactClass(Class<T>) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- getVetoSubscribersToTopic(String) - Static method in class org.bushe.swing.event.EventBus
-
- getVetoSubscribersToTopic(String) - Method in interface org.bushe.swing.event.EventService
-
Gets the veto subscribers that subscribed to a topic.
- getVetoSubscribersToTopic(String) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- printStackTrace(PrintStream) - Method in exception org.bushe.swing.exception.SwingException
-
Calls printWriter(ps, true)
- printStackTrace(PrintWriter) - Method in exception org.bushe.swing.exception.SwingException
-
Prints the calling stack and the exception stack trace.
- Prioritized - Interface in org.bushe.swing.event
-
Subscribers can implement this interface in order to affect the order in which they are called.
- PrioritizedEventSubscriber - Interface in org.bushe.swing.event
-
- PrioritizedEventTopicSubscriber - Interface in org.bushe.swing.event
-
- process(Object) - Static method in class org.bushe.swing.event.annotation.AnnotationProcessor
-
Add the appropriate subscribers to one or more EventServices for an instance of a class with
EventBus annotations.
- ProxySubscriber - Interface in org.bushe.swing.event
-
An interface that can be implemented when proxies are used for subscription, not needed in normal usage.
- ProxyTopicPatternSubscriber - Class in org.bushe.swing.event.annotation
-
A Proxy Subscriber for Annotations that use topic patterns
- ProxyTopicPatternSubscriber(Object, Method, ReferenceStrength, EventService, String, Pattern, boolean) - Constructor for class org.bushe.swing.event.annotation.ProxyTopicPatternSubscriber
-
Creates a proxy.
- ProxyTopicPatternSubscriber(Object, Method, ReferenceStrength, int, EventService, String, Pattern, boolean) - Constructor for class org.bushe.swing.event.annotation.ProxyTopicPatternSubscriber
-
Creates a proxy.
- ProxyTopicSubscriber - Class in org.bushe.swing.event.annotation
-
A class that subscribes to an EventService on behalf of another object.
- ProxyTopicSubscriber(Object, Method, ReferenceStrength, EventService, String, boolean) - Constructor for class org.bushe.swing.event.annotation.ProxyTopicSubscriber
-
Creates a proxy.
- ProxyTopicSubscriber(Object, Method, ReferenceStrength, int, EventService, String, boolean) - Constructor for class org.bushe.swing.event.annotation.ProxyTopicSubscriber
-
Creates a proxy.
- proxyUnsubscribed() - Method in class org.bushe.swing.event.annotation.AbstractProxySubscriber
-
Called by EventServices to inform the proxy that it is unsubscribed.
- proxyUnsubscribed() - Method in interface org.bushe.swing.event.ProxySubscriber
-
Called by EventServices to inform the proxy that it is unsubscribed.
- PublicationStatus - Enum in org.bushe.swing.event
-
The status of an event as it makes its way from publication through processing by subscribers.
- PublicationStatusTracker - Interface in org.bushe.swing.event
-
An optional interface that can be implemented by Events objects or topic Payloads
to enable the events' status to be stamped on the event by an event service.
- publish(Object) - Static method in class org.bushe.swing.event.EventBus
-
- publish(String, Object) - Static method in class org.bushe.swing.event.EventBus
-
- publish(Type, Object) - Static method in class org.bushe.swing.event.EventBus
-
- publish(Object) - Method in interface org.bushe.swing.event.EventService
-
Publishes an object so that subscribers will be notified if they subscribed to the object's class, one of its
subclasses, or to one of the interfaces it implements.
- publish(Type, Object) - Method in interface org.bushe.swing.event.EventService
-
Use this method to publish generified objects to subscribers of Types, i.e.
- publish(String, Object) - Method in interface org.bushe.swing.event.EventService
-
Publishes an object on a topic name so that all subscribers to that name or a Regular Expression that matches
the topic name will be notified.
- publish(Object, String, Object, List, List, StackTraceElement[]) - Method in class org.bushe.swing.event.SwingEventService
-
Same as ThreadSafeEventService.publish(), except if the call is coming from a thread that is not the Swing Event
Dispatch Thread, the request is put on the EDT through a a call to SwingUtilities.invokeLater().
- publish(Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- publish(Type, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- publish(String, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- publish(Object, String, Object, List, List, StackTraceElement[]) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
All publish methods call this method.
- SERVICE_NAME_EVENT_BUS - Static variable in class org.bushe.swing.event.EventServiceLocator
-
- SERVICE_NAME_SWING_EVENT_SERVICE - Static variable in class org.bushe.swing.event.EventServiceLocator
-
- setCacheSizeForEventClass(Class, int) - Static method in class org.bushe.swing.event.EventBus
-
- setCacheSizeForEventClass(Class, int) - Method in interface org.bushe.swing.event.EventService
-
Set the number of events cached for a particular class of event.
- setCacheSizeForEventClass(Class, int) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Set the number of events cached for a particular class of event.
- setCacheSizeForTopic(String, int) - Static method in class org.bushe.swing.event.EventBus
-
- setCacheSizeForTopic(Pattern, int) - Static method in class org.bushe.swing.event.EventBus
-
- setCacheSizeForTopic(String, int) - Method in interface org.bushe.swing.event.EventService
-
Set the number of published data objects cached for a particular event topic.
- setCacheSizeForTopic(Pattern, int) - Method in interface org.bushe.swing.event.EventService
-
Set the number of published data objects cached for a topics matching a pattern.
- setCacheSizeForTopic(String, int) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Set the number of published data objects cached for a particular event topic.
- setCacheSizeForTopic(Pattern, int) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Set the number of published data objects cached for topics matching a pattern.
- setCallingStack(StackTraceElement[]) - Method in exception org.bushe.swing.exception.SwingException
-
Swing exceptions often have two stacks - one thread causes the posting of an action on another thread - usually
the Swing EDT thread.
- setCleanupPeriodMS(Long) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Sets the cleanup interval.
- setCleanupStartThreshhold(Integer) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Sets the threshold above which cleanup starts.
- setCleanupStopThreshold(Integer) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Sets the threshold below which cleanup stops.
- setDefaultCacheSizePerClassOrTopic(int) - Static method in class org.bushe.swing.event.EventBus
-
- setDefaultCacheSizePerClassOrTopic(int) - Method in interface org.bushe.swing.event.EventService
-
Sets the default cache size for each kind of event, default is 0 (no caching).
- setDefaultCacheSizePerClassOrTopic(int) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Sets the default cache size for each kind of event, default is 0 (no caching).
- setEventService(String, EventService) - Static method in class org.bushe.swing.event.EventServiceLocator
-
Registers a named EventService to the locator.
- setPublicationStatus(PublicationStatus) - Method in class org.bushe.swing.event.AbstractEventServiceEvent
-
- setPublicationStatus(PublicationStatus) - Method in interface org.bushe.swing.event.PublicationStatusTracker
-
Implementations of this method must be made thread safe.
- setPublishesOnTopic(boolean) - Method in class org.bushe.swing.event.EventServiceAction
-
Sets whether this action publishes on a topic or uses class-based publication.
- setStatus(PublicationStatus, Object, String, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Called during publication to set the status on an event.
- setThrowsExceptionOnNullEventService(boolean) - Method in class org.bushe.swing.event.EventServiceAction
-
By default, exceptions are thrown if getEventService() returns null.
- setTopicName(String) - Method in class org.bushe.swing.event.EventServiceAction
-
Explicitly sets the topic name this action publishes on.
- shouldVeto(Object) - Method in class org.bushe.swing.event.annotation.BaseProxySubscriber
-
- shouldVeto(String, Object) - Method in class org.bushe.swing.event.annotation.ProxyTopicSubscriber
-
- shouldVeto(T) - Method in interface org.bushe.swing.event.VetoEventListener
-
Determine whether an event should be vetoed or published.
- shouldVeto(String, T) - Method in interface org.bushe.swing.event.VetoTopicEventListener
-
Determine whether a topic publication should be vetoed or allowed.
- stateLock - Variable in class org.bushe.swing.event.AbstractEventServiceEvent
-
- subscribe(Class, EventSubscriber) - Static method in class org.bushe.swing.event.EventBus
-
- subscribe(Type, EventSubscriber) - Static method in class org.bushe.swing.event.EventBus
-
- subscribe(String, EventTopicSubscriber) - Static method in class org.bushe.swing.event.EventBus
-
- subscribe(Pattern, EventTopicSubscriber) - Static method in class org.bushe.swing.event.EventBus
-
- subscribe(Class, EventSubscriber) - Method in interface org.bushe.swing.event.EventService
-
Subscribes an EventSubscriber to the publication of objects matching a type.
- subscribe(Type, EventSubscriber) - Method in interface org.bushe.swing.event.EventService
-
Subscribe an EventSubscriber to publication of generic Types.
- subscribe(String, EventTopicSubscriber) - Method in interface org.bushe.swing.event.EventService
-
Subscribes an EventTopicSubscriber to the publication of a topic name.
- subscribe(Pattern, EventTopicSubscriber) - Method in interface org.bushe.swing.event.EventService
-
Subscribes an EventSubscriber to the publication of all the topic names that match a RegEx Pattern.
- subscribe(Class, EventSubscriber) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribe(Type, EventSubscriber) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribe(String, EventTopicSubscriber) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribe(Pattern, EventTopicSubscriber) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribe(Object, Map<Object, Object>, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
All subscribe methods call this method, including veto subscriptions.
- subscribeExactly(Class, EventSubscriber) - Static method in class org.bushe.swing.event.EventBus
-
- subscribeExactly(Class, EventSubscriber) - Method in interface org.bushe.swing.event.EventService
-
Subscribes an EventSubscriber to the publication of objects exactly matching a type.
- subscribeExactly(Class, EventSubscriber) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribeExactlyStrongly(Class, EventSubscriber) - Static method in class org.bushe.swing.event.EventBus
-
- subscribeExactlyStrongly(Class, EventSubscriber) - Method in interface org.bushe.swing.event.EventService
-
Subscribes an EventSubscriber to the publication of objects matching a type exactly.
- subscribeExactlyStrongly(Class, EventSubscriber) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- SubscriberTimingEvent - Class in org.bushe.swing.event
-
This event is published internally to report timing for subscribers on an EventService.
- SubscriberTimingEvent(Object, Long, Long, Long, Object, EventSubscriber, VetoEventListener) - Constructor for class org.bushe.swing.event.SubscriberTimingEvent
-
Create a timing event
- subscribeStrongly(Class, EventSubscriber) - Static method in class org.bushe.swing.event.EventBus
-
- subscribeStrongly(String, EventTopicSubscriber) - Static method in class org.bushe.swing.event.EventBus
-
- subscribeStrongly(Pattern, EventTopicSubscriber) - Static method in class org.bushe.swing.event.EventBus
-
- subscribeStrongly(Class, EventSubscriber) - Method in interface org.bushe.swing.event.EventService
-
Subscribes an EventSubscriber to the publication of objects matching a type.
- subscribeStrongly(String, EventTopicSubscriber) - Method in interface org.bushe.swing.event.EventService
-
Subscribes a subscriber to an event topic name.
- subscribeStrongly(Pattern, EventTopicSubscriber) - Method in interface org.bushe.swing.event.EventService
-
Subscribes a subscriber to all the event topic names that match a RegEx expression.
- subscribeStrongly(Class, EventSubscriber) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribeStrongly(String, EventTopicSubscriber) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribeStrongly(Pattern, EventTopicSubscriber) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribeTiming(SubscriberTimingEvent) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribeVetoException(Object, String, Object, Throwable, StackTraceElement[], VetoEventListener) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
Called during veto exceptions, calls handleException
- subscribeVetoListener(Class, VetoEventListener) - Static method in class org.bushe.swing.event.EventBus
-
- subscribeVetoListener(String, VetoTopicEventListener) - Static method in class org.bushe.swing.event.EventBus
-
- subscribeVetoListener(Pattern, VetoTopicEventListener) - Static method in class org.bushe.swing.event.EventBus
-
- subscribeVetoListener(Class, VetoEventListener) - Method in interface org.bushe.swing.event.EventService
-
Subscribes a VetoEventListener to publication of event matching a class.
- subscribeVetoListener(String, VetoTopicEventListener) - Method in interface org.bushe.swing.event.EventService
-
Subscribes a VetoTopicEventListener to a topic name.
- subscribeVetoListener(Pattern, VetoTopicEventListener) - Method in interface org.bushe.swing.event.EventService
-
Subscribes an VetoTopicEventListener to all the topic names that match the RegEx Pattern.
- subscribeVetoListener(Class, VetoEventListener) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribeVetoListener(String, VetoTopicEventListener) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribeVetoListener(Pattern, VetoTopicEventListener) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribeVetoListener(Object, Map, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
All veto subscriptions methods call this method.
- subscribeVetoListenerExactly(Class, VetoEventListener) - Static method in class org.bushe.swing.event.EventBus
-
- subscribeVetoListenerExactly(Class, VetoEventListener) - Method in interface org.bushe.swing.event.EventService
-
Subscribes a VetoEventListener to publication of an exact event class.
- subscribeVetoListenerExactly(Class, VetoEventListener) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribeVetoListenerExactlyStrongly(Class, VetoEventListener) - Static method in class org.bushe.swing.event.EventBus
-
- subscribeVetoListenerExactlyStrongly(Class, VetoEventListener) - Method in interface org.bushe.swing.event.EventService
-
Subscribes a VetoEventListener for an event class (but not its subclasses).
- subscribeVetoListenerExactlyStrongly(Class, VetoEventListener) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribeVetoListenerStrongly(Class, VetoEventListener) - Static method in class org.bushe.swing.event.EventBus
-
- subscribeVetoListenerStrongly(String, VetoTopicEventListener) - Static method in class org.bushe.swing.event.EventBus
-
- subscribeVetoListenerStrongly(Pattern, VetoTopicEventListener) - Static method in class org.bushe.swing.event.EventBus
-
- subscribeVetoListenerStrongly(Class, VetoEventListener) - Method in interface org.bushe.swing.event.EventService
-
Subscribes a VetoEventListener for an event class and its subclasses.
- subscribeVetoListenerStrongly(String, VetoTopicEventListener) - Method in interface org.bushe.swing.event.EventService
-
Subscribes a VetoEventListener to a topic name.
- subscribeVetoListenerStrongly(Pattern, VetoTopicEventListener) - Method in interface org.bushe.swing.event.EventService
-
Subscribes a VetoTopicEventListener to a set of topics that match a RegEx expression.
- subscribeVetoListenerStrongly(Class, VetoEventListener) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribeVetoListenerStrongly(String, VetoTopicEventListener) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- subscribeVetoListenerStrongly(Pattern, VetoTopicEventListener) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- SWING_EVENT_SERVICE_CLASS - Static variable in class org.bushe.swing.event.EventServiceLocator
-
- SwingEventService - Class in org.bushe.swing.event
-
- SwingEventService() - Constructor for class org.bushe.swing.event.SwingEventService
-
By default, the SwingEventService is constructed such that any listener that takes over 200 ms causes an
SubscriberTimingEvent to be published.
- SwingEventService(Long) - Constructor for class org.bushe.swing.event.SwingEventService
-
- SwingEventService(Long, boolean) - Constructor for class org.bushe.swing.event.SwingEventService
-
Create a SwingEventService is such that any listener that takes over timeThresholdForEventTimingEventPublication
milliseconds causes an EventSubscriberTimingEvent to be published.
- SwingException - Exception in org.bushe.swing.exception
-
Aids in troubleshooting Swing application exceptions or any exception where the caller's stack may not be the
exception stack (such as producer-consumer patterns that cross threads).
- SwingException() - Constructor for exception org.bushe.swing.exception.SwingException
-
Default constructor
- SwingException(String) - Constructor for exception org.bushe.swing.exception.SwingException
-
Constructor for compatibility with Exception.
- SwingException(Throwable) - Constructor for exception org.bushe.swing.exception.SwingException
-
Constructor for compatibility with Exception Use ClientException(String, Throwable, StackTraceElement[]) instead
- SwingException(String, Throwable) - Constructor for exception org.bushe.swing.exception.SwingException
-
Constructor for compatibility with Exception Use ClientException(String, Throwable, StackTraceElement[]) instead
- SwingException(String, Throwable, StackTraceElement[]) - Constructor for exception org.bushe.swing.exception.SwingException
-
Preferred constructor.
- unprocess(Object) - Static method in class org.bushe.swing.event.annotation.AnnotationProcessor
-
Remove the appropriate subscribers from one or more EventServices for an instance of a class with
EventBus annotations.
- unsubscribe(String) - Method in class org.bushe.swing.event.annotation.ProxyTopicPatternSubscriber
-
- unsubscribe(String) - Method in class org.bushe.swing.event.annotation.ProxyTopicSubscriber
-
- unsubscribe(Class, EventSubscriber) - Static method in class org.bushe.swing.event.EventBus
-
- unsubscribe(String, EventTopicSubscriber) - Static method in class org.bushe.swing.event.EventBus
-
- unsubscribe(Pattern, EventTopicSubscriber) - Static method in class org.bushe.swing.event.EventBus
-
- unsubscribe(Class, Object) - Static method in class org.bushe.swing.event.EventBus
-
For usage with annotations.
- unsubscribe(String, Object) - Static method in class org.bushe.swing.event.EventBus
-
For usage with annotations.
- unsubscribe(Pattern, Object) - Static method in class org.bushe.swing.event.EventBus
-
For usage with annotations.
- unsubscribe(Class, EventSubscriber) - Method in interface org.bushe.swing.event.EventService
-
Stop the subscription for a subscriber that is subscribed to a class.
- unsubscribe(String, EventTopicSubscriber) - Method in interface org.bushe.swing.event.EventService
-
Stop the subscription for a subscriber that is subscribed to an event topic.
- unsubscribe(Pattern, EventTopicSubscriber) - Method in interface org.bushe.swing.event.EventService
-
Stop the subscription for a subscriber that is subscribed to event topics via a Pattern.
- unsubscribe(Class, Object) - Method in interface org.bushe.swing.event.EventService
-
Stop a subscription for an object that is subscribed with a ProxySubscriber.
- unsubscribe(String, Object) - Method in interface org.bushe.swing.event.EventService
-
Stop a subscription for an object that is subscribed to a topic with a ProxySubscriber.
- unsubscribe(Pattern, Object) - Method in interface org.bushe.swing.event.EventService
-
When using annotations, an object may be subscribed by proxy.
- unsubscribe(Class, EventSubscriber) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribe(String, EventTopicSubscriber) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribe(Pattern, EventTopicSubscriber) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribe(Class, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribe(String, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribe(Pattern, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribe(Object, Map, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
All event subscriber unsubscriptions call this method.
- unsubscribeExactly(Class, EventSubscriber) - Static method in class org.bushe.swing.event.EventBus
-
- unsubscribeExactly(Class, Object) - Static method in class org.bushe.swing.event.EventBus
-
For usage with annotations.
- unsubscribeExactly(Class, EventSubscriber) - Method in interface org.bushe.swing.event.EventService
-
Stop the subscription for a subscriber that is subscribed to an exact class.
- unsubscribeExactly(Class, Object) - Method in interface org.bushe.swing.event.EventService
-
Stop a subscription for an object that is subscribed exactly with a ProxySubscriber.
- unsubscribeExactly(Class, EventSubscriber) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribeExactly(Class, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribeVeto(Class, Object) - Static method in class org.bushe.swing.event.EventBus
-
- unsubscribeVeto(String, Object) - Static method in class org.bushe.swing.event.EventBus
-
- unsubscribeVeto(Pattern, Object) - Static method in class org.bushe.swing.event.EventBus
-
- unsubscribeVeto(Class, Object) - Method in interface org.bushe.swing.event.EventService
-
Stop a veto subscription for an object that is subscribed with a ProxySubscriber.
- unsubscribeVeto(String, Object) - Method in interface org.bushe.swing.event.EventService
-
Stop a veto subscription for an object that is subscribed to a topic with a ProxySubscriber.
- unsubscribeVeto(Pattern, Object) - Method in interface org.bushe.swing.event.EventService
-
When using annotations, an object may be subscribed by proxy.
- unsubscribeVeto(Class, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribeVeto(String, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribeVeto(Pattern, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribeVetoExactly(Class, Object) - Static method in class org.bushe.swing.event.EventBus
-
- unsubscribeVetoExactly(Class, Object) - Method in interface org.bushe.swing.event.EventService
-
Stop a veto subscription for an object that is subscribed exactly with a ProxySubscriber.
- unsubscribeVetoExactly(Class, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribeVetoListener(Class, VetoEventListener) - Static method in class org.bushe.swing.event.EventBus
-
- unsubscribeVetoListener(String, VetoTopicEventListener) - Static method in class org.bushe.swing.event.EventBus
-
- unsubscribeVetoListener(Pattern, VetoTopicEventListener) - Static method in class org.bushe.swing.event.EventBus
-
- unsubscribeVetoListener(Class, VetoEventListener) - Method in interface org.bushe.swing.event.EventService
-
Stop the subscription for a vetoListener that is subscribed to an event class and its subclasses.
- unsubscribeVetoListener(String, VetoTopicEventListener) - Method in interface org.bushe.swing.event.EventService
-
Stop the subscription for a VetoTopicEventListener that is subscribed to an event topic name.
- unsubscribeVetoListener(Pattern, VetoTopicEventListener) - Method in interface org.bushe.swing.event.EventService
-
Stop the subscription for a VetoTopicEventListener that is subscribed to an event topic RegEx pattern.
- unsubscribeVetoListener(Class, VetoEventListener) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribeVetoListener(String, VetoTopicEventListener) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribeVetoListener(Pattern, VetoTopicEventListener) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- unsubscribeVetoListener(Object, Map, Object) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
All veto unsubscriptions methods call this method.
- unsubscribeVetoListenerExactly(Class, VetoEventListener) - Static method in class org.bushe.swing.event.EventBus
-
- unsubscribeVetoListenerExactly(Class, VetoEventListener) - Method in interface org.bushe.swing.event.EventService
-
Stop the subscription for a vetoListener that is subscribed to an event class (but not its subclasses).
- unsubscribeVetoListenerExactly(Class, VetoEventListener) - Method in class org.bushe.swing.event.ThreadSafeEventService
-
- updateContainerEventService() - Method in class org.bushe.swing.event.ContainerEventServiceRegistrar
-
Called by this class when the container may have changed.
- UseTheClassOfTheAnnotatedMethodsParameter - Class in org.bushe.swing.event.annotation
-
This is a dummy class to get around a limitation with annotations.
- UseTheClassOfTheAnnotatedMethodsParameter() - Constructor for class org.bushe.swing.event.annotation.UseTheClassOfTheAnnotatedMethodsParameter
-
- valueOf(String) - Static method in enum org.bushe.swing.event.annotation.ReferenceStrength
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bushe.swing.event.CleanupEvent.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bushe.swing.event.Logger.Level
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bushe.swing.event.Logger.LoggerType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bushe.swing.event.PublicationStatus
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.bushe.swing.event.annotation.ReferenceStrength
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.bushe.swing.event.CleanupEvent.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.bushe.swing.event.Logger.Level
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.bushe.swing.event.Logger.LoggerType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.bushe.swing.event.PublicationStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- veto - Variable in class org.bushe.swing.event.annotation.AbstractProxySubscriber
-
- VetoEventListener<T> - Interface in org.bushe.swing.event
-
Interface for classes that can veto class-based event publication from the
EventService
.
- VetoRuntimeTopicPatternSubscriber - Annotation Type in org.bushe.swing.event.annotation
-
- VetoRuntimeTopicSubscriber - Annotation Type in org.bushe.swing.event.annotation
-
A veto subscriber to a topic that is determined at runtime.
- VetoSubscriber - Annotation Type in org.bushe.swing.event.annotation
-
An Annotation for adding VetoListener subscriptions to EventService Events.
- VetoTopicEventListener<T> - Interface in org.bushe.swing.event
-
Interface for classes that can veto publication on topic names from the
EventService
.
- VetoTopicPatternSubscriber - Annotation Type in org.bushe.swing.event.annotation
-
An Annotation for adding VetoTopicPatternListener subscriptions to EventService Events.
- VetoTopicSubscriber - Annotation Type in org.bushe.swing.event.annotation
-
An Annotation for adding VetoTopicListener subscriptions to EventService Events.