| Package | Description |
|---|---|
| org.odlabs.wiquery.ui.datepicker |
| Modifier and Type | Method and Description |
|---|---|
DatePicker<T> |
DatePicker.setAltField(String altField)
The jQuery selector for another field that is to be updated with the
selected date from the datepicker.
|
DatePicker<T> |
DatePicker.setAltFormat(String altFormat)
The dateFormat to be used for the altField option.
|
DatePicker<T> |
DatePicker.setAppendText(String appendText)
Set's the text to display after each date field, e.g.
|
DatePicker<T> |
DatePicker.setAutoSize(boolean autoSize)
Set to true to automatically resize the input field to accomodate dates
in the current dateFormat.
|
DatePicker<T> |
DatePicker.setBeforeShowDayEvent(JsScopeUiDatePickerEvent beforeShowDay)
The function takes a date as a parameter and must return an array with [0]
equal to true/false indicating whether or not this date is selectable, [1]
equal to a CSS class name(s) or '' for the default presentation and [2]
an optional popup tooltip for this date.
|
DatePicker<T> |
DatePicker.setBeforeShowEvent(JsScopeUiEvent beforeShow)
Set's the callback before the datepicker is displayed.
|
DatePicker<T> |
DatePicker.setButtonImage(String buttonImage)
Set's URL for the popup button image.
|
DatePicker<T> |
DatePicker.setButtonImageOnly(boolean buttonImageOnly)
Set to true to place an image after the field to use as the trigger
without it appearing on a button.
|
DatePicker<T> |
DatePicker.setButtonText(String buttonText)
Set's the text to display on the trigger button.
|
DatePicker<T> |
DatePicker.setCalculateWeek(JsScope calculateWeek)
A function to calculate the week of the year for a given date.
|
DatePicker<T> |
DatePicker.setChangeMonth(boolean changeMonth)
Sets if the date's month is selectable in a drop down list or not.
|
DatePicker<T> |
DatePicker.setChangeYear(boolean changeYear)
Sets if the date's year is selectable in a drop down list or not.
|
DatePicker<T> |
DatePicker.setCloseText(String closeText)
Set's the text to display for the close link.
|
DatePicker<T> |
DatePicker.setConstrainInput(boolean constrainInput)
True if the input field is constrained to the current date format.
|
DatePicker<T> |
DatePicker.setCurrentText(String currentText)
Set's the text to display for the current day link.
|
DatePicker<T> |
DatePicker.setDateFormat(String dateFormat)
Sets the ISO date format to use.
|
DatePicker<T> |
DatePicker.setDayNames(ArrayOfDayNames dayNames)
Set's the list of long day names, starting from Sunday, for use as
requested via the dateFormat setting.
|
DatePicker<T> |
DatePicker.setDayNamesMin(ArrayOfDayNames dayNamesMin)
Set's the list of minimised day names, starting from Sunday, for use as
column headers within the datepicker.
|
DatePicker<T> |
DatePicker.setDayNamesShort(ArrayOfDayNames dayNamesShort)
Set's the list of abbreviated day names, starting from Sunday, for use as
requested via the dateFormat setting.
|
DatePicker<T> |
DatePicker.setDefaultDate(DateOption defaultDate)
Set the date to highlight on first opening if the field is blank.
|
DatePicker<T> |
DatePicker.setDisabled(boolean disabled)
Disables (true) or enables (false) the datepicker.
|
DatePicker<T> |
DatePicker.setDuration(DatePickerDuration duration)
Control the speed at which the datepicker appears, it may be a time in
milliseconds, a string representing one of the three predefined speeds
("slow", "normal", "fast"), or '' for immediately.
|
DatePicker<T> |
DatePicker.setFirstDay(short firstDay)
Sets the calendar's starting day.
|
DatePicker<T> |
DatePicker.setGotoCurrent(boolean gotoCurrent)
If true, the current day link moves to the currently selected date instead of today.
|
DatePicker<T> |
DatePicker.setHideIfNoPrevNext(boolean hideIfNoPrevNext)
Normally the previous and next links are disabled when not applicable
(see minDate/maxDate).
|
DatePicker<T> |
DatePicker.setIsRTL(boolean isRTL)
True if the current language is drawn from right to left.
|
DatePicker<T> |
DatePicker.setMaxDate(DateOption maxDate)
Set a maximum selectable date via a Date object, or a number of days from
today (e.g.
|
DatePicker<T> |
DatePicker.setMinDate(DateOption minDate)
Set a minimum selectable date via a Date object, or a number of days from
today (e.g.
|
DatePicker<T> |
DatePicker.setMonthNames(ArrayOfMonthNames monthNames)
Set's the list of full month names, as used in the month header on each
datepicker and as requested via the dateFormat setting.
|
DatePicker<T> |
DatePicker.setMonthNamesShort(ArrayOfMonthNames monthNamesShort)
Set's the list of abbreviated month names, for use as requested via the
dateFormat setting.
|
DatePicker<T> |
DatePicker.setNavigationAsDateFormat(boolean navigationAsDateFormat)
When true the formatDate function is applied to the prevText, nextText,
and currentText values before display, allowing them to display the
target month names for example.
|
DatePicker<T> |
DatePicker.setNextText(String nextText)
Set's the text to display for the next month link.
|
DatePicker<T> |
DatePicker.setNumberOfMonths(DatePickerNumberOfMonths numberOfMonths)
Sets the number of months displayed on the date picker.
|
DatePicker<T> |
DatePicker.setOnChangeMonthYearEvent(JsScopeUiDatePickerOnChangeEvent onChangeMonthYear)
Allows you to define your own event when the datepicker moves to a new
month and/or year.
|
DatePicker<T> |
DatePicker.setOnCloseEvent(JsScopeUiDatePickerDateTextEvent onClose)
Allows you to define your own event when the datepicker is closed, whether
or not a date is selected.
|
DatePicker<T> |
DatePicker.setOnSelectEvent(JsScopeUiDatePickerDateTextEvent onSelect)
Allows you to define your own event when the datepicker is selected.
|
DatePicker<T> |
DatePicker.setPrevText(String prevText)
Set's the text to display for the previous month link.
|
DatePicker<T> |
DatePicker.setSelectOtherMonths(boolean selectOtherMonths)
When true days in other months shown before or after the current month
are selectable.
|
DatePicker<T> |
DatePicker.setShortYearCutoff(DatePickerShortYearCutOff shortYearCutoff)
Set the cutoff year for determining the century for a date
|
DatePicker<T> |
DatePicker.setShowAnim(String showAnim)
Set the name of the animation used to show/hide the datepicker.
|
DatePicker<T> |
DatePicker.setShowButtonPanel(boolean showButtonPanel)
Whether to show the button panel.
|
DatePicker<T> |
DatePicker.setShowCurrentAtPos(short showCurrentAtPos)
Specify where in a multi-month display the current month shows, starting
from 0 at the top/left.
|
DatePicker<T> |
DatePicker.setShowMonthAfterYear(boolean showMonthAfterYear)
Whether to show the month after the year in the header.
|
DatePicker<T> |
DatePicker.setShowOn(DatePicker.ShowOnEnum showOn)
Have the datepicker appear automatically when the field receives focus
('focus'), appear only when a button is clicked ('button'), or appear
when either event takes place ('both').
|
DatePicker<T> |
DatePicker.setShowOptions(ListItemOptions<LiteralOption> showOptions)
If using one of the jQuery UI effects for showAnim, you can provide
additional settings for that animation via this option.
|
DatePicker<T> |
DatePicker.setShowOtherMonths(boolean showOtherMonths)
Sets if the next/previous months are showed in the calendar.
|
DatePicker<T> |
DatePicker.setShowWeek(boolean showWeek)
When true a column is added to show the week of the year.
|
DatePicker<T> |
DatePicker.setStepMonths(short stepMonths)
Sets the number of months stepped when the next/previous button are hit.
|
DatePicker<T> |
DatePicker.setWeekHeader(String weekHeader)
The text to display for the week of the year column heading.
|
DatePicker<T> |
DatePicker.setYearRange(DatePickerYearRange yearRange)
Sets the selectable year range.
|
DatePicker<T> |
DatePicker.setYearSuffix(String yearSuffix)
Additional text to display after the year in the month headers.
|
Copyright © 2009-2012. All Rights Reserved.