Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 244291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:59:33+00:00 2026-05-11T20:59:33+00:00

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

  • 0

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.”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T20:59:33+00:00Added an answer on May 11, 2026 at 8:59 pm

    I ended up using brute force: Created a Map of EventType and name, then attach a Listener for each type of event that the component could receive. Then I just set a breakpoint inside the Listener, and I could see what events were received when anything happened.

    If it hadn’t been throwaway code, I would have cleaned it up into a utility class, not used an anonymous Listener class, etc.

        final Map<EventType, String> eventTypeNames = new HashMap<EventType, String>();
        eventTypeNames.put(Events.BeforeExpand, "BeforeExpand");
        eventTypeNames.put(Events.Expand, "Expand");
        ...
        eventTypeNames.put(Events.BeforeStateSave, "BeforeStateSave");
        eventTypeNames.put(Events.StateSave, "StateSave");
    
        for (EventType eventType : Arrays.asList(
                Events.BeforeExpand,
                Events.Expand,
                ...
                Events.BeforeStateSave,
                Events.StateSave
        )) {
            this.addListener(eventType, new Listener<BaseEvent>() {
                public void handleEvent(final BaseEvent be) {
                    String type = eventTypeNames.get(be.getType());
                    String ev = be.toString();
                }
            });
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a weird error that I cannot seem to find any documentation or
I have a relatively simple question that I cannot seem to find the answer
I need the page number but cannot seem to find any documentation towards it.
I cannot seem to find any straight and clear documentation explaining the differences between
I have Googled a bit, and cannot seem to find any examples of Xaml-fying
All, I'm developing a dnn 6 module and cannot seem to find any way
I cannot seem to find a way to have LINQ return the value from
I have been researching this issue pretty extensively and cannot seem to find an
I have gotten myself into a catch 22 and cannot seem to find my
I can't seem to find any documentation or code samples on how to add

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.