org.richfaces.component

## Class AbstractCalendar

- java.lang.Object
- - javax.faces.component.UIComponent
  - - javax.faces.component.UIComponentBase
    - - javax.faces.component.UIOutput
      - - javax.faces.component.UIInput
        - - org.richfaces.component.AbstractCalendar

- All Implemented Interfaces:
    EventListener, javax.faces.component.EditableValueHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, org.richfaces.component.MetaComponentEncoder, org.richfaces.component.MetaComponentResolver
  Direct Known Subclasses:
    UICalendar

      public abstract class AbstractCalendar
      extends javax.faces.component.UIInput
      implements org.richfaces.component.MetaComponentResolver, org.richfaces.component.MetaComponentEncoder

  The <rich:calendar> component allows the user to enter a date and time through an in-line or pop-up calendar. The pop-up calendar can navigate through months and years, and its look and feel can be highly customized.

  Author:
    amarkhel

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `AbstractCalendar.Mode`
    `protected static class` | `AbstractCalendar.PropertyKeys`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `COMPONENT_FAMILY`
    `static String` | `COMPONENT_TYPE`
    `static String` | `DAYSDATA_META_COMPONENT_ID`
    `static String` | `DEFAULT_DATE_PATTERN`
    `static String` | `SUB_TIME_PATTERN`
    `static String` | `TIME_PATTERN`

    - ### Fields inherited from class javax.faces.component.UIInput

      `CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME`

    - ### Fields inherited from class javax.faces.component.UIComponent

      `ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY`

    - ### Fields inherited from interface org.richfaces.component.MetaComponentResolver

      `META_COMPONENT_SEPARATOR_CHAR`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractCalendar()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addCurrentDateChangeListener(org.richfaces.event.CurrentDateChangeListener listener)`
    `void` | `broadcast(javax.faces.event.FacesEvent event)`
    `ArrayList<Object>` | `deleteEmptyPropeties(CalendarDataModelItem[] calendarDataModelItems)`
    `void` | `encodeMetaComponent(javax.faces.context.FacesContext context, String metaComponentId)`
    `static Object` | `formatStartDate(Date date)`
    `abstract String` | `getBoundaryDatesMode()` This attribute is responsible for behaviour of dates from the previous and next months which are displayed in the current month.
    `abstract String` | `getButtonClass()` Space-separated list of CSS style class(es) to be applied to the button element.
    `abstract String` | `getButtonDisabledIcon()` Defines disabled icon for the popup button element.
    `abstract String` | `getButtonIcon()` Defines icon for the popup button element.
    `abstract String` | `getButtonLabel()` Defines label for the popup button element.
    `abstract Object` | `getCurrentDate()` Used to define the month and year which will be displayed
    `org.richfaces.event.CurrentDateChangeListener[]` | `getCurrentDateChangeListeners()`
    `Date` | `getCurrentDateOrDefault()`
    `abstract CalendarDataModel` | `getDataModel()` Used to provide data for calendar elements.
    `abstract String` | `getDatePattern()` Used to format the date and time strings, according to ISO 8601 (for example, d/M/yy HH:mm a)
    `abstract String` | `getDayClassFunction()` The javascript function that determines the CSS style class for each day cell
    `abstract String` | `getDayDisableFunction()` The javascript function that enables or disables a day cell
    `abstract String` | `getDefaultLabel()` The starting label can be set when in the initial view state.
    `protected Date` | `getDefaultPreloadBegin(Date date)`
    `protected Date` | `getDefaultPreloadEnd(Date date)`
    `abstract Object` | `getDefaultTime()` Defines time that will be used:
    `static Object` | `getDefaultValueOfDefaultTime(javax.faces.context.FacesContext facesContext, AbstractCalendar calendarComponent)`
    `abstract org.richfaces.component.Positioning` | `getDirection()`
    `abstract int` | `getFirstWeekDay()` Determines the first day of the week is; e.g., SUNDAY in the U.S., MONDAY in France.
    `abstract int` | `getHorizontalOffset()`
    `abstract String` | `getInputClass()` Space-separated list of CSS style class(es) to be applied to the input element.
    `abstract String` | `getInputSize()` Defines the size of an input field.
    `abstract String` | `getInputStyle()` CSS style(s) to be applied to the input element
    `abstract org.richfaces.component.Positioning` | `getJointPoint()`
    `Object` | `getLocale()` Used for locale definition
    `abstract int` | `getMinDaysInFirstWeek()` Gets what the minimal days required in the first week of the year are; e.g., if the first week is defined as one that contains the first day of the first month of a year, this method returns 1.
    `abstract AbstractCalendar.Mode` | `getMode()` Valid values: ajax or client
    `abstract Object` | `getMonthLabels()` Attribute that allows to customize names of the months.
    `abstract Object` | `getMonthLabelsShort()` Attribute that allows to customize short names of the months.
    `abstract String` | `getOnbeforecurrentdateselect()` The client-side script method to be called before the current month or year is changed
    `abstract String` | `getOnbeforedateselect()` The client-side script method to be called before some date cell is selected
    `abstract String` | `getOnbeforetimeselect()` The client-side script method to be called before time is selected
    `abstract String` | `getOnchange()` Javascript code executed when this element loses focus and its value has been modified since gaining focus.
    `abstract String` | `getOnclean()` The client-side script method to be called before the component is cleaned
    `abstract String` | `getOncomplete()` The client-side script method to be called after the DOM is updated
    `abstract String` | `getOncurrentdateselect()` The client-side script method to be called when the current month or year is changed
    `abstract String` | `getOndatemouseout()` The client-side script method to be called when a pointer is moved away from the date cell
    `abstract String` | `getOndatemouseover()` The client-side script method to be called when a pointer is moved onto the date cell
    `abstract String` | `getOndateselect()` The client-side script method to be called when some date cell is selected
    `abstract String` | `getOnhide()`
    `abstract String` | `getOninputblur()` Javascript code executed when the input element loses focus.
    `abstract String` | `getOninputchange()` Javascript code executed when the input field value is changed manually
    `abstract String` | `getOninputclick()` Javascript code executed when a pointer button is clicked over the input element.
    `abstract String` | `getOninputdblclick()` Javascript code executed when a pointer button is double clicked over the input element.
    `abstract String` | `getOninputfocus()` Javascript code executed when the input element receives focus.
    `abstract String` | `getOninputkeydown()` Javascript code executed when a key is pressed down over the input element.
    `abstract String` | `getOninputkeypress()` Javascript code executed when a key is pressed and released over the input element.
    `abstract String` | `getOninputkeyup()` Javascript code executed when a key is released over the input element.
    `abstract String` | `getOninputmousedown()` Javascript code executed when a pointer button is pressed down over the input element.
    `abstract String` | `getOninputmousemove()` Javascript code executed when a pointer button is moved within the input element.
    `abstract String` | `getOninputmouseout()` Javascript code executed when a pointer button is moved away from the input element.
    `abstract String` | `getOninputmouseover()` Javascript code executed when a pointer button is moved onto the input element.
    `abstract String` | `getOninputmouseup()` Javascript code executed when a pointer button is released over the input element.
    `abstract String` | `getOninputselect()` Javascript code executed called when the input field value is selected
    `abstract String` | `getOnshow()`
    `abstract String` | `getOntimeselect()` The client-side script method to be called after time is selected
    `abstract String` | `getPopupClass()` Space-separated list of CSS style class(es) to be applied to the popup element.
    `abstract String` | `getPopupStyle()` CSS style(s) to be applied to the popup element
    `Object` | `getPreload()`
    `Date[]` | `getPreloadDateRange()`
    `abstract Object` | `getPreloadDateRangeBegin()` Defines the last range of date which will be loaded to client from dataModel under rendering
    `abstract Object` | `getPreloadDateRangeEnd()` Define the initial range of date which will be loaded to client from dataModel under rendering
    `abstract String` | `getStyle()` CSS style(s) to be applied when this component is rendered
    `abstract String` | `getStyleClass()` Space-separated list of CSS style class(es) to be applied when this element is rendered.
    `abstract String` | `getTabindex()` Position of this element in the tabbing order for the current document.
    `abstract TimeZone` | `getTimeZone()` Used for current date calculations
    `abstract String` | `getTodayControlMode()` This attribute defines the mode for "today" control.
    `abstract int` | `getVerticalOffset()`
    `abstract Object` | `getWeekDayLabels()` List of the day names displays on the days bar in the following way "Sun, Mon, Tue, Wed,"
    `abstract Object` | `getWeekDayLabelsShort()` Attribute that allows to customize short names of the weekdays.
    `abstract int` | `getZindex()`
    `abstract boolean` | `isDisabled()` If "true", rendered is disabled.
    `abstract boolean` | `isEnableManualInput()` If "true" calendar input will be editable and it will be possible to change the date manually.
    `abstract boolean` | `isPopup()` If "true", the calendar will be rendered initially as hidden with additional elements for calling as popup
    `abstract boolean` | `isReadonly()` If "true".
    `abstract boolean` | `isResetTimeOnDateSelect()` If value is true then calendar should change time to defaultTime for newly-selected dates
    `abstract boolean` | `isShowApplyButton()` If false ApplyButton should not be shown
    `abstract boolean` | `isShowFooter()` If false Calendar's footer should not be shown
    `abstract boolean` | `isShowHeader()` If false Calendar's header should not be shown
    `abstract boolean` | `isShowInput()` "false" value for this attribute makes text field invisible.
    `abstract boolean` | `isShowWeekDaysBar()` If false this bar should not be shown
    `abstract boolean` | `isShowWeeksBar()` If false this bar should not be shown
    `void` | `removeCurrentDateChangeListener(org.richfaces.event.CurrentDateChangeListener listener)`
    `String` | `resolveClientId(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent contextComponent, String metaComponentId)`
    `abstract void` | `setCurrentDate(Object date)`
    `void` | `setLocale(Object locale)`
    `abstract void` | `setPreloadDateRangeBegin(Object date)`
    `abstract void` | `setPreloadDateRangeEnd(Object date)`
    `String` | `substituteUnresolvedClientId(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent contextComponent, String metaComponentId)`
    `void` | `updateCurrentDate(javax.faces.context.FacesContext facesContext, Object currentDate)`
    `boolean` | `visitTree(javax.faces.component.visit.VisitContext context, javax.faces.component.visit.VisitCallback callback)`

    - ### Methods inherited from class javax.faces.component.UIInput

      `addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getFamily, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue`

    - ### Methods inherited from class javax.faces.component.UIOutput

      `getConverter, getLocalValue, setConverter`

    - ### Methods inherited from class javax.faces.component.UIComponentBase

      `addClientBehavior, addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent`

    - ### Methods inherited from class javax.faces.component.UIComponent

      `encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface javax.faces.component.ValueHolder

      `getConverter, getLocalValue, setConverter`

