Example usage for com.vaadin.ui Component setVisible

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

Introduction

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

Prototype

public void setVisible(boolean visible);

Source Link

Document

Sets the visibility of the component.

Usage

From source file:uicomponents.TechChooser.java

License:Open Source License

public void showHelpers() {
    for (HorizontalLayout h : helpers)
        for (Component c : h)
            if (c instanceof PopupView)
                c.setVisible(true);
}

From source file:uicomponents.TechChooser.java

License:Open Source License

public void hideHelpers() {
    for (HorizontalLayout h : helpers)
        for (Component c : h)
            if (c instanceof PopupView)
                c.setVisible(false);
}