public abstract class ScheduleBase extends javax.faces.component.UIData implements ISchedule, IceClientBehaviorHolder
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ScheduleBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
ScheduleBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
java.lang.Integer |
getCurrentDay()
Return the value of the
currentDay property. |
java.lang.Integer |
getCurrentMonth()
Return the value of the
currentMonth property. |
java.lang.Integer |
getCurrentYear()
Return the value of the
currentYear property. |
java.lang.Integer |
getDefaultDuration()
Return the value of the
defaultDuration property. |
java.lang.String |
getDefaultEventName() |
java.lang.String |
getDefaultExecute(java.lang.String event) |
java.util.List |
getDefaultList()
Return the value of the
defaultList property. |
java.lang.String |
getDefaultRender(java.lang.String event) |
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
java.lang.String |
getListenerArgument(java.lang.String event) |
java.lang.Integer |
getScrollHeight()
Return the value of the
scrollHeight property. |
java.lang.String |
getShowEventDetails()
Return the value of the
showEventDetails property. |
java.lang.String |
getSideBar()
Return the value of the
sideBar property. |
java.lang.String |
getStyle()
Return the value of the
style property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
java.lang.Object |
getTimeZone()
Return the value of the
timeZone property. |
java.util.Date |
getViewDate()
Return the value of the
viewDate property. |
java.lang.String |
getViewMode()
Return the value of the
viewMode property. |
boolean |
isAddEvents()
Return the value of the
addEvents property. |
boolean |
isDeleteEvents()
Return the value of the
deleteEvents property. |
boolean |
isEditEvents()
Return the value of the
editEvents property. |
boolean |
isEnhancedStyling()
Return the value of the
enhancedStyling property. |
protected boolean |
isPropertySet(java.lang.String finder) |
boolean |
isScrollable()
Return the value of the
scrollable property. |
boolean |
isShowTooltip()
Return the value of the
showTooltip property. |
boolean |
isTwelveHourClock()
Return the value of the
twelveHourClock property. |
void |
setAddEvents(boolean addEvents)
Set the value of the
addEvents property. |
void |
setCurrentDay(java.lang.Integer currentDay)
Set the value of the
currentDay property. |
void |
setCurrentMonth(java.lang.Integer currentMonth)
Set the value of the
currentMonth property. |
void |
setCurrentYear(java.lang.Integer currentYear)
Set the value of the
currentYear property. |
void |
setDefaultDuration(java.lang.Integer defaultDuration)
Set the value of the
defaultDuration property. |
void |
setDefaultList(java.util.List defaultList)
Set the value of the
defaultList property. |
void |
setDeleteEvents(boolean deleteEvents)
Set the value of the
deleteEvents property. |
void |
setEditEvents(boolean editEvents)
Set the value of the
editEvents property. |
void |
setEnhancedStyling(boolean enhancedStyling)
Set the value of the
enhancedStyling property. |
void |
setScrollable(boolean scrollable)
Set the value of the
scrollable property. |
void |
setScrollHeight(java.lang.Integer scrollHeight)
Set the value of the
scrollHeight property. |
void |
setShowEventDetails(java.lang.String showEventDetails)
Set the value of the
showEventDetails property. |
void |
setShowTooltip(boolean showTooltip)
Set the value of the
showTooltip property. |
void |
setSideBar(java.lang.String sideBar)
Set the value of the
sideBar property. |
void |
setStyle(java.lang.String style)
Set the value of the
style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the
styleClass property. |
void |
setTimeZone(java.lang.Object timeZone)
Set the value of the
timeZone property. |
void |
setTwelveHourClock(boolean twelveHourClock)
Set the value of the
twelveHourClock property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
void |
setViewDate(java.util.Date viewDate)
Set the value of the
viewDate property. |
void |
setViewMode(java.lang.String viewMode)
Set the value of the
viewMode property. |
broadcast, createUniqueId, encodeBegin, getClientId, getDataModel, getFirst, getFooter, getHeader, getRowCount, getRowData, getRowIndex, getRows, getValue, getVar, invokeOnComponent, isRowAvailable, isRowStatePreserved, markInitialState, processDecodes, processUpdates, processValidators, queueEvent, restoreState, saveState, setDataModel, setFirst, setFooter, setHeader, setRowIndex, setRows, setRowStatePreserved, setValue, setValueBinding, setVar, visitTreeaddFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInViewpublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIDatapublic void setAddEvents(boolean addEvents)
Set the value of the addEvents property.
Contents: Enable or disable the built-in event addition controls. These controls appear in the popup and sidebar event details view when clicking on an empty area of a day square or an empty time slot. Adding new events this way is only supported if the component value is an instance of any of the following four types: Array, List, Collection, and org.icefaces.ace.model.schedule.LazyScheduleEventList.
setAddEvents in interface ISchedulepublic boolean isAddEvents()
Return the value of the addEvents property.
Contents: Enable or disable the built-in event addition controls. These controls appear in the popup and sidebar event details view when clicking on an empty area of a day square or an empty time slot. Adding new events this way is only supported if the component value is an instance of any of the following four types: Array, List, Collection, and org.icefaces.ace.model.schedule.LazyScheduleEventList. Default = 'true'.
isAddEvents in interface ISchedulepublic void setDefaultDuration(java.lang.Integer defaultDuration)
Set the value of the defaultDuration property.
Contents: Defines the default duration (in minutes) of new events added by the user if an end date or time was not set.
setDefaultDuration in interface ISchedulepublic java.lang.Integer getDefaultDuration()
Return the value of the defaultDuration property.
Contents: Defines the default duration (in minutes) of new events added by the user if an end date or time was not set. Default = '60'.
getDefaultDuration in interface ISchedulepublic void setDeleteEvents(boolean deleteEvents)
Set the value of the deleteEvents property.
Contents: Enable or disable the built-in event deletion controls. These controls appear in the popup and sidebar event details view. Deleting events this way is only supported if the component value is an instance of any of the following four types: Array, List, Collection, and org.icefaces.ace.model.schedule.LazyScheduleEventList.
setDeleteEvents in interface ISchedulepublic boolean isDeleteEvents()
Return the value of the deleteEvents property.
Contents: Enable or disable the built-in event deletion controls. These controls appear in the popup and sidebar event details view. Deleting events this way is only supported if the component value is an instance of any of the following four types: Array, List, Collection, and org.icefaces.ace.model.schedule.LazyScheduleEventList. Default = 'true'.
isDeleteEvents in interface ISchedulepublic void setEditEvents(boolean editEvents)
Set the value of the editEvents property.
Contents: Enable or disable the built-in event editing controls. These controls appear in the popup and sidebar event details view. Modifying events this way is only supported if the component value is an instance of any of the following three types: Array, List, and org.icefaces.ace.model.schedule.LazyScheduleEventList.
setEditEvents in interface ISchedulepublic boolean isEditEvents()
Return the value of the editEvents property.
Contents: Enable or disable the built-in event editing controls. These controls appear in the popup and sidebar event details view. Modifying events this way is only supported if the component value is an instance of any of the following three types: Array, List, and org.icefaces.ace.model.schedule.LazyScheduleEventList. Default = 'true'.
isEditEvents in interface ISchedulepublic void setEnhancedStyling(boolean enhancedStyling)
Set the value of the enhancedStyling property.
Contents: Enabling applies an original styling to the day and time girds and to the events rendered on them in the month, week, and day views. This original styling makes it easier to read the information contained in the schedule by styling the contents in additional ways not covered by Themeroller themes. This styling is always the same, regardless of the theme being applied. Other parts of the schedule such as the title, sidebar and event details dialog are not affected by this styling. Setting this attribute to false prevents this original styling from being applied, leaving only the theme styling.
setEnhancedStyling in interface ISchedulepublic boolean isEnhancedStyling()
Return the value of the enhancedStyling property.
Contents: Enabling applies an original styling to the day and time girds and to the events rendered on them in the month, week, and day views. This original styling makes it easier to read the information contained in the schedule by styling the contents in additional ways not covered by Themeroller themes. This styling is always the same, regardless of the theme being applied. Other parts of the schedule such as the title, sidebar and event details dialog are not affected by this styling. Setting this attribute to false prevents this original styling from being applied, leaving only the theme styling. Default = 'true'.
isEnhancedStyling in interface ISchedulepublic void setScrollHeight(java.lang.Integer scrollHeight)
Set the value of the scrollHeight property.
Contents: Defines a fixed height for the scrollable time grid in pixels.
setScrollHeight in interface ISchedulepublic java.lang.Integer getScrollHeight()
Return the value of the scrollHeight property.
Contents: Defines a fixed height for the scrollable time grid in pixels. Default = '600'.
getScrollHeight in interface ISchedulepublic void setScrollable(boolean scrollable)
Set the value of the scrollable property.
Contents: Enabling renders the time grid of the week and day views in a container that overflows the fixed height and adds a scrollbar.
setScrollable in interface ISchedulepublic boolean isScrollable()
Return the value of the scrollable property.
Contents: Enabling renders the time grid of the week and day views in a container that overflows the fixed height and adds a scrollbar.
isScrollable in interface ISchedulepublic void setShowEventDetails(java.lang.String showEventDetails)
Set the value of the showEventDetails property.
Contents: Specifies where to display the event details after clicking on an event tag on the calendar. Possible values are 'sidebar', 'popup', and 'disabled'.
setShowEventDetails in interface ISchedulepublic java.lang.String getShowEventDetails()
Return the value of the showEventDetails property.
Contents: Specifies where to display the event details after clicking on an event tag on the calendar. Possible values are 'sidebar', 'popup', and 'disabled'. Default = 'popup'.
getShowEventDetails in interface ISchedulepublic void setShowTooltip(boolean showTooltip)
Set the value of the showTooltip property.
Contents: Specifies whether to display a tooltip next to an event, containing the event's detailed information.
setShowTooltip in interface ISchedulepublic boolean isShowTooltip()
Return the value of the showTooltip property.
Contents: Specifies whether to display a tooltip next to an event, containing the event's detailed information. Default = 'false'.
isShowTooltip in interface ISchedulepublic void setSideBar(java.lang.String sideBar)
Set the value of the sideBar property.
Contents: Specifies the location of the sidebar or whether it should be hidden. Possible values are 'right', 'left', and 'hidden'.
setSideBar in interface ISchedulepublic java.lang.String getSideBar()
Return the value of the sideBar property.
Contents: Specifies the location of the sidebar or whether it should be hidden. Possible values are 'right', 'left', and 'hidden'. Default = 'right'.
getSideBar in interface ISchedulepublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: The inline style of the component, rendered on the root div of the component.
public java.lang.String getStyle()
Return the value of the style property.
Contents: The inline style of the component, rendered on the root div of the component.
public void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: The CSS style class of the component, rendered on the root div of the component.
setStyleClass in interface ISchedulepublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: The CSS style class of the component, rendered on the root div of the component.
getStyleClass in interface ISchedulepublic void setTimeZone(java.lang.Object timeZone)
Set the value of the timeZone property.
Contents: A time zone ID String (matching an element of java.util.TimeZone.getAvailableIDs()) or a java.util.TimeZone instance to specify the time zone used for date conversion to and from UTC time. If not specified, the default value is TimeZone.getDefault(), which is the default time zone on the system.
setTimeZone in interface ISchedulepublic java.lang.Object getTimeZone()
Return the value of the timeZone property.
Contents: A time zone ID String (matching an element of java.util.TimeZone.getAvailableIDs()) or a java.util.TimeZone instance to specify the time zone used for date conversion to and from UTC time. If not specified, the default value is TimeZone.getDefault(), which is the default time zone on the system.
getTimeZone in interface ISchedulepublic void setTwelveHourClock(boolean twelveHourClock)
Set the value of the twelveHourClock property.
Contents: Enabling renders the times in the 12-hour clock format.
setTwelveHourClock in interface ISchedulepublic boolean isTwelveHourClock()
Return the value of the twelveHourClock property.
Contents: Enabling renders the times in the 12-hour clock format. Default = 'false'.
isTwelveHourClock in interface ISchedulepublic void setViewDate(java.util.Date viewDate)
Set the value of the viewDate property.
Contents: A Date object specifying the date that is currently displayed in the client. This attribute can be used to set an inital date to display or to programmatically set a date to display. This attribute will be automatically updated with the current date being displayed in the client as the user interacts with the component. If the current view mode is set to 'month', this Date object will be automatically changed to the first day of the given month. If the current view mode is set to 'week', this Date object will be automatically changed to the Sunday when the week starts. If the current view mode is set to 'day', this Date object will not change. The time values are irrelevant for this attribute. If this attribute is not specified, the current date is going to be used. This Date object is assumed to be in the time zone specified by the 'timeZone' attribute.
setViewDate in interface ISchedulepublic java.util.Date getViewDate()
Return the value of the viewDate property.
Contents: A Date object specifying the date that is currently displayed in the client. This attribute can be used to set an inital date to display or to programmatically set a date to display. This attribute will be automatically updated with the current date being displayed in the client as the user interacts with the component. If the current view mode is set to 'month', this Date object will be automatically changed to the first day of the given month. If the current view mode is set to 'week', this Date object will be automatically changed to the Sunday when the week starts. If the current view mode is set to 'day', this Date object will not change. The time values are irrelevant for this attribute. If this attribute is not specified, the current date is going to be used. This Date object is assumed to be in the time zone specified by the 'timeZone' attribute.
getViewDate in interface ISchedulepublic void setViewMode(java.lang.String viewMode)
Set the value of the viewMode property.
Contents: Specifies the range of days that should be displayed at a time in the calendar. Possible values are 'month', 'week', 'day'.
setViewMode in interface ISchedulepublic java.lang.String getViewMode()
Return the value of the viewMode property.
Contents: Specifies the range of days that should be displayed at a time in the calendar. Possible values are 'month', 'week', 'day'. Default = 'month'.
getViewMode in interface ISchedulepublic void setCurrentDay(java.lang.Integer currentDay)
Set the value of the currentDay property.
setCurrentDay in interface ISchedulepublic java.lang.Integer getCurrentDay()
Return the value of the currentDay property.
getCurrentDay in interface ISchedulepublic void setCurrentMonth(java.lang.Integer currentMonth)
Set the value of the currentMonth property.
setCurrentMonth in interface ISchedulepublic java.lang.Integer getCurrentMonth()
Return the value of the currentMonth property.
getCurrentMonth in interface ISchedulepublic void setCurrentYear(java.lang.Integer currentYear)
Set the value of the currentYear property.
setCurrentYear in interface ISchedulepublic java.lang.Integer getCurrentYear()
Return the value of the currentYear property.
getCurrentYear in interface ISchedulepublic void setDefaultList(java.util.List defaultList)
Set the value of the defaultList property.
setDefaultList in interface ISchedulepublic java.util.List getDefaultList()
Return the value of the defaultList property.
getDefaultList in interface IScheduleprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIDatapublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender in interface IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface IceClientBehaviorHolderpublic java.lang.String getListenerArgument(java.lang.String event)
getListenerArgument in interface IceClientBehaviorHolderpublic void addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBaseCopyright 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.