How can I tell what events fire from GXT?

Posted by CoverosGene on Stack Overflow See other posts from Stack Overflow or by CoverosGene
Published on 2009-04-10T20:22:41Z Indexed on 2010/05/23 12:50 UTC
Read the original article Hit count: 226

Filed under:

I cannot seem to find any documentation of what events fire and when in GXT.

The API docs have lists of all the events that could fire (in Events). And it describes how to handle events that you catch. But I'm interested in the opposite side, which events are fired when I take a certain action.

I can set some listeners for various different components, or I can use addListener with a specific event code to catch individual events. That's spotty, and I seem to be using trial-and-error to guess what I might want to catch.

Is there a way to log all the events that are firing? Or catch all of them so I could look at them in a debugger?

Or is there some documentation I am missing that has the information? Something along the lines of "when you click on a widget, a ButtonEvent is fired. Events.x is fired on the hover, Events.y on the click."

© Stack Overflow or respective owner

Related posts about gxt