@Generated(value={"RichFaces CDK","4.5.0-SNAPSHOT"}) public class UICalendar extends AbstractCalendar implements javax.faces.component.behavior.ClientBehaviorHolder, MetaComponentEncoder, MetaComponentResolver, CoreProps, EventsPopupsProps, PopupsProps, PositionProps, StyleClassProps, StyleProps
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.
Modifier and Type | Class and Description |
---|---|
protected static class |
UICalendar.Properties |
AbstractCalendar.Mode, AbstractCalendar.PropertyKeys
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
DAYSDATA_META_COMPONENT_ID, DEFAULT_DATE_PATTERN, SUB_TIME_PATTERN, TIME_PATTERN
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME
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
META_COMPONENT_SEPARATOR_CHAR
Constructor and Description |
---|
UICalendar() |
Modifier and Type | Method and Description |
---|---|
String |
getBoundaryDatesMode()
This attribute is responsible for behaviour of dates from the previous and next months which are displayed in the current
month.
|
String |
getButtonClass()
Space-separated list of CSS style class(es) to be applied to the button element.
|
String |
getButtonDisabledIcon()
Defines disabled icon for the popup button element.
|
String |
getButtonIcon()
Defines icon for the popup button element.
|
String |
getButtonLabel()
Defines label for the popup button element.
|
Object |
getCurrentDate()
Used to define the month and year which will be displayed
|
CalendarDataModel |
getDataModel()
Used to provide data for calendar elements.
|
String |
getDatePattern()
Used to format the date and time strings, according to ISO 8601 (for example, d/M/yy HH:mm a)
|
String |
getDayClassFunction()
The javascript function that determines the CSS style class for each day cell
|
String |
getDayDisableFunction()
The javascript function that enables or disables a day cell
|
String |
getDefaultEventName() |
String |
getDefaultLabel()
The starting label can be set when in the initial view state.
|
Object |
getDefaultTime()
Defines time that will be used:
|
Positioning |
getDirection()
Set the direction of the popup.
|
Collection<String> |
getEventNames() |
String |
getFamily() |
int |
getFirstWeekDay()
Determines the first day of the week is; e.g., SUNDAY in the U.S., MONDAY in France.
|
int |
getHorizontalOffset()
Sets the horizontal offset between popup element and the conjunction point
|
String |
getInputClass()
Space-separated list of CSS style class(es) to be applied to the input element.
|
String |
getInputSize()
Defines the size of an input field.
|
String |
getInputStyle()
CSS style(s) to be applied to the input element
|
Positioning |
getJointPoint()
Set the corner attachment point with which the popup should be connected.
|
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.
|
AbstractCalendar.Mode |
getMode()
Valid values: ajax or client
|
Object |
getMonthLabels()
Attribute that allows to customize names of the months.
|
Object |
getMonthLabelsShort()
Attribute that allows to customize short names of the months.
|
String |
getOnbeforecurrentdateselect()
The client-side script method to be called before the current month or year is changed
|
String |
getOnbeforedateselect()
The client-side script method to be called before some date cell is selected
|
String |
getOnbeforetimeselect()
The client-side script method to be called before time is selected
|
String |
getOnchange()
Javascript code executed when this element loses focus and its value has been modified since gaining focus.
|
String |
getOnclean()
The client-side script method to be called before the component is cleaned
|
String |
getOncomplete()
The client-side script method to be called after the DOM is updated
|
String |
getOncurrentdateselect()
The client-side script method to be called when the current month or year is changed
|
String |
getOndatemouseout()
The client-side script method to be called when a pointer is moved away from the date cell
|
String |
getOndatemouseover()
The client-side script method to be called when a pointer is moved onto the date cell
|
String |
getOndateselect()
The client-side script method to be called when some date cell is selected
|
String |
getOnhide()
The client-side code executed after the popup disappears.
|
String |
getOninputblur()
Javascript code executed when the input element loses focus.
|
String |
getOninputchange()
Javascript code executed when the input field value is changed manually
|
String |
getOninputclick()
Javascript code executed when a pointer button is clicked over the input element.
|
String |
getOninputdblclick()
Javascript code executed when a pointer button is double clicked over the input element.
|
String |
getOninputfocus()
Javascript code executed when the input element receives focus.
|
String |
getOninputkeydown()
Javascript code executed when a key is pressed down over the input element.
|
String |
getOninputkeypress()
Javascript code executed when a key is pressed and released over the input element.
|
String |
getOninputkeyup()
Javascript code executed when a key is released over the input element.
|
String |
getOninputmousedown()
Javascript code executed when a pointer button is pressed down over the input element.
|
String |
getOninputmousemove()
Javascript code executed when a pointer button is moved within the input element.
|
String |
getOninputmouseout()
Javascript code executed when a pointer button is moved away from the input element.
|
String |
getOninputmouseover()
Javascript code executed when a pointer button is moved onto the input element.
|
String |
getOninputmouseup()
Javascript code executed when a pointer button is released over the input element.
|
String |
getOninputselect()
Javascript code executed called when the input field value is selected
|
String |
getOnshow()
The client-side code executed after the popup is shown.
|
String |
getOntimeselect()
The client-side script method to be called after time is selected
|
String |
getPopupClass()
Space-separated list of CSS style class(es) to be applied to the popup element.
|
String |
getPopupStyle()
CSS style(s) to be applied to the popup element
|
Object |
getPreloadDateRangeBegin()
Defines the last range of date which will be loaded to client from dataModel under rendering
|
Object |
getPreloadDateRangeEnd()
Define the initial range of date which will be loaded to client from dataModel under rendering
|
String |
getStyle()
CSS style(s) to be applied when this component is rendered.
|
String |
getStyleClass()
Space-separated list of CSS style class(es) to be applied when this element is rendered.
|
String |
getTabindex()
Position of this element in the tabbing order for the current document.
|
TimeZone |
getTimeZone()
Used for current date calculations
|
String |
getTitle()
Advisory title information about markup elements generated for this component.
|
String |
getTodayControlMode()
This attribute defines the mode for "today" control.
|
int |
getVerticalOffset()
Sets the vertical offset between popup element and the conjunction point
|
Object |
getWeekDayLabelsShort()
Attribute that allows to customize short names of the weekdays.
|
int |
getZindex()
Attribute is similar to the standard HTML attribute and can specify window placement relative to the content.
|
boolean |
isDisabled()
If "true", rendered is disabled.
|
boolean |
isEnableManualInput()
If "true" calendar input will be editable and it will be possible to change the date manually.
|
boolean |
isPopup()
If "true", the calendar will be rendered initially as hidden with additional elements for calling as popup
|
boolean |
isReadonly()
If "true".
|
boolean |
isResetTimeOnDateSelect()
If value is true then calendar should change time to defaultTime for newly-selected dates
|
boolean |
isShowApplyButton()
If false ApplyButton should not be shown
|
boolean |
isShowFooter()
If false Calendar's footer should not be shown
|
boolean |
isShowHeader()
If false Calendar's header should not be shown
|
boolean |
isShowInput()
"false" value for this attribute makes text field invisible.
|
boolean |
isShowWeekDaysBar()
If false this bar should not be shown
|
boolean |
isShowWeeksBar()
If false this bar should not be shown
|
void |
setBoundaryDatesMode(String boundaryDatesMode) |
void |
setButtonClass(String buttonClass) |
void |
setButtonDisabledIcon(String buttonDisabledIcon) |
void |
setButtonIcon(String buttonIcon) |
void |
setButtonLabel(String buttonLabel) |
void |
setCurrentDate(Object currentDate) |
void |
setDataModel(CalendarDataModel dataModel) |
void |
setDatePattern(String datePattern) |
void |
setDayClassFunction(String dayClassFunction) |
void |
setDayDisableFunction(String dayDisableFunction) |
void |
setDefaultLabel(String defaultLabel) |
void |
setDefaultTime(Object defaultTime) |
void |
setDirection(Positioning direction) |
void |
setDisabled(boolean disabled) |
void |
setEnableManualInput(boolean enableManualInput) |
void |
setFirstWeekDay(int firstWeekDay) |
void |
setHorizontalOffset(int horizontalOffset) |
void |
setInputClass(String inputClass) |
void |
setInputSize(String inputSize) |
void |
setInputStyle(String inputStyle) |
void |
setJointPoint(Positioning jointPoint) |
void |
setMinDaysInFirstWeek(int minDaysInFirstWeek) |
void |
setMode(AbstractCalendar.Mode mode) |
void |
setMonthLabels(Object monthLabels) |
void |
setMonthLabelsShort(Object monthLabelsShort) |
void |
setOnbeforecurrentdateselect(String onbeforecurrentdateselect) |
void |
setOnbeforedateselect(String onbeforedateselect) |
void |
setOnbeforetimeselect(String onbeforetimeselect) |
void |
setOnchange(String onchange) |
void |
setOnclean(String onclean) |
void |
setOncomplete(String oncomplete) |
void |
setOncurrentdateselect(String oncurrentdateselect) |
void |
setOndatemouseout(String ondatemouseout) |
void |
setOndatemouseover(String ondatemouseover) |
void |
setOndateselect(String ondateselect) |
void |
setOnhide(String onhide) |
void |
setOninputblur(String oninputblur) |
void |
setOninputchange(String oninputchange) |
void |
setOninputclick(String oninputclick) |
void |
setOninputdblclick(String oninputdblclick) |
void |
setOninputfocus(String oninputfocus) |
void |
setOninputkeydown(String oninputkeydown) |
void |
setOninputkeypress(String oninputkeypress) |
void |
setOninputkeyup(String oninputkeyup) |
void |
setOninputmousedown(String oninputmousedown) |
void |
setOninputmousemove(String oninputmousemove) |
void |
setOninputmouseout(String oninputmouseout) |
void |
setOninputmouseover(String oninputmouseover) |
void |
setOninputmouseup(String oninputmouseup) |
void |
setOninputselect(String oninputselect) |
void |
setOnshow(String onshow) |
void |
setOntimeselect(String ontimeselect) |
void |
setPopup(boolean popup) |
void |
setPopupClass(String popupClass) |
void |
setPopupStyle(String popupStyle) |
void |
setPreloadDateRangeBegin(Object preloadDateRangeBegin) |
void |
setPreloadDateRangeEnd(Object preloadDateRangeEnd) |
void |
setReadonly(boolean readonly) |
void |
setResetTimeOnDateSelect(boolean resetTimeOnDateSelect) |
void |
setShowApplyButton(boolean showApplyButton) |
void |
setShowFooter(boolean showFooter) |
void |
setShowHeader(boolean showHeader) |
void |
setShowInput(boolean showInput) |
void |
setShowWeekDaysBar(boolean showWeekDaysBar) |
void |
setShowWeeksBar(boolean showWeeksBar) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
void |
setTabindex(String tabindex) |
void |
setTimeZone(TimeZone timeZone) |
void |
setTitle(String title) |
void |
setTodayControlMode(String todayControlMode) |
void |
setVerticalOffset(int verticalOffset) |
void |
setWeekDayLabelsShort(Object weekDayLabelsShort) |
void |
setZindex(int zindex) |
addCurrentDateChangeListener, broadcast, deleteEmptyPropeties, encodeMetaComponent, formatStartDate, getCurrentDateChangeListeners, getCurrentDateOrDefault, getDefaultPreloadBegin, getDefaultPreloadEnd, getDefaultValueOfDefaultTime, getLocale, getPreload, getPreloadDateRange, removeCurrentDateChangeListener, resolveClientId, setLocale, substituteUnresolvedClientId, updateCurrentDate, visitTree
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, 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
getConverter, getLocalValue, setConverter
addClientBehavior, addFacesListener, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addClientBehavior, getClientBehaviors
encodeMetaComponent
resolveClientId, substituteUnresolvedClientId
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UIInput
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public String getDefaultEventName()
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class javax.faces.component.UIComponentBase
public String getBoundaryDatesMode()
AbstractCalendar
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"
getBoundaryDatesMode
in class AbstractCalendar
public void setBoundaryDatesMode(String boundaryDatesMode)
public String getButtonClass()
AbstractCalendar
getButtonClass
in class AbstractCalendar
public void setButtonClass(String buttonClass)
public String getButtonDisabledIcon()
AbstractCalendar
getButtonDisabledIcon
in class AbstractCalendar
public void setButtonDisabledIcon(String buttonDisabledIcon)
public String getButtonIcon()
AbstractCalendar
getButtonIcon
in class AbstractCalendar
public void setButtonIcon(String buttonIcon)
public String getButtonLabel()
AbstractCalendar
getButtonLabel
in class AbstractCalendar
public void setButtonLabel(String buttonLabel)
public Object getCurrentDate()
AbstractCalendar
getCurrentDate
in class AbstractCalendar
public void setCurrentDate(Object currentDate)
setCurrentDate
in class AbstractCalendar
public CalendarDataModel getDataModel()
AbstractCalendar
getDataModel
in class AbstractCalendar
public void setDataModel(CalendarDataModel dataModel)
public String getDatePattern()
AbstractCalendar
getDatePattern
in class AbstractCalendar
public void setDatePattern(String datePattern)
public String getDayClassFunction()
AbstractCalendar
getDayClassFunction
in class AbstractCalendar
public void setDayClassFunction(String dayClassFunction)
public String getDayDisableFunction()
AbstractCalendar
The javascript function that enables or disables a day cell
getDayDisableFunction
in class AbstractCalendar
public void setDayDisableFunction(String dayDisableFunction)
public String getDefaultLabel()
AbstractCalendar
getDefaultLabel
in class AbstractCalendar
public void setDefaultLabel(String defaultLabel)
public Object getDefaultTime()
AbstractCalendar
Defines time that will be used:
Default value is "getDefaultValueOfDefaultTime()"
getDefaultTime
in class AbstractCalendar
public void setDefaultTime(Object defaultTime)
public Positioning getDirection()
PositionProps
Set the direction of the popup. Possible values are:
auto, topLeft, topRight, bottomLeft, bottomRight, autoLeft,
autoRight, topAuto, bottomAuto
Default value is auto
getDirection
in interface PositionProps
public void setDirection(Positioning direction)
public boolean isDisabled()
AbstractCalendar
If "true", rendered is disabled. In "popup" mode both controls are disabled
Default value is "false"
isDisabled
in class AbstractCalendar
public void setDisabled(boolean disabled)
public boolean isEnableManualInput()
AbstractCalendar
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"
isEnableManualInput
in class AbstractCalendar
public void setEnableManualInput(boolean enableManualInput)
public int getFirstWeekDay()
AbstractCalendar
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()"
getFirstWeekDay
in class AbstractCalendar
public void setFirstWeekDay(int firstWeekDay)
public int getHorizontalOffset()
PositionProps
Sets the horizontal offset between popup element and the conjunction point
Default value is 0
getHorizontalOffset
in interface PositionProps
public void setHorizontalOffset(int horizontalOffset)
public String getInputClass()
AbstractCalendar
getInputClass
in class AbstractCalendar
public void setInputClass(String inputClass)
public String getInputSize()
AbstractCalendar
getInputSize
in class AbstractCalendar
public void setInputSize(String inputSize)
public String getInputStyle()
AbstractCalendar
getInputStyle
in class AbstractCalendar
public void setInputStyle(String inputStyle)
public Positioning getJointPoint()
PositionProps
Set the corner attachment point with which the popup should be connected. Possible values are:
auto, topLeft, topRight, bottomLeft, bottomRight, autoLeft,
autoRight, topAuto, bottomAuto
Default value is auto
getJointPoint
in interface PositionProps
public void setJointPoint(Positioning jointPoint)
public int getMinDaysInFirstWeek()
AbstractCalendar
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()"
getMinDaysInFirstWeek
in class AbstractCalendar
public void setMinDaysInFirstWeek(int minDaysInFirstWeek)
public AbstractCalendar.Mode getMode()
AbstractCalendar
Valid values: ajax or client
Default value is "client"
getMode
in class AbstractCalendar
public void setMode(AbstractCalendar.Mode mode)
public Object getMonthLabels()
AbstractCalendar
getMonthLabels
in class AbstractCalendar
public void setMonthLabels(Object monthLabels)
public Object getMonthLabelsShort()
AbstractCalendar
getMonthLabelsShort
in class AbstractCalendar
public void setMonthLabelsShort(Object monthLabelsShort)
public String getOnbeforecurrentdateselect()
AbstractCalendar
getOnbeforecurrentdateselect
in class AbstractCalendar
public void setOnbeforecurrentdateselect(String onbeforecurrentdateselect)
public String getOnbeforedateselect()
AbstractCalendar
getOnbeforedateselect
in class AbstractCalendar
public void setOnbeforedateselect(String onbeforedateselect)
public String getOnbeforetimeselect()
AbstractCalendar
getOnbeforetimeselect
in class AbstractCalendar
public void setOnbeforetimeselect(String onbeforetimeselect)
public String getOnchange()
AbstractCalendar
getOnchange
in class AbstractCalendar
public void setOnchange(String onchange)
public String getOnclean()
AbstractCalendar
getOnclean
in class AbstractCalendar
public void setOnclean(String onclean)
public String getOncomplete()
AbstractCalendar
getOncomplete
in class AbstractCalendar
public void setOncomplete(String oncomplete)
public String getOncurrentdateselect()
AbstractCalendar
getOncurrentdateselect
in class AbstractCalendar
public void setOncurrentdateselect(String oncurrentdateselect)
public String getOndatemouseout()
AbstractCalendar
getOndatemouseout
in class AbstractCalendar
public void setOndatemouseout(String ondatemouseout)
public String getOndatemouseover()
AbstractCalendar
getOndatemouseover
in class AbstractCalendar
public void setOndatemouseover(String ondatemouseover)
public String getOndateselect()
AbstractCalendar
getOndateselect
in class AbstractCalendar
public void setOndateselect(String ondateselect)
public String getOnhide()
EventsPopupsProps
getOnhide
in interface EventsPopupsProps
public void setOnhide(String onhide)
public String getOninputblur()
AbstractCalendar
getOninputblur
in class AbstractCalendar
public void setOninputblur(String oninputblur)
public String getOninputchange()
AbstractCalendar
getOninputchange
in class AbstractCalendar
public void setOninputchange(String oninputchange)
public String getOninputclick()
AbstractCalendar
getOninputclick
in class AbstractCalendar
public void setOninputclick(String oninputclick)
public String getOninputdblclick()
AbstractCalendar
getOninputdblclick
in class AbstractCalendar
public void setOninputdblclick(String oninputdblclick)
public String getOninputfocus()
AbstractCalendar
getOninputfocus
in class AbstractCalendar
public void setOninputfocus(String oninputfocus)
public String getOninputkeydown()
AbstractCalendar
getOninputkeydown
in class AbstractCalendar
public void setOninputkeydown(String oninputkeydown)
public String getOninputkeypress()
AbstractCalendar
getOninputkeypress
in class AbstractCalendar
public void setOninputkeypress(String oninputkeypress)
public String getOninputkeyup()
AbstractCalendar
getOninputkeyup
in class AbstractCalendar
public void setOninputkeyup(String oninputkeyup)
public String getOninputmousedown()
AbstractCalendar
getOninputmousedown
in class AbstractCalendar
public void setOninputmousedown(String oninputmousedown)
public String getOninputmousemove()
AbstractCalendar
getOninputmousemove
in class AbstractCalendar
public void setOninputmousemove(String oninputmousemove)
public String getOninputmouseout()
AbstractCalendar
getOninputmouseout
in class AbstractCalendar
public void setOninputmouseout(String oninputmouseout)
public String getOninputmouseover()
AbstractCalendar
getOninputmouseover
in class AbstractCalendar
public void setOninputmouseover(String oninputmouseover)
public String getOninputmouseup()
AbstractCalendar
getOninputmouseup
in class AbstractCalendar
public void setOninputmouseup(String oninputmouseup)
public String getOninputselect()
AbstractCalendar
getOninputselect
in class AbstractCalendar
public void setOninputselect(String oninputselect)
public String getOnshow()
EventsPopupsProps
getOnshow
in interface EventsPopupsProps
public void setOnshow(String onshow)
public String getOntimeselect()
AbstractCalendar
getOntimeselect
in class AbstractCalendar
public void setOntimeselect(String ontimeselect)
public boolean isPopup()
AbstractCalendar
If "true", the calendar will be rendered initially as hidden with additional elements for calling as popup
Default value is "true"
isPopup
in class AbstractCalendar
public void setPopup(boolean popup)
public String getPopupClass()
AbstractCalendar
getPopupClass
in class AbstractCalendar
public void setPopupClass(String popupClass)
public String getPopupStyle()
AbstractCalendar
getPopupStyle
in class AbstractCalendar
public void setPopupStyle(String popupStyle)
public Object getPreloadDateRangeBegin()
AbstractCalendar
Defines the last range of date which will be loaded to client from dataModel under rendering
Default value is "getDefaultPreloadEnd(getCurrentDateOrDefault())"
getPreloadDateRangeBegin
in class AbstractCalendar
public void setPreloadDateRangeBegin(Object preloadDateRangeBegin)
setPreloadDateRangeBegin
in class AbstractCalendar
public Object getPreloadDateRangeEnd()
AbstractCalendar
Define the initial range of date which will be loaded to client from dataModel under rendering
Default value is "getDefaultPreloadBegin(getCurrentDateOrDefault())"
getPreloadDateRangeEnd
in class AbstractCalendar
public void setPreloadDateRangeEnd(Object preloadDateRangeEnd)
setPreloadDateRangeEnd
in class AbstractCalendar
public boolean isReadonly()
AbstractCalendar
If "true". Date and time are not selectable. In "popup" mode input is disabled and button is enabled.
Default value is "false"
isReadonly
in class AbstractCalendar
public void setReadonly(boolean readonly)
public boolean isResetTimeOnDateSelect()
AbstractCalendar
If value is true then calendar should change time to defaultTime for newly-selected dates
Default value is "false"
isResetTimeOnDateSelect
in class AbstractCalendar
public void setResetTimeOnDateSelect(boolean resetTimeOnDateSelect)
public boolean isShowApplyButton()
AbstractCalendar
If false ApplyButton should not be shown
Default value is "false"
isShowApplyButton
in class AbstractCalendar
public void setShowApplyButton(boolean showApplyButton)
public boolean isShowFooter()
AbstractCalendar
If false Calendar's footer should not be shown
Default value is "true"
isShowFooter
in class AbstractCalendar
public void setShowFooter(boolean showFooter)
public boolean isShowHeader()
AbstractCalendar
If false Calendar's header should not be shown
Default value is "true"
isShowHeader
in class AbstractCalendar
public void setShowHeader(boolean showHeader)
public boolean isShowInput()
AbstractCalendar
"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"
isShowInput
in class AbstractCalendar
public void setShowInput(boolean showInput)
public boolean isShowWeekDaysBar()
AbstractCalendar
If false this bar should not be shown
Default value is "true"
isShowWeekDaysBar
in class AbstractCalendar
public void setShowWeekDaysBar(boolean showWeekDaysBar)
public boolean isShowWeeksBar()
AbstractCalendar
If false this bar should not be shown
Default value is "true"
isShowWeeksBar
in class AbstractCalendar
public void setShowWeeksBar(boolean showWeeksBar)
public String getStyle()
CoreProps
getStyle
in interface CoreProps
getStyle
in interface StyleProps
public void setStyle(String style)
public String getStyleClass()
CoreProps
getStyleClass
in interface CoreProps
getStyleClass
in interface StyleClassProps
public void setStyleClass(String styleClass)
public String getTabindex()
AbstractCalendar
getTabindex
in class AbstractCalendar
public void setTabindex(String tabindex)
public TimeZone getTimeZone()
AbstractCalendar
Used for current date calculations
Default value is "getDefaultTimeZone()"
getTimeZone
in class AbstractCalendar
public void setTimeZone(TimeZone timeZone)
public String getTitle()
CoreProps
public void setTitle(String title)
public String getTodayControlMode()
AbstractCalendar
This attribute defines the mode for "today" control. Possible values are "scroll", "select", "hidden"
Default value is "select"
getTodayControlMode
in class AbstractCalendar
public void setTodayControlMode(String todayControlMode)
public int getVerticalOffset()
PositionProps
Sets the vertical offset between popup element and the conjunction point
Default value is 0
getVerticalOffset
in interface PositionProps
public void setVerticalOffset(int verticalOffset)
public Object getWeekDayLabelsShort()
AbstractCalendar
getWeekDayLabelsShort
in class AbstractCalendar
public void setWeekDayLabelsShort(Object weekDayLabelsShort)
public int getZindex()
PopupsProps
getZindex
in interface PopupsProps
public void setZindex(int zindex)
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.