- - ### Field Detail

    - #### DAYSDATA_META_COMPONENT_ID

          public static final String DAYSDATA_META_COMPONENT_ID

      See Also:
        Constant Field Values

    - #### COMPONENT_TYPE

          public static final String COMPONENT_TYPE

      See Also:
        Constant Field Values

    - #### COMPONENT_FAMILY

          public static final String COMPONENT_FAMILY

      See Also:
        Constant Field Values

    - #### SUB_TIME_PATTERN

          public static final String SUB_TIME_PATTERN

      See Also:
        Constant Field Values

    - #### TIME_PATTERN

          public static final String TIME_PATTERN

      See Also:
        Constant Field Values

    - #### DEFAULT_DATE_PATTERN

          public static final String DEFAULT_DATE_PATTERN

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### AbstractCalendar

          public AbstractCalendar()

  - ### Method Detail

    - #### getDatePattern

          public abstract String getDatePattern()

      Used to format the date and time strings, according to ISO 8601 (for example, d/M/yy HH:mm a)

    - #### getTimeZone

          public abstract TimeZone getTimeZone()

      Used for current date calculations

      Default value is "getDefaultTimeZone()"

    - #### getFirstWeekDay

          public abstract int getFirstWeekDay()

      Determines the first day of the week is; e.g., SUNDAY in the U.S., MONDAY in France. Possible values should be integers from 0 to 6, 0 corresponds to Sunday

      Default value is "getDefaultFirstWeekDay()"

    - #### getMinDaysInFirstWeek

          public abstract int getMinDaysInFirstWeek()

      Gets what the minimal days required in the first week of the year are; e.g., if the first week is defined as one that contains the first day of the first month of a year, this method returns 1. If the minimal days required must be a full week, this method returns 7.

      Default value is "getDefaultMinDaysInFirstWeek()"

    - #### getTodayControlMode

          public abstract String getTodayControlMode()

      This attribute defines the mode for "today" control. Possible values are "scroll", "select", "hidden"

      Default value is "select"

    - #### isShowWeekDaysBar

          public abstract boolean isShowWeekDaysBar()

      If false this bar should not be shown

      Default value is "true"

    - #### isShowWeeksBar

          public abstract boolean isShowWeeksBar()

      If false this bar should not be shown

      Default value is "true"

    - #### isShowFooter

          public abstract boolean isShowFooter()

      If false Calendar's footer should not be shown

      Default value is "true"

    - #### isShowHeader

          public abstract boolean isShowHeader()

      If false Calendar's header should not be shown

      Default value is "true"

    - #### isShowInput

          public abstract boolean isShowInput()

      "false" value for this attribute makes text field invisible. It works only if popupMode="true" If showInput is "true" - input field will be shown

      Default value is "true"

    - #### isPopup

          public abstract boolean isPopup()

      If "true", the calendar will be rendered initially as hidden with additional elements for calling as popup

      Default value is "true"

    - #### isDisabled

          public abstract boolean isDisabled()

      If "true", rendered is disabled. In "popup" mode both controls are disabled

      Default value is "false"

    - #### isEnableManualInput

          public abstract boolean isEnableManualInput()

      If "true" calendar input will be editable and it will be possible to change the date manually. If "false" the text field will be "read-only", so the value can be changed only from a handle.

      Default value is "false"

    - #### isReadonly

          public abstract boolean isReadonly()

      If "true". Date and time are not selectable. In "popup" mode input is disabled and button is enabled.

      Default value is "false"

    - #### getDayDisableFunction

          public abstract String getDayDisableFunction()

      The javascript function that enables or disables a day cell

    - #### isShowApplyButton

          public abstract boolean isShowApplyButton()

      If false ApplyButton should not be shown

      Default value is "false"

    - #### isResetTimeOnDateSelect

          public abstract boolean isResetTimeOnDateSelect()

      If value is true then calendar should change time to defaultTime for newly-selected dates

      Default value is "false"

    - #### getJointPoint

          public abstract org.richfaces.component.Positioning getJointPoint()

    - #### getDirection

          public abstract org.richfaces.component.Positioning getDirection()

    - #### getHorizontalOffset

          public abstract int getHorizontalOffset()

    - #### getVerticalOffset

          public abstract int getVerticalOffset()

    - #### getBoundaryDatesMode

          public abstract String getBoundaryDatesMode()

      This attribute is responsible for behaviour of dates from the previous and next months which are displayed in the current month. Valid values are "inactive" (Default) dates inactive and gray colored, "scroll" boundaries work as month scrolling controls, and "select" boundaries work in the same way as "scroll" but with the date clicked selection

      Default value is "inactive"

    - #### getZindex

          public abstract int getZindex()

    - #### getMode

          public abstract AbstractCalendar.Mode getMode()

      Valid values: ajax or client

      Default value is "client"

    - #### getDefaultLabel

          public abstract String getDefaultLabel()

      The starting label can be set when in the initial view state. If the initial value is already set through the value attribute, this is displayed instead.

    - #### getStyle

          public abstract String getStyle()

      CSS style(s) to be applied when this component is rendered

    - #### getStyleClass

          public abstract String getStyleClass()

      Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.

    - #### getPopupStyle

          public abstract String getPopupStyle()

      CSS style(s) to be applied to the popup element

    - #### getPopupClass

          public abstract String getPopupClass()

      Space-separated list of CSS style class(es) to be applied to the popup element. This value must be passed through as the "class" attribute on generated markup.

    - #### getMonthLabels

          public abstract Object getMonthLabels()

      Attribute that allows to customize names of the months. Should accept list with the month names

    - #### getMonthLabelsShort

          public abstract Object getMonthLabelsShort()

      Attribute that allows to customize short names of the months. Should accept list with the month names

    - #### getWeekDayLabelsShort

          public abstract Object getWeekDayLabelsShort()

      Attribute that allows to customize short names of the weekdays. Should accept list with the weekday's names.

    - #### getWeekDayLabels

          public abstract Object getWeekDayLabels()

      List of the day names displays on the days bar in the following way "Sun, Mon, Tue, Wed,"

    - #### getDayClassFunction

          public abstract String getDayClassFunction()

      The javascript function that determines the CSS style class for each day cell

    - #### getTabindex

          public abstract String getTabindex()

      Position of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767.

    - #### getInputStyle

          public abstract String getInputStyle()

      CSS style(s) to be applied to the input element

    - #### getButtonClass

          public abstract String getButtonClass()

      Space-separated list of CSS style class(es) to be applied to the button element. This value must be passed through as the "class" attribute on generated markup.

    - #### getInputClass

          public abstract String getInputClass()

      Space-separated list of CSS style class(es) to be applied to the input element. This value must be passed through as the "class" attribute on generated markup.

    - #### getButtonLabel

          public abstract String getButtonLabel()

      Defines label for the popup button element. If the attribute is set "buttonIcon" and "buttonIconDisabled" are ignored

    - #### getInputSize

          public abstract String getInputSize()

      Defines the size of an input field. Similar to the "size" attribute of <h:inputText/>

    - #### getCurrentDate

          public abstract Object getCurrentDate()

      Used to define the month and year which will be displayed

    - #### setCurrentDate

          public abstract void setCurrentDate(Object date)

    - #### getButtonIcon

          public abstract String getButtonIcon()

      Defines icon for the popup button element. The attribute is ignored if the "buttonLabel" is set

    - #### getButtonDisabledIcon

          public abstract String getButtonDisabledIcon()

      Defines disabled icon for the popup button element. The attribute is ignored if the "buttonLabel" is set

    - #### getDefaultTime

          public abstract Object getDefaultTime()

      Defines time that will be used:

      1. to set time when the value is empty
      2. to set time when date changes and flag "resetTimeOnDateSelect" is true

      Default value is "getDefaultValueOfDefaultTime()"

    - #### getPreloadDateRangeBegin

          public abstract Object getPreloadDateRangeBegin()

      Defines the last range of date which will be loaded to client from dataModel under rendering

      Default value is "getDefaultPreloadEnd(getCurrentDateOrDefault())"

    - #### setPreloadDateRangeBegin

          public abstract void setPreloadDateRangeBegin(Object date)

    - #### getPreloadDateRangeEnd

          public abstract Object getPreloadDateRangeEnd()

      Define the initial range of date which will be loaded to client from dataModel under rendering

      Default value is "getDefaultPreloadBegin(getCurrentDateOrDefault())"

    - #### setPreloadDateRangeEnd

          public abstract void setPreloadDateRangeEnd(Object date)

    - #### getDataModel

          public abstract CalendarDataModel getDataModel()

      Used to provide data for calendar elements. If data is not provided, all Data Model related functions are disabled

    - #### getOninputclick

          public abstract String getOninputclick()

      Javascript code executed when a pointer button is clicked over the input element.

    - #### getOninputdblclick

          public abstract String getOninputdblclick()

      Javascript code executed when a pointer button is double clicked over the input element.

    - #### getOninputchange

          public abstract String getOninputchange()

      Javascript code executed when the input field value is changed manually

    - #### getOninputselect

          public abstract String getOninputselect()

      Javascript code executed called when the input field value is selected

    - #### getOninputmousedown

          public abstract String getOninputmousedown()

      Javascript code executed when a pointer button is pressed down over the input element.

    - #### getOninputmousemove

          public abstract String getOninputmousemove()

      Javascript code executed when a pointer button is moved within the input element.

    - #### getOninputmouseout

          public abstract String getOninputmouseout()

      Javascript code executed when a pointer button is moved away from the input element.

    - #### getOninputmouseover

          public abstract String getOninputmouseover()

      Javascript code executed when a pointer button is moved onto the input element.

    - #### getOninputmouseup

          public abstract String getOninputmouseup()

      Javascript code executed when a pointer button is released over the input element.

    - #### getOninputkeydown

          public abstract String getOninputkeydown()

      Javascript code executed when a key is pressed down over the input element.

    - #### getOninputkeypress

          public abstract String getOninputkeypress()

      Javascript code executed when a key is pressed and released over the input element.

    - #### getOninputkeyup

          public abstract String getOninputkeyup()

      Javascript code executed when a key is released over the input element.

    - #### getOninputfocus

          public abstract String getOninputfocus()

      Javascript code executed when the input element receives focus.

    - #### getOninputblur

          public abstract String getOninputblur()

      Javascript code executed when the input element loses focus.

    - #### getOnchange

          public abstract String getOnchange()

      Javascript code executed when this element loses focus and its value has been modified since gaining focus.

    - #### getOndateselect

          public abstract String getOndateselect()

      The client-side script method to be called when some date cell is selected

    - #### getOnbeforedateselect

          public abstract String getOnbeforedateselect()

      The client-side script method to be called before some date cell is selected

    - #### getOncurrentdateselect

          public abstract String getOncurrentdateselect()

      The client-side script method to be called when the current month or year is changed

    - #### getOnbeforecurrentdateselect

          public abstract String getOnbeforecurrentdateselect()

      The client-side script method to be called before the current month or year is changed

    - #### getOncomplete

          public abstract String getOncomplete()

      The client-side script method to be called after the DOM is updated

    - #### getOnhide

          public abstract String getOnhide()

    - #### getOndatemouseout

          public abstract String getOndatemouseout()

      The client-side script method to be called when a pointer is moved away from the date cell

    - #### getOndatemouseover

          public abstract String getOndatemouseover()

      The client-side script method to be called when a pointer is moved onto the date cell

    - #### getOnshow

          public abstract String getOnshow()

    - #### getOntimeselect

          public abstract String getOntimeselect()

      The client-side script method to be called after time is selected

    - #### getOnbeforetimeselect

          public abstract String getOnbeforetimeselect()

      The client-side script method to be called before time is selected

    - #### getOnclean

          public abstract String getOnclean()

      The client-side script method to be called before the component is cleaned

    - #### getLocale

          public Object getLocale()

      Used for locale definition

      Default value is "getDefaultLocale()"

    - #### setLocale

          public void setLocale(Object locale)

    - #### broadcast

          public void broadcast(javax.faces.event.FacesEvent event)
                         throws javax.faces.event.AbortProcessingException

      Overrides:
        `broadcast` in class `javax.faces.component.UIComponentBase`
      Throws:
        `javax.faces.event.AbortProcessingException`

    - #### updateCurrentDate

          public void updateCurrentDate(javax.faces.context.FacesContext facesContext,
                               Object currentDate)

    - #### addCurrentDateChangeListener

          public void addCurrentDateChangeListener(org.richfaces.event.CurrentDateChangeListener listener)

    - #### removeCurrentDateChangeListener

          public void removeCurrentDateChangeListener(org.richfaces.event.CurrentDateChangeListener listener)

    - #### getCurrentDateChangeListeners

          public org.richfaces.event.CurrentDateChangeListener[] getCurrentDateChangeListeners()

    - #### getDefaultValueOfDefaultTime

          public static Object getDefaultValueOfDefaultTime(javax.faces.context.FacesContext facesContext,
                                            AbstractCalendar calendarComponent)

    - #### getDefaultPreloadBegin

          protected Date getDefaultPreloadBegin(Date date)

    - #### getDefaultPreloadEnd

          protected Date getDefaultPreloadEnd(Date date)

    - #### getCurrentDateOrDefault

          public Date getCurrentDateOrDefault()

    - #### resolveClientId

          public String resolveClientId(javax.faces.context.FacesContext facesContext,
                               javax.faces.component.UIComponent contextComponent,
                               String metaComponentId)

      Specified by:
        `resolveClientId` in interface `org.richfaces.component.MetaComponentResolver`

    - #### substituteUnresolvedClientId

          public String substituteUnresolvedClientId(javax.faces.context.FacesContext facesContext,
                                            javax.faces.component.UIComponent contextComponent,
                                            String metaComponentId)

      Specified by:
        `substituteUnresolvedClientId` in interface `org.richfaces.component.MetaComponentResolver`

    - #### visitTree

          public boolean visitTree(javax.faces.component.visit.VisitContext context,
                          javax.faces.component.visit.VisitCallback callback)

      Overrides:
        `visitTree` in class `javax.faces.component.UIComponent`

    - #### encodeMetaComponent

          public void encodeMetaComponent(javax.faces.context.FacesContext context,
                                 String metaComponentId)
                                   throws IOException

      Specified by:
        `encodeMetaComponent` in interface `org.richfaces.component.MetaComponentEncoder`
      Throws:
        `IOException`

    - #### getPreload

          public Object getPreload()

    - #### formatStartDate

          public static Object formatStartDate(Date date)

    - #### deleteEmptyPropeties

          public ArrayList<Object> deleteEmptyPropeties(CalendarDataModelItem[] calendarDataModelItems)

    - #### getPreloadDateRange

          public Date[] getPreloadDateRange()

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.