Class CalendarComponentEvents.EventResize
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.ui.components.calendar.CalendarComponentEvent
-
- com.vaadin.ui.components.calendar.CalendarComponentEvents.EventResize
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- CalendarComponentEvents
public static class CalendarComponentEvents.EventResize extends CalendarComponentEvent
EventResize is sent when an event is resized- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
EVENT_ID
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description EventResize(Calendar source, CalendarEvent calendarEvent, Date startTime, Date endTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CalendarEvent
getCalendarEvent()
Get target event.Date
getNewEnd()
Returns the updates end date/time of the eventDate
getNewEndTime()
Deprecated.UsegetNewEnd()
insteadDate
getNewStart()
Returns the updated start date/time of the eventDate
getNewStartTime()
Deprecated.UsegetNewStart()
instead-
Methods inherited from class com.vaadin.ui.components.calendar.CalendarComponentEvent
getComponent
-
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
EVENT_ID
public static final String EVENT_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EventResize
public EventResize(Calendar source, CalendarEvent calendarEvent, Date startTime, Date endTime)
-
-
Method Detail
-
getCalendarEvent
public CalendarEvent getCalendarEvent()
Get target event.- Returns:
- Target event.
-
getNewStartTime
@Deprecated public Date getNewStartTime()
Deprecated.UsegetNewStart()
instead- Returns:
- the new start time
-
getNewStart
public Date getNewStart()
Returns the updated start date/time of the event- Returns:
- The new date for the event
-
getNewEndTime
@Deprecated public Date getNewEndTime()
Deprecated.UsegetNewEnd()
instead- Returns:
- the new end time
-
getNewEnd
public Date getNewEnd()
Returns the updates end date/time of the event- Returns:
- The new date for the event
-
-