diff options
Diffstat (limited to 'server/src/com/vaadin/ui/Window.java')
-rw-r--r-- | server/src/com/vaadin/ui/Window.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/Window.java b/server/src/com/vaadin/ui/Window.java index 0c1509663a..479992d084 100644 --- a/server/src/com/vaadin/ui/Window.java +++ b/server/src/com/vaadin/ui/Window.java @@ -489,7 +489,8 @@ public class Window extends Panel implements FocusNotifier, BlurNotifier, * @param listener * the DisplayStateChangeListener to add. */ - public void addDisplayStateChangeListener(DisplayStateChangeListener listener) { + public void addDisplayStateChangeListener( + DisplayStateChangeListener listener) { addListener(DisplayStateChangeEvent.class, listener, DisplayStateChangeListener.displayStateChangeMethod); } @@ -500,7 +501,8 @@ public class Window extends Panel implements FocusNotifier, BlurNotifier, * @param listener * the DisplayStateChangeListener to remove. */ - public void removeDisplayStateChangeListener(DisplayStateChangeListener listener) { + public void removeDisplayStateChangeListener( + DisplayStateChangeListener listener) { removeListener(DisplayStateChangeEvent.class, listener, DisplayStateChangeListener.displayStateChangeMethod); } |