diff options
author | Marc Englund <marc.englund@itmill.com> | 2009-01-28 09:18:00 +0000 |
---|---|---|
committer | Marc Englund <marc.englund@itmill.com> | 2009-01-28 09:18:00 +0000 |
commit | a46a2d8858c9b090f8a777a238e322112396ed3b (patch) | |
tree | 3569e6fe1b26b7d1ac65d5a1177588d78addfb49 /src/com/itmill/toolkit/ui | |
parent | 83539dfb69f19c051b2a8d7db25c23272a8736b3 (diff) | |
download | vaadin-framework-a46a2d8858c9b090f8a777a238e322112396ed3b.tar.gz vaadin-framework-a46a2d8858c9b090f8a777a238e322112396ed3b.zip |
Renamed popup-visibility methods, fixes #2507
svn changeset:6662/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/ui')
-rw-r--r-- | src/com/itmill/toolkit/ui/PopupView.java | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/src/com/itmill/toolkit/ui/PopupView.java b/src/com/itmill/toolkit/ui/PopupView.java index 12261d644c..807bdd796d 100644 --- a/src/com/itmill/toolkit/ui/PopupView.java +++ b/src/com/itmill/toolkit/ui/PopupView.java @@ -95,14 +95,28 @@ public class PopupView extends AbstractComponentContainer { } /** + * @deprecated Use {@link #setPopupVisible()} instead. + */ + public void setPopupVisibility(boolean visible) { + popupVisible = visible; + requestRepaint(); + } + + /** + * @deprecated Use {@link #isPopupVisible()} instead. + */ + public boolean getPopupVisibility() { + return isPopupVisible(); + } + + /** * Set the visibility of the popup. Does not hide the minimal * representation. * * @param visible */ - public void setPopupVisibility(boolean visible) { - popupVisible = visible; - requestRepaint(); + public void setPopupVisible(boolean visible) { + setPopupVisible(visible); } /** @@ -110,7 +124,7 @@ public class PopupView extends AbstractComponentContainer { * * @return true if the popup is showing */ - public boolean getPopupVisibility() { + public boolean isPopupVisible() { return popupVisible; } |