Example usage for com.vaadin.client.ui VOverlay getOverlayContainer

List of usage examples for com.vaadin.client.ui VOverlay getOverlayContainer

Introduction

In this page you can find the example usage for com.vaadin.client.ui VOverlay getOverlayContainer.

Prototype

public static com.google.gwt.user.client.Element getOverlayContainer(ApplicationConnection ac) 

Source Link

Document

Gets the 'overlay container' element pertaining to the given ApplicationConnection .

Usage

From source file:fi.jasoft.draganddrop.client.DragAndDropConnector.java

License:Apache License

private void attachDragElement(ComponentConnector connector) {
    assert dragElement != null : "dragElement has not been set";
    Element dragImageParent = VOverlay.getOverlayContainer(connector.getConnection());
    dragImageParent.appendChild(dragElement);
    getLogger().warning("Attached drag image " + dragElement);
}