com.vaadin.ui.components.calendar
Class CalendarComponentEvents.MoveEvent
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.MoveEvent
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing interface:
- CalendarComponentEvents
public static class CalendarComponentEvents.MoveEvent
- extends CalendarComponentEvent
MoveEvent is sent when existing event is dragged to a new position.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
EVENT_ID
|
Fields inherited from class java.util.EventObject |
source |
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 |
EVENT_ID
public static final java.lang.String EVENT_ID
- See Also:
- Constant Field Values
CalendarComponentEvents.MoveEvent
public CalendarComponentEvents.MoveEvent(Calendar source,
CalendarEvent calendarEvent,
java.util.Date newStart)
- MoveEvent needs the target event and new start date.
- Parameters:
source
- Calendar component.calendarEvent
- Target event.newStart
- Target event's new start date.
getCalendarEvent
public CalendarEvent getCalendarEvent()
- Get target event.
- Returns:
- Target event.
getNewStart
public java.util.Date getNewStart()
- Get new start date.
- Returns:
- New start date.
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.