public interface HasVisibilityChangedHandlers
extends com.google.gwt.event.shared.HasHandlers
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addVisibilityChangedHandler(VisibilityChangedHandler handler)
Notification fired when this canvas becomes visible or hidden to the user.
|
com.google.gwt.event.shared.HandlerRegistration addVisibilityChangedHandler(VisibilityChangedHandler handler)
isVisible()
state of this component changes. It may be fired in response
an explicit call to show()
or hide()
, or in response to a parent component being shown or hidden when this
widgets visibility
is set to "inherit". Note that a call to
show()
or hide()
will
not always fire this notification. If this widget has a hidden parent, show or hide would change this components
visibility
property, and may update the CSS visibility
attribute of the drawn handle in the DOM, but would not actually hide or reveal the component to the user and as such
the notification would not fire.
Note also that this notification will only be fired for components which have been
drawn
.
handler
- the visibilityChanged handlerHandlerRegistration
used to remove this handler