public class ContainerEventServiceFinder extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLIENT_PROPERTY_KEY_TOP_LEVEL_EVENT_SERVICE
The client property used to put a new SwingEventService on top-level components.
|
Constructor and Description |
---|
ContainerEventServiceFinder() |
Modifier and Type | Method and Description |
---|---|
static EventService |
getEventService(Component component)
Walks the component's parents until it find an ContainerEventServiceSupplier and returns the supplier's
EventService.
|
public static final String CLIENT_PROPERTY_KEY_TOP_LEVEL_EVENT_SERVICE
public static EventService getEventService(Component component)
component
- any componentCopyright © 2013 Bushe Enterprises, Inc.. All rights reserved.