Setting JythonCode to Component's mouseClicked event

I’m having in client module my own component class which extends PathBasedVisionShape class and I would like to set for this component JythonCode on mouseClicked event. Currently I’m trying to override in my BeanInfo class method getEvenSetDescriptors but don’t have much success. Any advice would be appreciated. Thanks.