Uses of Class
com.jbstrap.ui.components.form.items.DatePicker
-
Uses of DatePicker in com.jbstrap.ui.components.form.items
Modifier and TypeMethodDescriptionDatePicker.removeAppend
(int index) DatePicker.removePrepend
(int index) DatePicker.setDateFormat
(String dateFormat) Sets the component’s date format.DatePicker.setDefaultValue
(Object defaultValue) Sets the default value of the date picker, based on the specified object.
The value is interpreted, following these rules: Ifnull
, the value will benull
If the specified value is aDate
type, or extends from it, the object value will be the specified value If notnull
or notDate
type, then the specified value's text format will be converted by the component to fit the date format.DatePicker.setDropDownPosition
(DropDownPosition position) Sets on which side of the input field the dropdown calendar is displayed.DatePicker.setEnabled
(boolean enabled) Sets the date picker to be enabled.final DatePicker
DatePicker.setMaximumDate
(Date maxDate) Sets the maximum date.final DatePicker
DatePicker.setMinimumDate
(Date minDate) Sets the minimum date.DatePicker.setObjectValue
(Object value) DatePicker.setOriginalObjectValue
(Object value) DatePicker.setOriginalValue
(Date originalValue) Sets the original value of the date picker.DatePicker.setReadOnly
(boolean readOnly) Sets the date picker to read-only mode.DatePicker.setShowDropdowns
(boolean show) Sets if year and month selection is done by clicking on a dropdown menu.Sets the date picker's value.