com.vaadin
Class Application.WindowAttachEvent

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

public class Application.WindowAttachEvent
extends EventObject

Window attach event. This event is sent each time a window is attached tothe application with com.vaadin.Application#addWindow(Window).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Application.WindowAttachEvent(Window window)
          Creates a event.
 
Method Summary
 Application getApplication()
          Gets the application to which the window was attached.
 Window getWindow()
          Gets the attached 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.WindowAttachEvent

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

Parameters:
window - the Attached window.
Method Detail

getWindow

public Window getWindow()
Gets the attached window.

Returns:
the attached window.

getApplication

public Application getApplication()
Gets the application to which the window was attached.

Returns:
the Application.


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