From: Risto Yrjänä Date: Fri, 9 Jan 2009 07:24:20 +0000 (+0000) Subject: Added setter for popup visibility X-Git-Tag: 6.7.0.beta1~3380 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=261ed7a7a8ab2426eb0e6413b1a5b645b81e53cc;p=vaadin-framework.git Added setter for popup visibility svn changeset:6471/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/ui/PopupView.java b/src/com/itmill/toolkit/ui/PopupView.java index 1847e4eada..12261d644c 100644 --- a/src/com/itmill/toolkit/ui/PopupView.java +++ b/src/com/itmill/toolkit/ui/PopupView.java @@ -94,6 +94,17 @@ public class PopupView extends AbstractComponentContainer { return content; } + /** + * Set the visibility of the popup. Does not hide the minimal + * representation. + * + * @param visible + */ + public void setPopupVisibility(boolean visible) { + popupVisible = visible; + requestRepaint(); + } + /** * Return whether the popup is visible. *