public class EntityCalendarEvent extends java.lang.Object implements CalendarEvent
CalendarEvent.EventChangeEvent, CalendarEvent.EventChangeListener
Constructor and Description |
---|
EntityCalendarEvent(Entity entity,
EntityCalendarEventProvider provider) |
Modifier and Type | Method and Description |
---|---|
void |
addEventChangeListener(CalendarEvent.EventChangeListener listener) |
java.lang.String |
getCaption() |
java.lang.String |
getDescription() |
java.util.Date |
getEnd() |
Entity |
getEntity() |
java.util.Date |
getStart() |
java.lang.String |
getStyleName() |
boolean |
isAllDay() |
void |
removeEventChangeListener(CalendarEvent.EventChangeListener listener) |
void |
setAllDay(boolean isAllDay) |
void |
setCaption(java.lang.String caption) |
void |
setDescription(java.lang.String description) |
void |
setEnd(java.util.Date end) |
void |
setStart(java.util.Date start) |
void |
setStyleName(java.lang.String styleName) |
public EntityCalendarEvent(Entity entity, EntityCalendarEventProvider provider)
public Entity getEntity()
public java.util.Date getStart()
getStart
in interface CalendarEvent
public void setStart(java.util.Date start)
setStart
in interface CalendarEvent
public java.util.Date getEnd()
getEnd
in interface CalendarEvent
public void setEnd(java.util.Date end)
setEnd
in interface CalendarEvent
public java.lang.String getCaption()
getCaption
in interface CalendarEvent
public void setCaption(java.lang.String caption)
setCaption
in interface CalendarEvent
public void setDescription(java.lang.String description)
setDescription
in interface CalendarEvent
public java.lang.String getDescription()
getDescription
in interface CalendarEvent
public java.lang.String getStyleName()
getStyleName
in interface CalendarEvent
public void setStyleName(java.lang.String styleName)
setStyleName
in interface CalendarEvent
public boolean isAllDay()
isAllDay
in interface CalendarEvent
public void setAllDay(boolean isAllDay)
setAllDay
in interface CalendarEvent
public void addEventChangeListener(CalendarEvent.EventChangeListener listener)
addEventChangeListener
in interface CalendarEvent
public void removeEventChangeListener(CalendarEvent.EventChangeListener listener)
removeEventChangeListener
in interface CalendarEvent