public static ActionListener getListener ( BaseComponent component , String eventName ) { return ( ActionListener ) component . getAttribute ( ActionListener . getAttrName ( eventName ) ) ; }
Returns the listener associated with the given component and event .