- All Implemented Interfaces:
- com.google.gwt.event.dom.client.ClickHandler, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.SourcesPopupEvents, Iterable<com.google.gwt.user.client.ui.Widget>
public class BlindedPopup
extends com.google.gwt.user.client.ui.PopupPanel
implements com.google.gwt.event.dom.client.ClickHandler
This class provides a popup with a glasspanel behind so that users can't
interact with things that are behind.
Use it like that :
new BlindedPopup(myPopupContent);
If you want to hide your BlindedPopup from the popup content use :
((BlindedPopup)this.getParent()).hide();
So that the BlindedPopup works completely, you must have a 'wrapper' div
that is 100% width and height and the your website content inside :
<body>
<div id="wrapper">
<!-- Site content -->
</div>
</body>
#wrapper {
height : 100%;
width : 100%;
overflow : scroll;
position:relative;
}
- Since:
- 1.1
- Author:
- jcouteau