Package com.vaadin.client.ui.popupview
Class VisibilityChangeEvent
- java.lang.Object
-
- com.google.web.bindery.event.shared.Event<H>
-
- com.google.gwt.event.shared.GwtEvent<VisibilityChangeHandler>
-
- com.vaadin.client.ui.popupview.VisibilityChangeEvent
-
public class VisibilityChangeEvent extends com.google.gwt.event.shared.GwtEvent<VisibilityChangeHandler>
Event for popup visibility changes.- Author:
- Vaadin Ltd
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H extends Object>
-
-
Constructor Summary
Constructors Constructor Description VisibilityChangeEvent(boolean visible)Constructs a visibility change event.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddispatch(VisibilityChangeHandler handler)com.google.gwt.event.shared.GwtEvent.Type<VisibilityChangeHandler>getAssociatedType()static com.google.gwt.event.shared.GwtEvent.Type<VisibilityChangeHandler>getType()Returns theGwtEvent.Typeused to register this event.booleanisVisible()Returns whether the popup is now visible or not.-
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive
-
-
-
-
Method Detail
-
isVisible
public boolean isVisible()
Returns whether the popup is now visible or not.- Returns:
trueif the popup is visible,falseotherwise
-
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<VisibilityChangeHandler> getAssociatedType()
- Specified by:
getAssociatedTypein classcom.google.gwt.event.shared.GwtEvent<VisibilityChangeHandler>
-
getType
public static com.google.gwt.event.shared.GwtEvent.Type<VisibilityChangeHandler> getType()
Returns theGwtEvent.Typeused to register this event.- Returns:
- the type
-
dispatch
protected void dispatch(VisibilityChangeHandler handler)
- Specified by:
dispatchin classcom.google.gwt.event.shared.GwtEvent<VisibilityChangeHandler>
-
-