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.Icon icon, java.lang.String caption)SimpleCalendarEvent(java.time.Instant start, java.time.Instant end, org.teamapps.icons.Icon icon, java.lang.String caption) -
Method Summary
Modifier and Type Method Description java.lang.StringgetBadge()java.lang.StringgetCaption()org.teamapps.icons.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.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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.teamapps.ux.component.calendar.CalendarEvent
getEndInstant, getStartInstant
-
Constructor Details
-
SimpleCalendarEvent
public SimpleCalendarEvent(java.time.Instant start, java.time.Instant end, org.teamapps.icons.Icon icon, java.lang.String caption) -
SimpleCalendarEvent
public SimpleCalendarEvent(long start, long end, org.teamapps.icons.Icon icon, java.lang.String caption)
-
-
Method Details
-
getIcon
public org.teamapps.icons.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.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
-
setPayload
-