com.vaadin.ui.components.calendar.
Class CalendarComponentEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.ui.components.calendar.CalendarComponentEvent
-
All Implemented Interfaces:
Direct Known Subclasses:
CalendarComponentEvents.BackwardEvent, CalendarComponentEvents.DateClickEvent, CalendarComponentEvents.EventClick, CalendarComponentEvents.EventResize, CalendarComponentEvents.ForwardEvent, CalendarComponentEvents.MoveEvent, CalendarComponentEvents.RangeSelectEvent, CalendarComponentEvents.WeekClick
public class CalendarComponentEvent extends Component.Event
All Calendar events extends this class.
Since:
7.1
Author:
Vaadin Ltd.
See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor and Description CalendarComponentEvent(Calendar source)
Set the source of the event
-
Method Summary
All Methods Modifier and Type Method and Description Calendar
getComponent()
Gets the component where the event occurred.
-
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
CalendarComponentEvent
public CalendarComponentEvent(Calendar source)
Set the source of the event
Parameters:
source
- The source calendar
-
-
Method Detail
-
getComponent
public Calendar getComponent()
Description copied from class:
Component.Event
Gets the component where the event occurred.
Overrides:
getComponent
in classComponent.Event
Returns:
the source component of the event
-
-