public abstract class AbstractCalendarItem<T> extends java.lang.Object implements CalendarItem
CalendarItem| Modifier and Type | Field and Description |
|---|---|
protected T |
_begin |
protected java.lang.String |
_content |
protected java.lang.String |
_contentColor |
protected T |
_end |
protected java.lang.String |
_headerColor |
protected boolean |
_locked |
protected java.lang.String |
_title |
| Constructor and Description |
|---|
AbstractCalendarItem(java.lang.String title,
java.lang.String content,
java.lang.String headerColor,
java.lang.String contentColor,
boolean locked,
T begin,
T end) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.time.Instant |
convertToInstant(T date) |
java.time.Instant |
getBegin()
Returns the beginning date of the calendar item in Instant.
|
java.lang.String |
getContent()
Returns the content of the calendar item.
|
java.lang.String |
getContentColor()
Returns the color of the content in the calendar item.
|
java.time.Instant |
getEnd()
Returns the beginning date of the calendar item in Instant.
|
java.lang.String |
getHeaderColor()
Returns the color of the header in the calendar item.
|
java.lang.String |
getTitle()
Returns the title of the calendar item.
|
java.lang.String |
getZclass()
Returns the zclass of the calendar item.
|
boolean |
isLocked()
When it returns true, an end-user can't move the calendar item by mouse drag and drop in a browser.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBeginDate, getEndDateprotected java.lang.String _title
protected java.lang.String _content
protected java.lang.String _headerColor
protected java.lang.String _contentColor
protected boolean _locked
protected T _begin
protected T _end
public java.time.Instant getBegin()
CalendarItemgetBegin in interface CalendarItempublic java.time.Instant getEnd()
CalendarItemgetEnd in interface CalendarItemprotected abstract java.time.Instant convertToInstant(T date)
public java.lang.String getTitle()
CalendarItemNote: never null
getTitle in interface CalendarItempublic java.lang.String getContent()
CalendarItemNote: never null
getContent in interface CalendarItempublic java.lang.String getHeaderColor()
CalendarItemNote: never null
getHeaderColor in interface CalendarItempublic java.lang.String getContentColor()
CalendarItemNote: never null
getContentColor in interface CalendarItempublic java.lang.String getZclass()
CalendarItemNote: never null
getZclass in interface CalendarItempublic boolean isLocked()
CalendarItemisLocked in interface CalendarItemCopyright © 2021. All Rights Reserved.