Example usage for com.vaadin.ui Component detach

List of usage examples for com.vaadin.ui Component detach

Introduction

In this page you can find the example usage for com.vaadin.ui Component detach.

Prototype

public void detach();

Source Link

Document

Notifies the connector that it is detached from its VaadinSession.

Usage

From source file:com.haulmont.cuba.web.toolkit.ui.CubaWidgetsTree.java

License:Apache License

protected void detachGeneratedComponents() {
    for (Component c : nodeWidgets) {
        if (c.isAttached()) {
            c.detach();
        }//w w  w .j  av a2s . c o  m
    }
}