|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.Component
org.apache.wicket.MarkupContainer
org.apache.wicket.markup.html.WebMarkupContainer
org.apache.wicket.markup.html.form.LabeledWebMarkupContainer
org.apache.wicket.markup.html.form.FormComponent<T>
org.apache.wicket.markup.html.form.AbstractTextComponent<T>
org.apache.wicket.markup.html.form.TextField<T>
org.odlabs.wiquery.ui.datepicker.DatePicker<T>
public class DatePicker<T>
$Id$
Extends the TextField
to provide a date picker.
By default, the datepicker calendar opens in a small overlay onFocus and closes automatically onBlur or when a date if selected. For an inline calendar, simply attach the datepicker to a div or span. You can use keyboard shortcuts to drive the datepicker:
Nested Class Summary | |
---|---|
static class |
DatePicker.ShowOnEnum
ShowOn option enumeration |
Nested classes/interfaces inherited from class org.apache.wicket.markup.html.form.AbstractTextComponent |
---|
org.apache.wicket.markup.html.form.AbstractTextComponent.ITextFormatProvider |
Field Summary |
---|
Fields inherited from class org.apache.wicket.markup.html.form.FormComponent |
---|
FLAG_CONVERT_EMPTY_INPUT_STRING_TO_NULL, VALUE_SEPARATOR |
Fields inherited from class org.apache.wicket.Component |
---|
ENABLE, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER |
Constructor Summary | |
---|---|
DatePicker(String id)
Constructor |
|
DatePicker(String id,
Class<T> type)
Constructor |
|
DatePicker(String id,
org.apache.wicket.model.IModel<T> model)
Constructor |
|
DatePicker(String id,
org.apache.wicket.model.IModel<T> model,
Class<T> type)
Constructor |
Method Summary | |
---|---|
JsStatement |
destroy()
Method to destroy the datepicker This will return the element back to its pre-init state. |
void |
destroy(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
Method to destroy the datepicker within the ajax request |
protected void |
detachModel()
|
JsStatement |
disable()
Method to disable the datepicker |
void |
disable(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
Method to disable the datepicker within the ajax request |
JsStatement |
enable()
Method to enable the datepicker |
void |
enable(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
Method to enable the datepicker within the ajax request |
String |
getAltField()
|
String |
getAltFormat()
|
String |
getAppendText()
|
String |
getButtonImage()
|
String |
getButtonText()
|
String |
getCloseText()
|
String |
getCurrentText()
|
JsStatement |
getDate()
Method returning the current date for the datepicker |
String |
getDateFormat()
Returns the ISO date format to use. |
ArrayOfDayNames |
getDayNames()
|
ArrayOfDayNames |
getDayNamesMin()
|
ArrayOfDayNames |
getDayNamesShort()
|
DateOption |
getDefaultDate()
|
DatePickerDuration |
getDuration()
|
short |
getFirstDay()
Returns the calendar's starting day. |
DateOption |
getMaxDate()
|
DateOption |
getMinDate()
|
ArrayOfMonthNames |
getMonthNames()
|
ArrayOfMonthNames |
getMonthNamesShort()
|
String |
getNextText()
|
DatePickerNumberOfMonths |
getNumberOfMonths()
Returns the number of months displayed on the date picker. |
protected Options |
getOptions()
Method retrieving the options of the component |
String |
getPrevText()
|
DatePickerShortYearCutOff |
getShortYearCutoff()
Returns the shortYearCutoff option value. |
String |
getShowAnim()
|
short |
getShowCurrentAtPos()
|
DatePicker.ShowOnEnum |
getShowOn()
|
ListItemOptions<LiteralOption> |
getShowOptions()
|
boolean |
getShowOtherMonths()
Deprecated. will be removed in 1.2 Returns if the next/previous months are showed in the calendar. |
short |
getStepMonths()
Returns the number of months stepped when the next/previous button are hit. |
String |
getWeekHeader()
|
DatePickerYearRange |
getYearRange()
|
String |
getYearSuffix()
|
JsStatement |
hide()
Method to hide the datepicker |
void |
hide(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
Method to hide the datepicker within the ajax request |
void |
hide(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget,
short speed)
Method to hide the datepicker within the ajax request |
JsStatement |
hide(short speed)
Method to hide the datepicker |
boolean |
isAutoSize()
|
boolean |
isButtonImageOnly()
|
boolean |
isChangeMonth()
Returns true if the date's month is selectable in a drop down list, returns false otherwise. |
boolean |
isChangeYear()
Returns true if the date's year is selectable in a drop down list, returns false otherwise. |
boolean |
isConstrainInput()
|
boolean |
isDisabled()
|
boolean |
isGotoCurrent()
|
boolean |
isHideIfNoPrevNext()
|
boolean |
isIsRTL()
|
boolean |
isNavigationAsDateFormat()
|
boolean |
isSelectOtherMonths()
|
boolean |
isShowButtonPanel()
|
boolean |
isShowMonthAfterYear()
|
boolean |
isShowOtherMonths()
Returns if the next/previous months are showed in the calendar. |
boolean |
isShowWeek()
|
void |
renderHead(org.apache.wicket.markup.html.IHeaderResponse response)
|
DatePicker<T> |
setAltField(String altField)
The jQuery selector for another field that is to be updated with the selected date from the datepicker. |
DatePicker<T> |
setAltFormat(String altFormat)
The dateFormat to be used for the altField option. |
DatePicker<T> |
setAppendText(String appendText)
Set's the text to display after each date field, e.g. |
DatePicker<T> |
setAutoSize(boolean autoSize)
Set to true to automatically resize the input field to accomodate dates in the current dateFormat. |
DatePicker<T> |
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> |
setBeforeShowEvent(JsScopeUiEvent beforeShow)
Set's the callback before the datepicker is displayed. |
DatePicker<T> |
setButtonImage(String buttonImage)
Set's URL for the popup button image. |
DatePicker<T> |
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> |
setButtonText(String buttonText)
Set's the text to display on the trigger button. |
DatePicker<T> |
setCalculateWeek(JsScope calculateWeek)
A function to calculate the week of the year for a given date. |
DatePicker<T> |
setChangeMonth(boolean changeMonth)
Sets if the date's month is selectable in a drop down list or not. |
DatePicker<T> |
setChangeYear(boolean changeYear)
Sets if the date's year is selectable in a drop down list or not. |
DatePicker<T> |
setCloseText(String closeText)
Set's the text to display for the close link. |
DatePicker<T> |
setConstrainInput(boolean constrainInput)
True if the input field is constrained to the current date format. |
DatePicker<T> |
setCurrentText(String currentText)
Set's the text to display for the current day link. |
void |
setDate(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget,
DateOption dateOption)
Method to set the date of the datepicker within the ajax request |
JsStatement |
setDate(DateOption dateOption)
Method to set the date of the datepicker |
DatePicker<T> |
setDateFormat(String dateFormat)
Sets the ISO date format to use. |
DatePicker<T> |
setDayNames(ArrayOfDayNames dayNames)
Set's the list of long day names, starting from Sunday, for use as requested via the dateFormat setting. |
DatePicker<T> |
setDayNamesMin(ArrayOfDayNames dayNamesMin)
Set's the list of minimised day names, starting from Sunday, for use as column headers within the datepicker. |
DatePicker<T> |
setDayNamesShort(ArrayOfDayNames dayNamesShort)
Set's the list of abbreviated day names, starting from Sunday, for use as requested via the dateFormat setting. |
DatePicker<T> |
setDefaultDate(DateOption defaultDate)
Set the date to highlight on first opening if the field is blank. |
DatePicker<T> |
setDisabled(boolean disabled)
Disables (true) or enables (false) the datepicker. |
DatePicker<T> |
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> |
setFirstDay(short firstDay)
Sets the calendar's starting day. |
DatePicker<T> |
setGotoCurrent(boolean gotoCurrent)
If true, the current day link moves to the currently selected date instead of today. |
DatePicker<T> |
setHideIfNoPrevNext(boolean hideIfNoPrevNext)
Normally the previous and next links are disabled when not applicable (see minDate/maxDate). |
DatePicker<T> |
setIsRTL(boolean isRTL)
True if the current language is drawn from right to left. |
DatePicker<T> |
setMaxDate(DateOption maxDate)
Set a maximum selectable date via a Date object, or a number of days from today (e.g. |
DatePicker<T> |
setMinDate(DateOption minDate)
Set a minimum selectable date via a Date object, or a number of days from today (e.g. |
DatePicker<T> |
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> |
setMonthNamesShort(ArrayOfMonthNames monthNamesShort)
Set's the list of abbreviated month names, for use as requested via the dateFormat setting. |
DatePicker<T> |
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> |
setNextText(String nextText)
Set's the text to display for the next month link. |
DatePicker<T> |
setNumberOfMonths(DatePickerNumberOfMonths numberOfMonths)
Sets the number of months displayed on the date picker. |
DatePicker<T> |
setOnChangeMonthYearEvent(JsScopeUiDatePickerOnChangeEvent onChangeMonthYear)
Allows you to define your own event when the datepicker moves to a new month and/or year. |
DatePicker<T> |
setOnCloseEvent(JsScopeUiDatePickerDateTextEvent onClose)
Allows you to define your own event when the datepicker is closed, whether or not a date is selected. |
DatePicker<T> |
setOnSelectEvent(JsScopeUiDatePickerDateTextEvent onSelect)
Allows you to define your own event when the datepicker is selected. |
DatePicker<T> |
setPrevText(String prevText)
Set's the text to display for the previous month link. |
DatePicker<T> |
setSelectOtherMonths(boolean selectOtherMonths)
When true days in other months shown before or after the current month are selectable. |
DatePicker<T> |
setShortYearCutoff(DatePickerShortYearCutOff shortYearCutoff)
Set the cutoff year for determining the century for a date |
DatePicker<T> |
setShowAnim(String showAnim)
Set the name of the animation used to show/hide the datepicker. |
DatePicker<T> |
setShowButtonPanel(boolean showButtonPanel)
Whether to show the button panel. |
DatePicker<T> |
setShowCurrentAtPos(short showCurrentAtPos)
Specify where in a multi-month display the current month shows, starting from 0 at the top/left. |
DatePicker<T> |
setShowMonthAfterYear(boolean showMonthAfterYear)
Whether to show the month after the year in the header. |
DatePicker<T> |
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> |
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> |
setShowOtherMonths(boolean showOtherMonths)
Sets if the next/previous months are showed in the calendar. |
DatePicker<T> |
setShowWeek(boolean showWeek)
When true a column is added to show the week of the year. |
DatePicker<T> |
setStepMonths(short stepMonths)
Sets the number of months stepped when the next/previous button are hit. |
DatePicker<T> |
setWeekHeader(String weekHeader)
The text to display for the week of the year column heading. |
DatePicker<T> |
setYearRange(DatePickerYearRange yearRange)
Sets the selectable year range. |
DatePicker<T> |
setYearSuffix(String yearSuffix)
Additional text to display after the year in the month headers. |
JsStatement |
show()
Method to show the datepicker |
void |
show(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
Method to show the datepicker within the ajax request |
JsStatement |
statement()
Returns the main JsStatement used to create the plugin. |
JsStatement |
widget()
Method to returns the .ui-datepicker element |
void |
widget(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
Method to returns the .ui-datepicker element within the ajax request |
Methods inherited from class org.apache.wicket.markup.html.form.TextField |
---|
getInputType, onComponentTag |
Methods inherited from class org.apache.wicket.markup.html.form.AbstractTextComponent |
---|
convertInput, getConvertEmptyInputStringToNull, isInputNullable, onBeforeRender, setConvertEmptyInputStringToNull |
Methods inherited from class org.apache.wicket.markup.html.form.FormComponent |
---|
add, add, checkRequired, clearInput, convertValue, error, getConvertedInput, getDefaultLabel, getDefaultLabel, getForm, getInput, getInputAsArray, getInputName, getModel, getModelObject, getModelValue, getRawInput, getType, getValidatorKeyPrefix, getValidators, getValue, hasRawInput, inputAsInt, inputAsInt, inputAsIntArray, inputChanged, internalOnModelChanged, invalid, isMultiPart, isRequired, isValid, newValidatable, onDetach, onDisabled, onInvalid, onValid, processChildren, processInput, remove, setConvertedInput, setLabel, setModel, setModelObject, setModelValue, setRequired, setType, shouldTrimInput, trim, updateCollectionModel, updateModel, valid, validate, validateRequired, validateValidators, visitComponentsPostOrder, visitFormComponentsPostOrder |
Methods inherited from class org.apache.wicket.markup.html.form.LabeledWebMarkupContainer |
---|
getLabel, setLabelInternal |
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer |
---|
getWebPage, getWebRequest |
Methods inherited from class org.apache.wicket.MarkupContainer |
---|
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, hasAssociatedMarkup, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onMarkupAttached, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren |
Methods inherited from class org.apache.wicket.Component |
---|
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onConfigure, onEvent, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DatePicker(String id, Class<T> type)
id
- Markup identifianttype
- Class typepublic DatePicker(String id, org.apache.wicket.model.IModel<T> model, Class<T> type)
id
- Markup identifiantmodel
- Model to usetype
- Class typepublic DatePicker(String id, org.apache.wicket.model.IModel<T> model)
id
- Markup identifiantmodel
- Model to usepublic DatePicker(String id)
id
- Markup identifiantMethod Detail |
---|
protected void detachModel()
detachModel
in class org.apache.wicket.Component
public void renderHead(org.apache.wicket.markup.html.IHeaderResponse response)
renderHead
in interface org.apache.wicket.markup.html.IHeaderContributor
renderHead
in class org.apache.wicket.Component
public JsStatement statement()
IWiQueryPlugin
JsStatement
used to create the plugin.
statement
in interface IWiQueryPlugin
JsStatement
corresponding to this component.protected Options getOptions()
public DatePicker<T> setAltField(String altField)
altField
-
public String getAltField()
public DatePicker<T> setAltFormat(String altFormat)
altFormat
-
public String getAltFormat()
public DatePicker<T> setAppendText(String appendText)
appendText
-
public String getAppendText()
public DatePicker<T> setAutoSize(boolean autoSize)
public boolean isAutoSize()
public DatePicker<T> setButtonImage(String buttonImage)
buttonImage
-
public String getButtonImage()
public DatePicker<T> setButtonImageOnly(boolean buttonImageOnly)
buttonImageOnly
-
public boolean isButtonImageOnly()
public DatePicker<T> setButtonText(String buttonText)
buttonText
-
public String getButtonText()
public DatePicker<T> setCalculateWeek(JsScope calculateWeek)
calculateWeek
-
public DatePicker<T> setChangeMonth(boolean changeMonth)
public boolean isChangeMonth()
public DatePicker<T> setWeekHeader(String weekHeader)
weekHeader
-
public String getWeekHeader()
public DatePicker<T> setYearRange(DatePickerYearRange yearRange)
yearRange
-
public DatePickerYearRange getYearRange()
public DatePicker<T> setYearSuffix(String yearSuffix)
yearSuffix
-
public String getYearSuffix()
public DatePicker<T> setChangeYear(boolean changeYear)
public boolean isChangeYear()
public DatePicker<T> setCloseText(String closeText)
closeText
-
public String getCloseText()
public DatePicker<T> setConstrainInput(boolean constrainInput)
constrainInput
-
public boolean isConstrainInput()
public DatePicker<T> setCurrentText(String currentText)
currentText
-
public String getCurrentText()
public DatePicker<T> setFirstDay(short firstDay)
firstDay
-
public short getFirstDay()
public DatePicker<T> setGotoCurrent(boolean gotoCurrent)
gotoCurrent
-
public boolean isGotoCurrent()
public DatePicker<T> setHideIfNoPrevNext(boolean hideIfNoPrevNext)
hideIfNoPrevNext
-
public boolean isHideIfNoPrevNext()
public DatePicker<T> setIsRTL(boolean isRTL)
isRTL
-
public boolean isIsRTL()
public DatePicker<T> setMaxDate(DateOption maxDate)
maxDate
-
public DateOption getMaxDate()
public DatePicker<T> setMinDate(DateOption minDate)
minDate
-
public DateOption getMinDate()
public DatePicker<T> setMonthNames(ArrayOfMonthNames monthNames)
monthNames
-
public ArrayOfMonthNames getMonthNames()
public DatePicker<T> setMonthNamesShort(ArrayOfMonthNames monthNamesShort)
monthNamesShort
-
public ArrayOfMonthNames getMonthNamesShort()
public DatePicker<T> setNavigationAsDateFormat(boolean navigationAsDateFormat)
navigationAsDateFormat
-
public boolean isNavigationAsDateFormat()
public DatePicker<T> setNextText(String nextText)
nextText
-
public String getNextText()
public DatePicker<T> setShowOtherMonths(boolean showOtherMonths)
@Deprecated public boolean getShowOtherMonths()
public boolean isShowOtherMonths()
public DatePicker<T> setNumberOfMonths(DatePickerNumberOfMonths numberOfMonths)
public DatePickerNumberOfMonths getNumberOfMonths()
public DatePicker<T> setPrevText(String prevText)
prevText
-
public String getPrevText()
public DatePicker<T> setSelectOtherMonths(boolean selectOtherMonths)
selectOtherMonths
-
public boolean isSelectOtherMonths()
public DatePicker<T> setShortYearCutoff(DatePickerShortYearCutOff shortYearCutoff)
shortYearCutoff
-
public DatePickerShortYearCutOff getShortYearCutoff()
public DatePicker<T> setShowAnim(String showAnim)
showAnim
-
public String getShowAnim()
public DatePicker<T> setShowButtonPanel(boolean showButtonPanel)
showButtonPanel
-
public boolean isShowButtonPanel()
public DatePicker<T> setShowCurrentAtPos(short showCurrentAtPos)
showCurrentAtPos
-
public short getShowCurrentAtPos()
public DatePicker<T> setShowMonthAfterYear(boolean showMonthAfterYear)
showMonthAfterYear
-
public boolean isShowMonthAfterYear()
public DatePicker<T> setShowOn(DatePicker.ShowOnEnum showOn)
showOn
-
public DatePicker.ShowOnEnum getShowOn()
public DatePicker<T> setShowOptions(ListItemOptions<LiteralOption> showOptions)
showOptions
-
public ListItemOptions<LiteralOption> getShowOptions()
public DatePicker<T> setShowWeek(boolean showWeek)
public boolean isShowWeek()
public DatePicker<T> setStepMonths(short stepMonths)
public short getStepMonths()
public DatePicker<T> setDateFormat(String dateFormat)
public String getDateFormat()
public DatePicker<T> setDayNames(ArrayOfDayNames dayNames)
dayNames
-
public ArrayOfDayNames getDayNames()
public DatePicker<T> setDayNamesMin(ArrayOfDayNames dayNamesMin)
dayNamesMin
-
public ArrayOfDayNames getDayNamesMin()
public DatePicker<T> setDayNamesShort(ArrayOfDayNames dayNamesShort)
dayNamesShort
-
public ArrayOfDayNames getDayNamesShort()
public DatePicker<T> setDefaultDate(DateOption defaultDate)
defaultDate
-
public DateOption getDefaultDate()
public DatePicker<T> setDuration(DatePickerDuration duration)
duration
-
public DatePickerDuration getDuration()
public DatePicker<T> setDisabled(boolean disabled)
disabled
-
public boolean isDisabled()
public DatePicker<T> setBeforeShowEvent(JsScopeUiEvent beforeShow)
beforeShow
-
public DatePicker<T> setBeforeShowDayEvent(JsScopeUiDatePickerEvent beforeShowDay)
beforeShowDay
-
public DatePicker<T> setOnChangeMonthYearEvent(JsScopeUiDatePickerOnChangeEvent onChangeMonthYear)
onChangeMonthYear
-
public DatePicker<T> setOnCloseEvent(JsScopeUiDatePickerDateTextEvent onClose)
onClose
-
public DatePicker<T> setOnSelectEvent(JsScopeUiDatePickerDateTextEvent onSelect)
onSelect
-
public JsStatement destroy()
public void destroy(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget
- public JsStatement disable()
public void disable(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget
- public JsStatement enable()
public void enable(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget
- public JsStatement getDate()
public JsStatement hide(short speed)
speed
- The speed at which to close the date picker.
public void hide(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget, short speed)
ajaxRequestTarget
- speed
- The speed at which to close the date picker.public JsStatement hide()
public void hide(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget
- public JsStatement setDate(DateOption dateOption)
dateOption
- Date to set
public void setDate(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget, DateOption dateOption)
ajaxRequestTarget
- dateOption
- Date to setpublic JsStatement show()
public void show(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget
- public JsStatement widget()
public void widget(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |