Package | Description |
---|---|
org.zkoss.calendar | |
org.zkoss.calendar.api | |
org.zkoss.calendar.event | |
org.zkoss.calendar.impl |
Modifier and Type | Method and Description |
---|---|
CalendarItem |
Calendars.getCalendarItemById(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
java.util.List<CalendarItem> |
Calendars.getItem(java.util.Date beginDate)
Returns the unmodifiable list including all the calendar items matching
from the specified date in the same date.
|
Modifier and Type | Method and Description |
---|---|
void |
Calendars.addDayItem(CalendarItem ce) |
java.lang.String |
Calendars.getCalendarItemId(CalendarItem ce) |
protected java.lang.String |
Calendars.getItemKey(CalendarItem evt) |
void |
Calendars.modifyDayItem(CalendarItem ce) |
void |
Calendars.removeDayItem(CalendarItem ce) |
Modifier and Type | Method and Description |
---|---|
java.util.List<CalendarItem> |
CalendarModel.get(java.util.Date beginDate,
java.util.Date endDate,
RenderContext rc)
Returns the list that must be a list of
CalendarItem type. |
java.util.List<CalendarItem> |
Calendars.getEvent(java.util.Date beginDate)
Deprecated.
Returns the unmodifiable list including all the calendar events matching
from the specified date in the same date.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ItemRender.drawAllDay(Calendars cal,
CalendarItem evt,
java.lang.String id)
Draws the all day in the default mold of the calendar.
|
java.lang.String |
ItemRender.drawAllDayByMonth(Calendars cal,
CalendarItem evt,
java.lang.String id,
java.util.Date begin,
java.util.Date end)
Draws the all day in the month mold of the calendar.
|
java.lang.String |
ItemRender.drawDay(Calendars cal,
CalendarItem evt,
java.lang.String id)
Draws the day in the default mold of the calendar.
|
java.lang.String |
ItemRender.drawDayByMonth(Calendars cal,
CalendarItem evt,
java.lang.String id)
Draws the day in the month mold of the calendar.
|
Modifier and Type | Method and Description |
---|---|
CalendarItem |
CalendarDropEvent.getCalendarEvent()
Returns the calendar event.
|
CalendarItem |
CalendarDataEvent.getCalendarItem() |
CalendarItem |
CalendarsEvent.getCalendarItem()
Returns the calendar item.
|
Constructor and Description |
---|
CalendarDataEvent(CalendarModel model,
int type,
CalendarItem e,
java.util.TimeZone timezone)
Contructor.
|
CalendarDropEvent(java.lang.String name,
org.zkoss.zk.ui.Component target,
org.zkoss.zk.ui.Component dragged,
int x,
int y,
int pageX,
int pageY,
int keys,
java.util.Date date,
CalendarItem ce) |
CalendarsEvent(java.lang.String name,
org.zkoss.zk.ui.Component target,
CalendarItem ce,
java.util.Date beginDate,
java.util.Date endDate,
int x,
int y,
int dtwd,
int dthgh) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCalendarItem<T>
A skeletal implementation for
CalendarItem |
class |
DefaultCalendarItem
An immutable implementation of
AbstractCalendarItem using LocalDateTime and ZoneId. |
class |
SimpleCalendarEvent
Deprecated.
please use
SimpleCalendarItem or DefaultCalendarItem |
class |
SimpleCalendarItem
A simple implementation of
CalendarItem |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<CalendarItem> |
SimpleCalendarModel._list |
Modifier and Type | Method and Description |
---|---|
CalendarItem |
SimpleCalendarModel.remove(int index)
Removes the calendar item from the specified index.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<CalendarItem> |
SimpleCalendarModel.get(java.util.Date beginDate,
java.util.Date endDate,
RenderContext rc)
Returns the list that must be a list of
CalendarItem type. |
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleCalendarModel.add(CalendarItem e)
Adds the calendar item to the list.
|
void |
SimpleCalendarModel.add(int index,
CalendarItem e)
Adds the calendar item to the specified index of the list.
|
static java.lang.String |
Util.createItemTitle(DateFormatter df,
java.util.Locale locale,
java.util.TimeZone timezone,
CalendarItem ce) |
protected void |
AbstractCalendarModel.fireEvent(int type,
CalendarItem e)
Fires a
CalendarDataEvent for all registered listener
(thru AbstractCalendarModel.addCalendarDataListener(org.zkoss.calendar.event.CalendarDataListener) . |
protected void |
AbstractCalendarModel.fireEvent(int type,
CalendarItem e,
java.util.TimeZone timezone)
Fires a
CalendarDataEvent for all registered listener
(thru AbstractCalendarModel.addCalendarDataListener(org.zkoss.calendar.event.CalendarDataListener) . |
int |
SimpleCalendarModel.indexOf(CalendarItem elem)
Returns the index of the first occurrence of the specified element
in this list.
|
boolean |
SimpleCalendarModel.remove(CalendarItem e)
Removes from the specified calendar item.
|
boolean |
SimpleCalendarModel.update(CalendarItem e)
Update the calendar item to the list.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Util.encloseItemList(Calendars calendars,
java.util.Collection<CalendarItem> collection) |
static java.lang.String |
Util.encloseItemMap(Calendars calendars,
java.util.Map<java.lang.String,java.util.List<CalendarItem>> map) |
Constructor and Description |
---|
SimpleCalendarModel(CalendarItem[] array)
Constructor.
|
Constructor and Description |
---|
SimpleCalendarModel(java.util.Collection<CalendarItem> c)
Constructor.
|
SimpleCalendarModel(java.util.List<CalendarItem> list,
boolean live)
Constructor
|
Copyright © 2021. All Rights Reserved.