public class DatePicker extends com.google.gwt.user.client.ui.Composite implements com.google.gwt.user.client.ui.HasEnabled, com.google.gwt.user.client.ui.Focusable, org.gwtbootstrap3.client.ui.base.HasId, org.gwtbootstrap3.client.ui.base.HasResponsiveness, com.google.gwt.user.client.ui.HasVisibility, org.gwtbootstrap3.client.ui.base.HasPlaceholder, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasAutoClose, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDaysOfWeekDisabled, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasEndDate, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasForceParse, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasHighlightToday, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasKeyboardNavigation, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasMinView, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasShowTodayButton, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasStartDate, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasStartView, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasViewSelect, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasWeekStart, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDateTimePickerHandlers, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasLanguage, com.google.gwt.user.client.ui.HasName, com.google.gwt.user.client.ui.HasValue<Date>, org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasPosition, com.google.gwt.editor.client.IsEditor<com.google.gwt.editor.client.LeafValueEditor<Date>>
| Constructor and Description |
|---|
DatePicker() |
DatePicker(boolean allowEmptyValues) |
DatePicker(org.gwtbootstrap3.extras.datepicker.client.ui.DatePicker datePicker)
Basic constuctor of uberfire datePicker without setting the datepicker container and without setting the hide
handler to manage the interaction with org.gwtbootstrap3.extras.datepicker.client.ui.DatePicker popup
|
| Modifier and Type | Method and Description |
|---|---|
com.google.web.bindery.event.shared.HandlerRegistration |
addBlurHandler(com.google.gwt.event.dom.client.BlurHandler handler) |
com.google.web.bindery.event.shared.HandlerRegistration |
addChangeDateHandler(org.gwtbootstrap3.extras.datepicker.client.ui.base.events.ChangeDateHandler changeDateHandler) |
com.google.web.bindery.event.shared.HandlerRegistration |
addChangeMonthHandler(org.gwtbootstrap3.extras.datepicker.client.ui.base.events.ChangeMonthHandler changeMonthHandler) |
com.google.web.bindery.event.shared.HandlerRegistration |
addChangeYearHandler(org.gwtbootstrap3.extras.datepicker.client.ui.base.events.ChangeYearHandler changeYearHandler) |
com.google.web.bindery.event.shared.HandlerRegistration |
addClearDateHandler(org.gwtbootstrap3.extras.datepicker.client.ui.base.events.ClearDateHandler outOfRangeHandler) |
com.google.web.bindery.event.shared.HandlerRegistration |
addHideHandler(org.gwtbootstrap3.client.shared.event.HideHandler hideHandler) |
com.google.web.bindery.event.shared.HandlerRegistration |
addShowHandler(org.gwtbootstrap3.client.shared.event.ShowHandler showHandler) |
com.google.gwt.event.shared.HandlerRegistration |
addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Date> handler) |
com.google.gwt.editor.client.LeafValueEditor<Date> |
asEditor() |
void |
clearEndDate() |
void |
clearStartDate() |
protected Date |
getDataPickerDate() |
String |
getId() |
org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerLanguage |
getLanguage() |
String |
getLocaleName() |
String |
getName() |
String |
getPlaceholder() |
org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerPosition |
getPosition() |
int |
getTabIndex() |
Date |
getValue() |
boolean |
isEnabled() |
void |
onChangeDate(com.google.gwt.user.client.Event e) |
void |
onChangeMonth(com.google.gwt.user.client.Event e) |
void |
onChangeYear(com.google.gwt.user.client.Event e) |
void |
onClearDate(com.google.gwt.user.client.Event e) |
void |
onHide(com.google.gwt.user.client.Event e) |
void |
onShow(com.google.gwt.user.client.Event e) |
void |
setAccessKey(char key) |
void |
setAutoClose(boolean autoClose) |
void |
setContainer(com.google.gwt.user.client.ui.Widget container) |
void |
setDaysOfWeekDisabled(org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerDayOfWeek... daysOfWeekDisabled) |
void |
setEnabled(boolean enabled) |
void |
setEndDate(Date endDate) |
void |
setEndDate(String endDate) |
void |
setFocus(boolean focused) |
void |
setForceParse(boolean forceParse) |
void |
setFormat(String gwtDateFormat)
Set the format of the Date shown in the TextBox component.
|
void |
setHasKeyboardNavigation(boolean hasKeyboardNavigation) |
void |
setHiddenOn(org.gwtbootstrap3.client.ui.constants.DeviceSize deviceSize) |
void |
setHighlightToday(boolean highlightToday) |
void |
setId(String id) |
void |
setLanguage(org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerLanguage language) |
void |
setLocaleName() |
void |
setLocaleName(String localeName) |
void |
setMinView(org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerMinView datePickerMinView) |
void |
setName(String name) |
void |
setPlaceholder(String placeholder) |
void |
setPosition(org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerPosition position) |
void |
setShowTodayButton(boolean showTodayButton) |
void |
setStartDate(Date startDate) |
void |
setStartDate(String startDate) |
void |
setStartView(org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerMinView datePickerMinView) |
void |
setTabIndex(int index) |
void |
setValue(Date value) |
void |
setValue(Date value,
boolean fireEvents) |
void |
setViewSelect(org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerMinView datePickerMinView) |
void |
setVisibleOn(org.gwtbootstrap3.client.ui.constants.DeviceSize deviceSize) |
void |
setWeekStart(org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerDayOfWeek weekStart) |
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringpublic DatePicker()
public DatePicker(org.gwtbootstrap3.extras.datepicker.client.ui.DatePicker datePicker)
datePicker - public DatePicker(boolean allowEmptyValues)
protected Date getDataPickerDate()
public void setContainer(com.google.gwt.user.client.ui.Widget container)
public void setAutoClose(boolean autoClose)
setAutoClose in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasAutoClosepublic void onShow(com.google.gwt.user.client.Event e)
onShow in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDateTimePickerHandlerspublic com.google.web.bindery.event.shared.HandlerRegistration addShowHandler(org.gwtbootstrap3.client.shared.event.ShowHandler showHandler)
addShowHandler in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDateTimePickerHandlerspublic void onHide(com.google.gwt.user.client.Event e)
onHide in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDateTimePickerHandlerspublic com.google.web.bindery.event.shared.HandlerRegistration addHideHandler(org.gwtbootstrap3.client.shared.event.HideHandler hideHandler)
addHideHandler in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDateTimePickerHandlerspublic void onChangeDate(com.google.gwt.user.client.Event e)
onChangeDate in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDateTimePickerHandlerspublic com.google.web.bindery.event.shared.HandlerRegistration addChangeDateHandler(org.gwtbootstrap3.extras.datepicker.client.ui.base.events.ChangeDateHandler changeDateHandler)
addChangeDateHandler in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDateTimePickerHandlerspublic void onChangeYear(com.google.gwt.user.client.Event e)
onChangeYear in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDateTimePickerHandlerspublic com.google.web.bindery.event.shared.HandlerRegistration addChangeYearHandler(org.gwtbootstrap3.extras.datepicker.client.ui.base.events.ChangeYearHandler changeYearHandler)
addChangeYearHandler in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDateTimePickerHandlerspublic void onChangeMonth(com.google.gwt.user.client.Event e)
onChangeMonth in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDateTimePickerHandlerspublic com.google.web.bindery.event.shared.HandlerRegistration addChangeMonthHandler(org.gwtbootstrap3.extras.datepicker.client.ui.base.events.ChangeMonthHandler changeMonthHandler)
addChangeMonthHandler in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDateTimePickerHandlerspublic void onClearDate(com.google.gwt.user.client.Event e)
onClearDate in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDateTimePickerHandlerspublic com.google.web.bindery.event.shared.HandlerRegistration addClearDateHandler(org.gwtbootstrap3.extras.datepicker.client.ui.base.events.ClearDateHandler outOfRangeHandler)
addClearDateHandler in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDateTimePickerHandlerspublic void setDaysOfWeekDisabled(org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerDayOfWeek... daysOfWeekDisabled)
setDaysOfWeekDisabled in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasDaysOfWeekDisabledpublic boolean isEnabled()
isEnabled in interface com.google.gwt.user.client.ui.HasEnabledpublic void setEnabled(boolean enabled)
setEnabled in interface com.google.gwt.user.client.ui.HasEnabledpublic void setEndDate(Date endDate)
setEndDate in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasEndDatepublic void setEndDate(String endDate)
setEndDate in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasEndDatepublic void clearEndDate()
clearEndDate in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasEndDatepublic void setForceParse(boolean forceParse)
setForceParse in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasForceParsepublic void setFormat(String gwtDateFormat)
gwtDateFormat - public String getLocaleName()
public void setLocaleName(String localeName)
public void setLocaleName()
public void setHighlightToday(boolean highlightToday)
setHighlightToday in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasHighlightTodaypublic String getId()
getId in interface org.gwtbootstrap3.client.ui.base.HasIdpublic void setId(String id)
setId in interface org.gwtbootstrap3.client.ui.base.HasIdpublic void setHasKeyboardNavigation(boolean hasKeyboardNavigation)
setHasKeyboardNavigation in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasKeyboardNavigationpublic org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerLanguage getLanguage()
getLanguage in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasLanguagepublic void setLanguage(org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerLanguage language)
setLanguage in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasLanguagepublic void setMinView(org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerMinView datePickerMinView)
setMinView in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasMinViewpublic String getName()
getName in interface com.google.gwt.user.client.ui.HasNamepublic void setName(String name)
setName in interface com.google.gwt.user.client.ui.HasNamepublic String getPlaceholder()
getPlaceholder in interface org.gwtbootstrap3.client.ui.base.HasPlaceholderpublic void setPlaceholder(String placeholder)
setPlaceholder in interface org.gwtbootstrap3.client.ui.base.HasPlaceholderpublic org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerPosition getPosition()
getPosition in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasPositionpublic void setPosition(org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerPosition position)
setPosition in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasPositionpublic void setVisibleOn(org.gwtbootstrap3.client.ui.constants.DeviceSize deviceSize)
setVisibleOn in interface org.gwtbootstrap3.client.ui.base.HasResponsivenesspublic void setHiddenOn(org.gwtbootstrap3.client.ui.constants.DeviceSize deviceSize)
setHiddenOn in interface org.gwtbootstrap3.client.ui.base.HasResponsivenesspublic void setShowTodayButton(boolean showTodayButton)
setShowTodayButton in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasShowTodayButtonpublic void setStartDate(Date startDate)
setStartDate in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasStartDatepublic void setStartDate(String startDate)
setStartDate in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasStartDatepublic void clearStartDate()
clearStartDate in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasStartDatepublic void setStartView(org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerMinView datePickerMinView)
setStartView in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasStartViewpublic Date getValue()
public void setValue(Date value)
public void setValue(Date value, boolean fireEvents)
setValue in interface com.google.gwt.user.client.ui.HasValue<Date>public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Date> handler)
addValueChangeHandler in interface com.google.gwt.event.logical.shared.HasValueChangeHandlers<Date>public void setViewSelect(org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerMinView datePickerMinView)
setViewSelect in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasViewSelectpublic void setWeekStart(org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerDayOfWeek weekStart)
setWeekStart in interface org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.HasWeekStartpublic com.google.gwt.editor.client.LeafValueEditor<Date> asEditor()
asEditor in interface com.google.gwt.editor.client.IsEditor<com.google.gwt.editor.client.LeafValueEditor<Date>>public int getTabIndex()
getTabIndex in interface com.google.gwt.user.client.ui.Focusablepublic void setTabIndex(int index)
setTabIndex in interface com.google.gwt.user.client.ui.Focusablepublic void setAccessKey(char key)
setAccessKey in interface com.google.gwt.user.client.ui.Focusablepublic void setFocus(boolean focused)
setFocus in interface com.google.gwt.user.client.ui.Focusablepublic com.google.web.bindery.event.shared.HandlerRegistration addBlurHandler(com.google.gwt.event.dom.client.BlurHandler handler)
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.