How to know what events a component has
You can find events for components in developer reference, chapter 4. The XUL Components
If you want to look it up in the source code. getOuterAttrs() in Button.java is a good example. Events are likely to be registered like "appendAsapAttr(sb, Events.ON_FOCUS);"