Class AbstractCalendarEvent
- java.lang.Object
-
- org.teamapps.ux.component.calendar.AbstractCalendarEvent
-
- All Implemented Interfaces:
CalendarEvent
- Direct Known Subclasses:
SimpleCalendarEvent
public class AbstractCalendarEvent extends java.lang.Object implements CalendarEvent
-
-
Constructor Summary
Constructors Constructor Description AbstractCalendarEvent(long start, long end)AbstractCalendarEvent(java.time.Instant start, java.time.Instant end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.teamapps.common.format.ColorgetBackgroundColor()org.teamapps.common.format.ColorgetBorderColor()longgetEnd()CalendarEventRenderingStylegetRendering()longgetStart()booleanisAllDay()booleanisAllowDragOperations()voidsetAllDay(boolean allDay)voidsetAllowDragOperations(boolean allowDragOperations)voidsetBackgroundColor(org.teamapps.common.format.Color backgroundColor)voidsetBorderColor(org.teamapps.common.format.Color borderColor)voidsetEnd(long end)voidsetRendering(CalendarEventRenderingStyle rendering)voidsetStart(long start)java.lang.StringtoString()-
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, getIcon, getStartInstant, getTitle
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getStart
public long getStart()
- Specified by:
getStartin interfaceCalendarEvent
-
setStart
public void setStart(long start)
-
getEnd
public long getEnd()
- Specified by:
getEndin interfaceCalendarEvent
-
setEnd
public void setEnd(long end)
-
isAllDay
public boolean isAllDay()
- Specified by:
isAllDayin interfaceCalendarEvent
-
setAllDay
public void setAllDay(boolean allDay)
-
isAllowDragOperations
public boolean isAllowDragOperations()
- Specified by:
isAllowDragOperationsin interfaceCalendarEvent
-
setAllowDragOperations
public void setAllowDragOperations(boolean allowDragOperations)
-
getBackgroundColor
public org.teamapps.common.format.Color getBackgroundColor()
- Specified by:
getBackgroundColorin interfaceCalendarEvent
-
setBackgroundColor
public void setBackgroundColor(org.teamapps.common.format.Color backgroundColor)
-
getBorderColor
public org.teamapps.common.format.Color getBorderColor()
- Specified by:
getBorderColorin interfaceCalendarEvent
-
setBorderColor
public void setBorderColor(org.teamapps.common.format.Color borderColor)
-
getRendering
public CalendarEventRenderingStyle getRendering()
- Specified by:
getRenderingin interfaceCalendarEvent
-
setRendering
public void setRendering(CalendarEventRenderingStyle rendering)
-
-