public class SimpleCalendarItem extends AbstractCalendarItem<java.util.Date> implements java.io.Serializable
CalendarItem
AbstractCalendarItem
,
Serialized Form_begin, _content, _contentColor, _end, _headerColor, _locked, _title
Constructor and Description |
---|
SimpleCalendarItem() |
SimpleCalendarItem(java.lang.String title,
java.lang.String content,
java.lang.String headerColor,
java.lang.String contentColor,
boolean locked,
java.util.Date begin,
java.util.Date end) |
Modifier and Type | Method and Description |
---|---|
protected java.time.Instant |
convertToInstant(java.util.Date date) |
void |
setBegin(java.util.Date begin) |
void |
setBeginDate(java.util.Date begin) |
void |
setContent(java.lang.String content) |
void |
setContentColor(java.lang.String contentColor) |
void |
setEnd(java.util.Date end) |
void |
setEndDate(java.util.Date end) |
void |
setHeaderColor(java.lang.String hcolor) |
void |
setLocked(boolean locked)
When setting it to true, an end-user can't move a calendar item by mouse drag and drop in a browser.
|
void |
setTitle(java.lang.String title) |
getBegin, getContent, getContentColor, getEnd, getHeaderColor, getTitle, getZclass, isLocked
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBeginDate, getEndDate
public SimpleCalendarItem()
public SimpleCalendarItem(java.lang.String title, java.lang.String content, java.lang.String headerColor, java.lang.String contentColor, boolean locked, java.util.Date begin, java.util.Date end)
protected java.time.Instant convertToInstant(java.util.Date date)
convertToInstant
in class AbstractCalendarItem<java.util.Date>
public void setBeginDate(java.util.Date begin)
public void setEndDate(java.util.Date end)
public void setBegin(java.util.Date begin)
public void setEnd(java.util.Date end)
public void setTitle(java.lang.String title)
public void setContent(java.lang.String content)
public void setHeaderColor(java.lang.String hcolor)
public void setContentColor(java.lang.String contentColor)
public void setLocked(boolean locked)
locked
- Copyright © 2021. All Rights Reserved.