com.vaadin.ui.components.calendar
Class CalendarComponentEvents.EventResize

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.components.calendar.CalendarComponentEvent
                  extended by com.vaadin.ui.components.calendar.CalendarComponentEvents.EventResize
All Implemented Interfaces:
java.io.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
static java.lang.String EVENT_ID
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CalendarComponentEvents.EventResize(Calendar source, CalendarEvent calendarEvent, java.util.Date startTime, java.util.Date endTime)
           
 
Method Summary
 CalendarEvent getCalendarEvent()
          Get target event.
 java.util.Date getNewEnd()
          Returns the updates end date/time of the event
 java.util.Date getNewEndTime()
          Deprecated. Use getNewEnd() instead
 java.util.Date getNewStart()
          Returns the updated start date/time of the event
 java.util.Date getNewStartTime()
          Deprecated. Use getNewStart() 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EVENT_ID

public static final java.lang.String EVENT_ID
See Also:
Constant Field Values
Constructor Detail

CalendarComponentEvents.EventResize

public CalendarComponentEvents.EventResize(Calendar source,
                                           CalendarEvent calendarEvent,
                                           java.util.Date startTime,
                                           java.util.Date endTime)
Method Detail

getCalendarEvent

public CalendarEvent getCalendarEvent()
Get target event.

Returns:
Target event.

getNewStartTime

@Deprecated
public java.util.Date getNewStartTime()
Deprecated. Use getNewStart() instead

Returns:
the new start time

getNewStart

public java.util.Date getNewStart()
Returns the updated start date/time of the event

Returns:
The new date for the event

getNewEndTime

@Deprecated
public java.util.Date getNewEndTime()
Deprecated. Use getNewEnd() instead

Returns:
the new end time

getNewEnd

public java.util.Date getNewEnd()
Returns the updates end date/time of the event

Returns:
The new date for the event


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