Class SimpleCalendarEvent<PAYLOAD>
- java.lang.Object
-
- org.teamapps.ux.component.calendar.AbstractCalendarEvent
-
- org.teamapps.ux.component.calendar.SimpleCalendarEvent<PAYLOAD>
-
- All Implemented Interfaces:
CalendarEvent
public class SimpleCalendarEvent<PAYLOAD> extends AbstractCalendarEvent
-
-
Constructor Summary
Constructors Constructor Description SimpleCalendarEvent(long start, long end, org.teamapps.icons.api.Icon icon, java.lang.String caption)SimpleCalendarEvent(java.time.Instant start, java.time.Instant end, org.teamapps.icons.api.Icon icon, java.lang.String caption)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBadge()java.lang.StringgetCaption()org.teamapps.icons.api.IcongetIcon()In case the event is rendered without a template, use this icon.java.lang.StringgetImage()PAYLOADgetPayload()java.lang.StringgetTitle()In case the event is rendered without a template, use this title.voidsetBadge(java.lang.String badge)voidsetCaption(java.lang.String caption)voidsetIcon(org.teamapps.icons.api.Icon icon)voidsetImage(java.lang.String image)voidsetPayload(PAYLOAD payload)-
Methods inherited from class org.teamapps.ux.component.calendar.AbstractCalendarEvent
getBackgroundColor, getBorderColor, getEnd, getRendering, getStart, isAllDay, isAllowDragOperations, setAllDay, setAllowDragOperations, setBackgroundColor, setBorderColor, setEnd, setRendering, setStart, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.teamapps.ux.component.calendar.CalendarEvent
getEndInstant, getStartInstant
-
-
-
-
Constructor Detail
-
SimpleCalendarEvent
public SimpleCalendarEvent(java.time.Instant start, java.time.Instant end, org.teamapps.icons.api.Icon icon, java.lang.String caption)
-
SimpleCalendarEvent
public SimpleCalendarEvent(long start, long end, org.teamapps.icons.api.Icon icon, java.lang.String caption)
-
-
Method Detail
-
getIcon
public org.teamapps.icons.api.Icon getIcon()
Description copied from interface:CalendarEventIn case the event is rendered without a template, use this icon.
-
setIcon
public void setIcon(org.teamapps.icons.api.Icon icon)
-
getImage
public java.lang.String getImage()
-
setImage
public void setImage(java.lang.String image)
-
getTitle
public java.lang.String getTitle()
Description copied from interface:CalendarEventIn case the event is rendered without a template, use this title.
-
getCaption
public java.lang.String getCaption()
-
setCaption
public void setCaption(java.lang.String caption)
-
getBadge
public java.lang.String getBadge()
-
setBadge
public void setBadge(java.lang.String badge)
-
getPayload
public PAYLOAD getPayload()
-
setPayload
public void setPayload(PAYLOAD payload)
-
-