@Deprecated public interface EditableCalendarEvent extends CalendarEvent
Extension to the basic CalendarEvent
. This interface provides setters (and thus editing
capabilities) for all CalendarEvent
fields. For descriptions on the fields, refer to the extended
interface.
This interface is used by some of the basic Calendar event handlers in the
com.vaadin.addon.calendar.ui.handler
package to determine
whether an event can be edited.
CalendarEvent.EventChangeEvent, CalendarEvent.EventChangeListener, CalendarEvent.EventChangeNotifier
Modifier and Type | Method and Description |
---|---|
void |
setAllDay(boolean isAllDay)
Deprecated.
Does the event span the whole day.
|
void |
setCaption(String caption)
Deprecated.
Set the visible text in the calendar for the event.
|
void |
setDescription(String description)
Deprecated.
Set the description of the event.
|
void |
setEnd(Date end)
Deprecated.
Set the end date of the event.
|
void |
setStart(Date start)
Deprecated.
Set the start date for the event.
|
void |
setStyleName(String styleName)
Deprecated.
Set the style name for the event used for styling the event cells.
|
getCaption, getDescription, getEnd, getStart, getStyleName, isAllDay
void setCaption(String caption)
caption
- The text to show in the calendarvoid setDescription(String description)
description
- The text which describes the eventvoid setEnd(Date end)
end
- The end date to setvoid setStart(Date start)
start
- The start date of the eventvoid setStyleName(String styleName)
styleName
- The stylename to usevoid setAllDay(boolean isAllDay)
isAllDay
- True if the event spans the whole day. In this case the start
and end times are ignored.Copyright © 2020 Vaadin Ltd. All rights reserved.