com.vaadin.ui
Class HasComponents.ComponentAttachEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.vaadin.event.ConnectorEvent
          extended by com.vaadin.ui.Component.Event
              extended by com.vaadin.ui.HasComponents.ComponentAttachEvent
All Implemented Interfaces:
java.io.Serializable
Enclosing interface:
HasComponents

public static class HasComponents.ComponentAttachEvent
extends Component.Event

Component attach event sent when a component is attached to container.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HasComponents.ComponentAttachEvent(HasComponents container, Component attachedComponent)
          Creates a new attach event.
 
Method Summary
 Component getAttachedComponent()
          Gets the attached component.
 HasComponents getContainer()
          Gets the component container.
 
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
 
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
 
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

HasComponents.ComponentAttachEvent

public HasComponents.ComponentAttachEvent(HasComponents container,
                                          Component attachedComponent)
Creates a new attach event.

Parameters:
container - the container the component has been detached to.
attachedComponent - the component that has been attached.
Method Detail

getContainer

public HasComponents getContainer()
Gets the component container.

Parameters:
the - component container.

getAttachedComponent

public Component getAttachedComponent()
Gets the attached component.

Parameters:
the - attach component.


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