public class DatePickerOptions extends Options
Modifier and Type | Class and Description |
---|---|
static class |
DatePickerOptions.HPos |
static class |
DatePickerOptions.VPos |
Modifier and Type | Field and Description |
---|---|
boolean |
dynamicLocalizedMessages |
Constructor and Description |
---|
DatePickerOptions() |
Modifier and Type | Method and Description |
---|---|
DatePickerOptions |
allowDateInPast(boolean allowInPast,
String datePattern)
allowing (or not) selection of Date in paste (default : false)
|
DatePickerOptions |
clickInput(boolean v)
clickInput (Boolean): If the matched element is an input type="text" and this option is true
then clicking on the input will cause the date picker to appear.
|
DatePickerOptions |
closeOnSelect(boolean v)
closeOnSelect (Boolean): Whether to close the date picker when a date is selected.
|
DatePickerOptions |
createButton(boolean v)
createButton (Boolean): Whether to create a .dp-choose-date anchor directly after the matched
element which when clicked will trigger the showing of the date picker.
|
DatePickerOptions |
displayClose(boolean v)
displayClose (Boolean): Whether to create a "Close" button within the date picker popup.
|
DatePickerOptions |
dynamicLocalizedMessages(boolean v) |
DatePickerOptions |
endDate(String v)
endDate (String): The last date that can be selected.
|
DatePickerOptions |
horizontalOffset(int v)
horizontalOffset (Number): The number of pixels offset from the defined horizontalPosition of
this date picker that it should pop up in.
|
DatePickerOptions |
horizontalPosition(DatePickerOptions.HPos v)
horizontalPosition (Number): The horizontal alignment of the popped up date picker to the
matched element.
|
DatePickerOptions |
hoverClass(String v)
hoverClass (String): The class to attach to each cell when you hover over it (to allow you to
use hover effects in IE6 which doesn't support the :hover pseudo-class on elements other than
links).
|
DatePickerOptions |
month(int v)
month (Number): The month to render when the date picker is opened (NOTE that months are zero
based).
|
DatePickerOptions |
selectMultiple(boolean v)
selectMultiple (Boolean): Whether a user should be able to select multiple dates with this
date picker.
|
DatePickerOptions |
showYearNavigation(boolean v)
showYearNavigation (Boolean): Whether to display buttons which allow the user to navigate
through the months a year at a time.
|
DatePickerOptions |
startDate(String v)
startDate (String): The first date date can be selected.
|
DatePickerOptions |
verticalOffset(int v)
verticalOffset (Number): The number of pixels offset from the defined verticalPosition of
this date picker that it should pop up in.
|
DatePickerOptions |
verticalPosition(DatePickerOptions.VPos v)
verticalPosition (Number): The vertical alignment of the popped up date picker to the matched
element.
|
DatePickerOptions |
year(int v)
year (Number): The year to render when the date picker is opened.
|
public DatePickerOptions month(int v)
public DatePickerOptions year(int v)
public DatePickerOptions startDate(String v)
public DatePickerOptions endDate(String v)
public DatePickerOptions createButton(boolean v)
public DatePickerOptions showYearNavigation(boolean v)
public DatePickerOptions closeOnSelect(boolean v)
public DatePickerOptions displayClose(boolean v)
public DatePickerOptions selectMultiple(boolean v)
public DatePickerOptions clickInput(boolean v)
public DatePickerOptions verticalPosition(DatePickerOptions.VPos v)
public DatePickerOptions horizontalPosition(DatePickerOptions.HPos v)
public DatePickerOptions verticalOffset(int v)
public DatePickerOptions horizontalOffset(int v)
public DatePickerOptions hoverClass(String v)
public DatePickerOptions allowDateInPast(boolean allowInPast, String datePattern)
public DatePickerOptions dynamicLocalizedMessages(boolean v)
Copyright © 2015. All rights reserved.