How to invoke an event treatment?

Asked

Viewed 35 times

0

The idea is simple: I have an object like Node and would like to invoke the treatment of the event Keyevent.

The treatment is not I who create, so I see no alternative but to make the invocation.

I tried to use the fireEvent() method, but was unsuccessful.

Someone would know how to fix it?

  • Could put some code, or at least a graphical representation of what happens?

  • Unfortunately I deleted the test project and no longer have the codes with the attempts. As for the graphical representation, it is not something defined. I am trying to make a generic method that receives a Node and activates the keyboard event.

  • @Eduardotoffolo I didn’t understand what you wanted. I could explain better?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.