Package com.vaadin.ui

Class Component.Event

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      Event​(Component source)
      Constructs a new event with the specified source component.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Component getComponent()
      Gets the component where the event occurred.
      • 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

      • Event

        public Event​(Component source)
        Constructs a new event with the specified source component.
        Parameters:
        source - the source component of the event
    • Method Detail

      • getComponent

        public Component getComponent()
        Gets the component where the event occurred.
        Returns:
        the source component of the event