Class Calendars
- java.lang.Object
-
- org.zkoss.zk.ui.AbstractComponent
-
- org.zkoss.zk.ui.HtmlBasedComponent
-
- org.zkoss.zul.impl.XulElement
-
- org.zkoss.calendar.Calendars
-
- All Implemented Interfaces:
Serializable,Cloneable,org.zkoss.zk.ui.Component,org.zkoss.zk.ui.ext.Scope,org.zkoss.zk.ui.sys.ComponentCtrl
public class Calendars extends org.zkoss.zul.impl.XulElementA complete calendar component to represent a calendar to support both molds, default and month, and multi-timezone. By default mold, it can change the days to show one day or a week (days equal to seven) on the calendar at the same time. In the month mold, seven days is always assumed.The Calendars component allows only one single toolbar as its child component, and now it can only manipulate the calendar item by a model named
CalendarModel. And there are three events,onItemCreate,onItemEdit, andonItemUpdatethat can be listened to operate the calendar event triggering by user action, in addition to there are two eventsonDayClickandonWeekClickto be triggered when user clicks on the caption of the day number and the week number within the current year. Besides, the calendar can also support the read-only display by invokingsetReadonly(boolean).- Author:
- jumperchen,jimmy
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<CalendarItem>_addItemListprotected int_beginTimeprotected Date_curDateprotected CalendarDataListener_dataListenerprotected int_daysprotected static Comparator<CalendarItem>_defCompareprotected DateFormatter_dfmterprotected int_endTimeprotected boolean_escapeXMLprotected int_firstDayOfWeekprotected boolean_hasEmptyZoneprotected Map<Object,Object>_idsprotected Map<String,List<CalendarItem>>_itemsprotected List<CalendarItem>_mdyItemListprotected CalendarModel_modelprotected boolean_readonlyprotected List<CalendarItem>_rmItemListprotected SimpleDateFormat_sdfKeyprotected int_timeslotsprotected Map<TimeZone,String>_tzonesprotected boolean_weekOfYearprotected static StringATTR_ON_ADD_ITEM_RESPONSEprotected static StringATTR_ON_INIT_POSTEDprotected static StringATTR_ON_MODIFY_ITEM_RESPONSEprotected static StringATTR_ON_REMOVE_ITEM_RESPONSE
-
Constructor Summary
Constructors Constructor Description Calendars()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddDayItem(CalendarItem ce)voidaddTimeZone(String label, String timezone)Adds the time zone to the calendar.voidaddTimeZone(String label, TimeZone timezone)Adds the time zone to the calendar.protected voidcleanEmptyZone()Objectclone()DategetBeginDate()Deprecated.3.2.0LocalDateTimegetBeginDateTime()Returns the beginning date of the current calendar view using Java 8's date-time API.intgetBeginTime()Returns the beginning time.protected CalendargetCalendar()CalendarItemgetCalendarItemById(String id)StringgetCalendarItemId(CalendarItem ce)DategetCurrentDate()Deprecated.3.2.0LocalDateTimegetCurrentDateTime()Returns the current date using Java 8's date-time API.DateFormattergetDateFormatter()Returns the date formatter.intgetDays()Returns the days.protected static Comparator<CalendarItem>getDefaultBeginDateComparator()TimeZonegetDefaultTimeZone()Returns the current time zone of the calendar.DategetEndDate()Deprecated.3.2.0LocalDateTimegetEndDateTime()Returns the end date of the current calendar view using Java 8's date-time API.intgetEndTime()intgetFirstDayOfWeek()Gets what the first day of the week is; e.g.,SUNDAYin the U.S.,MONDAYin France.List<CalendarItem>getItem(Date beginDate)Returns the unmodifiable list including all the calendar items matching from the specified date in the same date.protected StringgetItemKey(Date date)protected StringgetItemKey(CalendarItem evt)ItemRendergetItemRender()Deprecated.As of release 2.0-RC Returns the item renderer used forCalendarItemto draw its outline (i.e.CalendarModelgetModel()Returns the calendar model.intgetTimeslots()Map<TimeZone,String>getTimeZones()Returns the unmodifiable map including all the timezone inside the calendar.org.zkoss.zul.ToolbargetToolbar()intgetWeekOfMonth()Returns the number of the week of the month in the current date.StringgetZclass()protected voidinit()protected voidinitDataListener()Initializes _dataListener and register the listener to the modelbooleaninsertBefore(org.zkoss.zk.ui.Component newChild, org.zkoss.zk.ui.Component refChild)booleanisEscapeXML()Return whether the item content escape XMLbooleanisReadonly()Returns whether it is readonly.booleanisWeekOfYear()Returns whether enable to show the week number within the current year or not.voidmodifyDayItem(CalendarItem ce)protected voidmovePage(int day)protected voidmovePeriod(int increment)Moves calendar by week or month based on current mold ZKCAL-106voidnextPage()Navigates the current date to the next page, that is, when thegetDays()is seven with default mold, the next page means the next week.voidnextPeriod()Moves to next period (week in default mold, month in month mold) ZKCAL-106voidonAddDayItemResponse()voidonInitRender()voidonModifyDayItemResponse()voidonRemoveDayItemResponse()voidpreviousPage()Navigates the current date to the previous page, that is, when thegetDays()is seven with default mold, the previous page means the previous week.voidpreviousPeriod()Moves to previous period (week in default mold, month in month mold) ZKCAL-106protected voidreadObject(ObjectInputStream s)voidremoveDayItem(CalendarItem ce)booleanremoveTimeZone(TimeZone timezone)Removes the time zone from the calendarprotected voidrendererDayData(DateFormatter dfhandler, org.zkoss.zk.ui.sys.ContentRenderer renderer)protected voidrendererMonthData(DateFormatter dfhandler, org.zkoss.zk.ui.sys.ContentRenderer renderer)protected voidrenderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer)protected voidreSendDateRange()protected voidreSendItemGroup()voidservice(org.zkoss.zk.au.AuRequest request, boolean everError)voidsetBeginTime(int beginTime)Sets the beginning time.voidsetCurrentDate(Date curDate)Deprecated.3.2.0voidsetCurrentDateTime(LocalDateTime localDateTime)Sets the date that determines which period (month/week) the calendar displays, using Java 8 date-time API.voidsetDateFormatter(String clsnm)Sets the date formatter by a class name.voidsetDateFormatter(DateFormatter dfmater)Sets the date formatter.voidsetDays(int days)Sets the days, that is, how many columns should be displayed on the default mold.voidsetEndTime(int endTime)voidsetEscapeXML(boolean escapeXML)Sets whether the item content escape XMLvoidsetFirstDayOfWeek(int value)Sets what the first day of the week is; e.g.,SUNDAYin the U.S.,MONDAYin France.voidsetFirstDayOfWeek(String day)Sets what the first day of the week is.voidsetItemRender(ItemRender render)Deprecated.As of release 2.0-RC Sets the item renderer.voidsetModel(CalendarModel model)Sets the calendar model.voidsetMold(String mold)voidsetReadonly(boolean readonly)Sets whether it is readonly.voidsetTimeslots(int timeslots)voidsetTimeZone(String timezone)Sets the time zone to the calendar, it is easily used for ZUL file.voidsetWeekOfYear(boolean weekOfYear)Sets whether enable to show the week number within the current year or not.-
Methods inherited from class org.zkoss.zul.impl.XulElement
getContext, getCtrlKeys, getPopup, getPropertyAccess, getTooltip, setContext, setContext, setContextAttributes, setCtrlKeys, setPopup, setPopup, setPopupAttributes, setTooltip, setTooltip, setTooltipAttributes
-
Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent
addSclass, evalCSSFlex, focus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTabindexInteger, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, removeSclass, removeSclass, setAction, setClass, setDraggable, setDroppable, setFocus, setHeight, setHeight0, setHeightDirectly, setHflex, setHflex0, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTabindex, setTabindex, setTooltiptext, setTop, setTopDirectly, setVflex, setVflex0, setVflexDirectly, setWidth, setWidth0, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectly
-
Methods inherited from class org.zkoss.zk.ui.AbstractComponent
addAnnotation, addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildAdded, beforeChildRemoved, beforeParentChanged, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableBindingAnnotation, disableClientUpdate, enableBindingAnnotation, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getCallback, getChildren, getClientAttribute, getClientDataAttribute, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getEventListenerMap, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRedrawCallback, getRoot, getShadowFellowIfAny, getShadowRoots, getShadowVariable, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, invalidate, invalidatePartial, isChildable, isInitialized, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onPageAttached, onPageDetached, onWrongValue, query, queryAll, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeCallback, removeChild, removeEventListener, removeForward, removeForward, removeRedrawCallback, removeScopeListener, removeShadowRoot, render, render, render, replace, response, response, response, service, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setDefinition, setDefinition, setId, setPage, setPageBefore, setParent, setStubonly, setStubonly, setSubBindingAnnotationCount, setTemplate, setVisible, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerialize
-
-
-
-
Field Detail
-
ATTR_ON_INIT_POSTED
protected static final String ATTR_ON_INIT_POSTED
- See Also:
- Constant Field Values
-
_firstDayOfWeek
protected int _firstDayOfWeek
-
_curDate
protected Date _curDate
-
_days
protected int _days
-
_dfmter
protected DateFormatter _dfmter
-
_items
protected Map<String,List<CalendarItem>> _items
-
_model
protected CalendarModel _model
-
_dataListener
protected transient CalendarDataListener _dataListener
-
_sdfKey
protected SimpleDateFormat _sdfKey
-
_readonly
protected boolean _readonly
-
_weekOfYear
protected boolean _weekOfYear
-
_hasEmptyZone
protected boolean _hasEmptyZone
-
_escapeXML
protected boolean _escapeXML
-
_addItemList
protected List<CalendarItem> _addItemList
-
_mdyItemList
protected List<CalendarItem> _mdyItemList
-
_rmItemList
protected List<CalendarItem> _rmItemList
-
_beginTime
protected int _beginTime
-
_endTime
protected int _endTime
-
_timeslots
protected int _timeslots
-
ATTR_ON_ADD_ITEM_RESPONSE
protected static final String ATTR_ON_ADD_ITEM_RESPONSE
- See Also:
- Constant Field Values
-
ATTR_ON_REMOVE_ITEM_RESPONSE
protected static final String ATTR_ON_REMOVE_ITEM_RESPONSE
- See Also:
- Constant Field Values
-
ATTR_ON_MODIFY_ITEM_RESPONSE
protected static final String ATTR_ON_MODIFY_ITEM_RESPONSE
- See Also:
- Constant Field Values
-
_defCompare
protected static final Comparator<CalendarItem> _defCompare
-
-
Method Detail
-
init
protected void init()
-
setWeekOfYear
public void setWeekOfYear(boolean weekOfYear)
Sets whether enable to show the week number within the current year or not.
-
isWeekOfYear
public boolean isWeekOfYear()
Returns whether enable to show the week number within the current year or not.Default: false
-
setReadonly
public void setReadonly(boolean readonly)
Sets whether it is readonly.
-
isReadonly
public boolean isReadonly()
Returns whether it is readonly.Default: false.
-
setDateFormatter
public void setDateFormatter(DateFormatter dfmater)
Sets the date formatter. In fact, there are five places in the calendar must have different date display.- See Also:
DateFormatter
-
setDateFormatter
public void setDateFormatter(String clsnm) throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InstantiationException, InvocationTargetException
Sets the date formatter by a class name.
-
getDateFormatter
public DateFormatter getDateFormatter()
Returns the date formatter.Note: never null.
-
setDays
public void setDays(int days)
Sets the days, that is, how many columns should be displayed on the default mold.Default: 7. (i.e. one week), in month view, the attribute will be ignored.
-
getDays
public int getDays()
Returns the days.Default: 7
-
setFirstDayOfWeek
public void setFirstDayOfWeek(int value)
Sets what the first day of the week is; e.g.,SUNDAYin the U.S.,MONDAYin France.Default:
Calendar.SUNDAYNote: it is only allowed when days with 7 in the default mold or using the month mold.
- Parameters:
value- the given first day of the week.- See Also:
getFirstDayOfWeek(),Calendar.setFirstDayOfWeek(int)
-
setFirstDayOfWeek
public void setFirstDayOfWeek(String day)
Sets what the first day of the week is.Note: it is only allowed when days with 7 in the default mold or using the month mold.
- Parameters:
day-SUNDAY,MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY, andSATURDAY. Case insensitive
-
getFirstDayOfWeek
public int getFirstDayOfWeek()
Gets what the first day of the week is; e.g.,SUNDAYin the U.S.,MONDAYin France.Default:
Calendar.SUNDAY- Returns:
- the first day of the week.
- See Also:
setFirstDayOfWeek(int),Calendar.getFirstDayOfWeek()
-
onAddDayItemResponse
public void onAddDayItemResponse()
-
onRemoveDayItemResponse
public void onRemoveDayItemResponse()
-
onModifyDayItemResponse
public void onModifyDayItemResponse()
-
addDayItem
public void addDayItem(CalendarItem ce)
-
modifyDayItem
public void modifyDayItem(CalendarItem ce)
-
removeDayItem
public void removeDayItem(CalendarItem ce)
-
cleanEmptyZone
protected void cleanEmptyZone()
-
getCalendar
protected Calendar getCalendar()
-
addTimeZone
public void addTimeZone(String label, TimeZone timezone)
Adds the time zone to the calendar.Note: the first added will be the default time zone of the calendar.
- Parameters:
label- the description of the time zone.timezone- a time zone. (Cannot duplicate)
-
addTimeZone
public void addTimeZone(String label, String timezone)
Adds the time zone to the calendar.Note: the first added will be the default time zone of the calendar.
- Parameters:
label- the description of the time zone.timezone- a id of time zone. (Cannot duplicate)- See Also:
TimeZone.getTimeZone(String),addTimeZone(String, TimeZone)
-
setTimeZone
public void setTimeZone(String timezone)
Sets the time zone to the calendar, it is easily used for ZUL file. e.g.<calendars timeZone="Taiwan=GMT+8, Sweden=GMT+1,">
- Parameters:
timezone-
-
removeTimeZone
public boolean removeTimeZone(TimeZone timezone)
Removes the time zone from the calendar
-
getDefaultTimeZone
public TimeZone getDefaultTimeZone()
Returns the current time zone of the calendar.
-
getTimeZones
public Map<TimeZone,String> getTimeZones()
Returns the unmodifiable map including all the timezone inside the calendar.
-
getCalendarItemId
public String getCalendarItemId(CalendarItem ce)
-
getCalendarItemById
public CalendarItem getCalendarItemById(String id)
-
getItemKey
protected String getItemKey(CalendarItem evt)
-
getItem
public List<CalendarItem> getItem(Date beginDate)
Returns the unmodifiable list including all the calendar items matching from the specified date in the same date. e.g. "20090324" exclusive the time of the date "23:30".Note: never null.
-
getDefaultBeginDateComparator
protected static final Comparator<CalendarItem> getDefaultBeginDateComparator()
-
previousPage
public void previousPage()
Navigates the current date to the previous page, that is, when thegetDays()is seven with default mold, the previous page means the previous week. In the month mold, it means the previous month.
-
nextPage
public void nextPage()
Navigates the current date to the next page, that is, when thegetDays()is seven with default mold, the next page means the next week. In the month mold, it means the next month.
-
movePage
protected void movePage(int day)
-
nextPeriod
public void nextPeriod()
Moves to next period (week in default mold, month in month mold) ZKCAL-106- Since:
- 3.2.0
-
previousPeriod
public void previousPeriod()
Moves to previous period (week in default mold, month in month mold) ZKCAL-106- Since:
- 3.2.0
-
movePeriod
protected void movePeriod(int increment)
Moves calendar by week or month based on current mold ZKCAL-106- Parameters:
increment- Number of periods to move (positive=forward, negative=backward)- Since:
- 3.2.0
-
getBeginDate
public Date getBeginDate()
Deprecated.3.2.0Returns the beginning date of the current calendar view based ongetCurrentDate(). JS widget renders this date as the first day of a week or a month. The behavior depends on the current mold and days settings:For Month View (mold="month"): - Sets calendar to first day of the month - Adjusts to first day of week based on
getFirstDayOfWeek()For Week View (days longer or equal to 7): - Based on
getCurrentDate(), return the day according togetFirstDayOfWeek(). By default, find the closest Sun.For Custom Days View (days less than 7): - Uses the current date as beginning date
In all cases, the time portion is set to 00:00:00.000
- Returns:
- The beginning Date of the current view, or null if current date is not set
- See Also:
getBeginDateTime()
-
getBeginDateTime
public LocalDateTime getBeginDateTime()
Returns the beginning date of the current calendar view using Java 8's date-time API. The behavior matchesgetBeginDate()but returns a LocalDateTime instead.- Returns:
- The beginning LocalDateTime of the current view, or null if current date is not set
- Since:
- 3.2.0
-
getEndDate
public Date getEndDate()
Deprecated.3.2.0Returns the end date, which is based ongetCurrentDate()in the current view depended on whichAbstractComponent.getMold()is using.- See Also:
getEndDateTime()
-
getEndDateTime
public LocalDateTime getEndDateTime()
Returns the end date of the current calendar view using Java 8's date-time API. The behavior matchesgetEndDate()but returns a LocalDateTime instead.- Returns:
- The end LocalDateTime of the current view, or null if current date is not set
- Since:
- 3.2.0
-
setCurrentDate
public void setCurrentDate(Date curDate)
Deprecated.3.2.0Sets the date that determines which period (month/week) the calendar displays.For Month View (mold="month"): - Calendar displays the month containing this date
For Week/Day View (mold="default"): - Calendar displays the week/days containing this date - Number of days shown depends on
getDays()To change which month/week is displayed, set a date within the desired period.
Default: today (in calendar's timezone) ZKCAL-84
- Parameters:
curDate- The date determining which period to display, cannot be null- Throws:
NullPointerException- if curDate is null- See Also:
setCurrentDateTime(LocalDateTime)
-
setCurrentDateTime
public void setCurrentDateTime(LocalDateTime localDateTime)
Sets the date that determines which period (month/week) the calendar displays, using Java 8 date-time API.For Month View (mold="month"): - Calendar displays the month containing this date
For Week/Day View (mold="default"): - Calendar displays the week/days containing this date - Number of days shown depends on
getDays()To change which month/week is displayed, set a date within the desired period.
Default: today (in calendar's timezone) ZKCAL-84
- Parameters:
localDateTime- The date determining which period to display, cannot be null- Throws:
NullPointerException- if localDateTime is null- Since:
- 3.2.0
-
getCurrentDate
public Date getCurrentDate()
Deprecated.3.2.0Returns the current date.Default: today (depend on which timezone the calendar is using).
- See Also:
getCurrentDateTime()
-
getCurrentDateTime
public LocalDateTime getCurrentDateTime()
Returns the current date using Java 8's date-time API.Default: today (depend on which timezone the calendar is using).
- Since:
- 3.2.0
-
setBeginTime
public void setBeginTime(int beginTime)
Sets the beginning time.Default: 0.
- Since:
- 2.1.0
-
getBeginTime
public int getBeginTime()
Returns the beginning time.Default: 0.
- Since:
- 2.1.0
-
setEndTime
public void setEndTime(int endTime)
- Since:
- 2.1.0
Sets the end time.
Default: 24.
-
getEndTime
public int getEndTime()
- Since:
- 2.1.0
Returns the end time.
Default: 24.
-
setTimeslots
public void setTimeslots(int timeslots)
- Since:
- 2.1.0
Sets the time slot per hour.
Default: 2.
-
getTimeslots
public int getTimeslots()
- Since:
- 2.1.0
Returns the time slot per hour.
Default: 2.
-
reSendDateRange
protected void reSendDateRange()
-
getWeekOfMonth
public int getWeekOfMonth()
Returns the number of the week of the month in the current date.
-
reSendItemGroup
protected void reSendItemGroup()
-
onInitRender
public void onInitRender()
-
getToolbar
public org.zkoss.zul.Toolbar getToolbar()
-
getModel
public CalendarModel getModel()
Returns the calendar model.
-
setModel
public void setModel(CalendarModel model)
Sets the calendar model.
-
initDataListener
protected void initDataListener()
Initializes _dataListener and register the listener to the model
-
setMold
public void setMold(String mold)
- Specified by:
setMoldin interfaceorg.zkoss.zk.ui.Component- Overrides:
setMoldin classorg.zkoss.zk.ui.AbstractComponent
-
setEscapeXML
public void setEscapeXML(boolean escapeXML)
Sets whether the item content escape XML- Parameters:
escapeXML-
-
isEscapeXML
public boolean isEscapeXML()
Return whether the item content escape XML- Returns:
- boolean
-
getZclass
public String getZclass()
- Overrides:
getZclassin classorg.zkoss.zk.ui.HtmlBasedComponent
-
insertBefore
public boolean insertBefore(org.zkoss.zk.ui.Component newChild, org.zkoss.zk.ui.Component refChild)- Specified by:
insertBeforein interfaceorg.zkoss.zk.ui.Component- Overrides:
insertBeforein classorg.zkoss.zk.ui.AbstractComponent
-
clone
public Object clone()
- Specified by:
clonein interfaceorg.zkoss.zk.ui.Component- Overrides:
clonein classorg.zkoss.zul.impl.XulElement
-
readObject
protected void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
service
public void service(org.zkoss.zk.au.AuRequest request, boolean everError)- Specified by:
servicein interfaceorg.zkoss.zk.ui.sys.ComponentCtrl- Overrides:
servicein classorg.zkoss.zk.ui.HtmlBasedComponent
-
renderProperties
protected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) throws IOException- Overrides:
renderPropertiesin classorg.zkoss.zul.impl.XulElement- Throws:
IOException
-
rendererDayData
protected void rendererDayData(DateFormatter dfhandler, org.zkoss.zk.ui.sys.ContentRenderer renderer) throws IOException
- Throws:
IOException
-
rendererMonthData
protected void rendererMonthData(DateFormatter dfhandler, org.zkoss.zk.ui.sys.ContentRenderer renderer) throws IOException
- Throws:
IOException
-
getItemRender
public ItemRender getItemRender()
Deprecated.As of release 2.0-RC Returns the item renderer used forCalendarItemto draw its outline (i.e. HTML), like the DSP renderer of ZK component.Note: never null.
-
setItemRender
public void setItemRender(ItemRender render)
Deprecated.As of release 2.0-RC Sets the item renderer.
-
-