Package io.jmix.ui.component.calendar
Class CalendarEventWrapper<V>
java.lang.Object
io.jmix.ui.component.calendar.CalendarEventWrapper<V>
- All Implemented Interfaces:
com.vaadin.v7.ui.components.calendar.event.CalendarEvent
,com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeNotifier
,Serializable
public class CalendarEventWrapper<V>
extends Object
implements com.vaadin.v7.ui.components.calendar.event.CalendarEvent, com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeNotifier
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.v7.ui.components.calendar.event.CalendarEvent
com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeEvent, com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeListener, com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeNotifier
-
Field Summary
Modifier and TypeFieldDescriptionprotected CalendarEvent<V>
protected List<com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeListener>
-
Constructor Summary
ConstructorDescriptionCalendarEventWrapper
(CalendarEvent<V> calendarEvent, Function<V, Date> modelToPresentationConverter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEventChangeListener
(com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeListener listener) boolean
protected void
getEnd()
getStart()
int
hashCode()
boolean
isAllDay()
void
removeEventChangeListener
(com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeListener listener)
-
Field Details
-
modelToPresentationConverter
-
calendarEvent
-
eventChangeListeners
protected List<com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeListener> eventChangeListeners
-
-
Constructor Details
-
CalendarEventWrapper
public CalendarEventWrapper(CalendarEvent<V> calendarEvent, Function<V, Date> modelToPresentationConverter)
-
-
Method Details
-
fireItemChanged
protected void fireItemChanged() -
getStart
- Specified by:
getStart
in interfacecom.vaadin.v7.ui.components.calendar.event.CalendarEvent
-
getEnd
- Specified by:
getEnd
in interfacecom.vaadin.v7.ui.components.calendar.event.CalendarEvent
-
getCaption
- Specified by:
getCaption
in interfacecom.vaadin.v7.ui.components.calendar.event.CalendarEvent
-
getDescription
- Specified by:
getDescription
in interfacecom.vaadin.v7.ui.components.calendar.event.CalendarEvent
-
getStyleName
- Specified by:
getStyleName
in interfacecom.vaadin.v7.ui.components.calendar.event.CalendarEvent
-
isAllDay
public boolean isAllDay()- Specified by:
isAllDay
in interfacecom.vaadin.v7.ui.components.calendar.event.CalendarEvent
-
equals
-
hashCode
public int hashCode() -
getCalendarEvent
-
addEventChangeListener
public void addEventChangeListener(com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeListener listener) - Specified by:
addEventChangeListener
in interfacecom.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeNotifier
-
removeEventChangeListener
public void removeEventChangeListener(com.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeListener listener) - Specified by:
removeEventChangeListener
in interfacecom.vaadin.v7.ui.components.calendar.event.CalendarEvent.EventChangeNotifier
-