com.vaadin
Class Application.WindowDetachEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.vaadin.Application.WindowDetachEvent
All Implemented Interfaces:
Serializable
Enclosing class:
Application

public class Application.WindowDetachEvent
extends EventObject

Window detach event. This event is sent each time a window is removed from the application with com.vaadin.Application#removeWindow(Window).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Application.WindowDetachEvent(Window window)
          Creates a event.
 
Method Summary
 Application getApplication()
          Gets the application from which the window was detached.
 Window getWindow()
          Gets the detached window.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Application.WindowDetachEvent

public Application.WindowDetachEvent(Window window)
Creates a event.

Parameters:
window - the Detached window.
Method Detail

getWindow

public Window getWindow()
Gets the detached window.

Returns:
the detached window.

getApplication

public Application getApplication()
Gets the application from which the window was detached.

Returns:
the Application.


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.