org.bushe.swing.event
Interface Prioritized

All Known Subinterfaces:
PrioritizedEventSubscriber, PrioritizedEventTopicSubscriber
All Known Implementing Classes:
AbstractProxySubscriber, BaseProxySubscriber, ProxyTopicPatternSubscriber, ProxyTopicSubscriber

public interface Prioritized

Subscribers can implement this interface in order to affect the order in which they are called.

Subscribers that do not implement this interface are called on a FIFO basis, as are subscribers that implement this interface and return 0. If the priority returned from this interface is negative, then this subscriber will be called before non-Prioritized subscribers, the more negative, the earlier it is called. If the priority returned from this interface is positive, then this subscriber will be called after non-Prioritized subscribers, the more positive, the later it is called.


Method Summary
 int getPriority()
           
 

Method Detail

getPriority

int getPriority()


Copyright © 2011 Bushe Enterprises, Inc.. All Rights Reserved.