Andrei F
Andrei F

Reputation: 4394

GWT - Adding visibility true/false handler

Is there a simple way to add handlers/listeners to widgets so that the change to visibility can be detected ? Or do i have to create a system of my own ? (which means creating other widgets that wrap needed widgets and trigger events when setVisible(...) is called)

Upvotes: 1

Views: 1889

Answers (2)

Artur
Artur

Reputation: 278

overite setVisible(boolean visible) extend UIObject or use deffered binding

Upvotes: 0

Seshagiri
Seshagiri

Reputation: 748

Standard widgets have their own listeners and handlers. If your application requires your own events then you have to define custom user defined events, listener and handlers.

Upvotes: 2

Related Questions