java.lang.Object | ||||
↳ | com.google.gwt.user.client.ui.UIObject | |||
↳ | com.google.gwt.user.client.ui.Widget | |||
↳ | com.google.gwt.user.client.ui.Composite | |||
↳ | com.google.gwt.user.datepicker.client.DatePicker |
Standard GWT date picker.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.UIObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new date picker.
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new date picker.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a show range handler and immediately activate the handler on the
current view.
| |||||||||||
Add a style name to the given dates.
| |||||||||||
Add a style name to the given dates.
| |||||||||||
Add a style name to the given dates.
| |||||||||||
Adds the given style name to the specified dates, which must be visible.
| |||||||||||
Adds the given style name to the specified dates, which must be visible.
| |||||||||||
Adds the given style name to the specified dates, which must be visible.
| |||||||||||
Returns a
TakesValueEditor backed by the DatePicker. | |||||||||||
Gets the current month the date picker is showing.
| |||||||||||
Returns the first shown date.
| |||||||||||
Gets the highlighted date (the one the mouse is hovering over), if any.
| |||||||||||
Returns the last shown date.
| |||||||||||
Gets the style associated with a date (does not include styles set via
addTransientStyleToDates(String, Iterable ). | |||||||||||
Returns the selected date, or null if none is selected.
| |||||||||||
Is the visible date enabled?
| |||||||||||
Is the date currently shown in the date picker?
| |||||||||||
This method is called immediately after a widget becomes attached to the
browser's document.
| |||||||||||
Removes the styleName from the given dates (even if it is transient).
| |||||||||||
Removes the styleName from the given dates (even if it is transient).
| |||||||||||
Removes the styleName from the given dates (even if it is transient).
| |||||||||||
Sets the date picker to show the given month, use
getFirstDate()
and getLastDate() to access the exact date range the date picker
chose to display. | |||||||||||
Sets the date picker style name.
| |||||||||||
Sets a group of visible dates to be enabled or disabled.
| |||||||||||
Sets a visible date to be enabled or disabled.
| |||||||||||
Sets a visible date to be enabled or disabled.
| |||||||||||
Sets the
DatePicker 's value. | |||||||||||
Sets the
DatePicker 's value. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the
CalendarModel associated with this date picker. | |||||||||||
Gets the
MonthSelector associated with this date picker. | |||||||||||
Gets the
CalendarView associated with this date picker. | |||||||||||
Refreshes all components of this date picker.
| |||||||||||
Sets up the date picker.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.Composite
| |||||||||||
From class
com.google.gwt.user.client.ui.Widget
| |||||||||||
From class
com.google.gwt.user.client.ui.UIObject
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.editor.client.IsEditor
| |||||||||||
From interface com.google.gwt.event.logical.shared.HasAttachHandlers | |||||||||||
From interface com.google.gwt.event.logical.shared.HasHighlightHandlers | |||||||||||
From interface com.google.gwt.event.logical.shared.HasShowRangeHandlers | |||||||||||
From interface com.google.gwt.event.logical.shared.HasValueChangeHandlers | |||||||||||
From interface com.google.gwt.event.shared.HasHandlers | |||||||||||
From interface
com.google.gwt.user.client.EventListener
| |||||||||||
From interface
com.google.gwt.user.client.TakesValue
| |||||||||||
From interface
com.google.gwt.user.client.ui.HasValue
| |||||||||||
From interface
com.google.gwt.user.client.ui.IsWidget
|
Create a new date picker.
Creates a new date picker.
monthSelector | the month selector |
---|---|
view | the view |
model | the model |
Adds a show range handler and immediately activate the handler on the current view.
handler | the handler |
---|
Add a style name to the given dates.
Add a style name to the given dates.
Adds the given style name to the specified dates, which must be visible. This is only set until the next time the DatePicker is refreshed.
Adds the given style name to the specified dates, which must be visible. This is only set until the next time the DatePicker is refreshed.
Adds the given style name to the specified dates, which must be visible. This is only set until the next time the DatePicker is refreshed.
Returns a TakesValueEditor
backed by the DatePicker.
Editor
of type E
Gets the current month the date picker is showing.
A datepicker may show days not in the current month. It must show all days in the current month.
Gets the highlighted date (the one the mouse is hovering over), if any.
Gets the style associated with a date (does not include styles set via
addTransientStyleToDates(String, Iterable
).
date | the date |
---|
Returns the selected date, or null if none is selected.
Is the visible date enabled?
date | the date, which must be visible |
---|
Is the date currently shown in the date picker?
This method is called immediately after a widget becomes attached to the browser's document.
Removes the styleName from the given dates (even if it is transient).
Removes the styleName from the given dates (even if it is transient).
Removes the styleName from the given dates (even if it is transient).
Sets the date picker to show the given month, use getFirstDate()
and getLastDate()
to access the exact date range the date picker
chose to display.
A datepicker may show days not in the current month. It must show all days in the current month.
month | the month to show |
---|
Sets the date picker style name.
styleName | the new style name |
---|
Sets a group of visible dates to be enabled or disabled. This is only set until the next time the DatePicker is refreshed.
Sets a visible date to be enabled or disabled. This is only set until the next time the DatePicker is refreshed.
Sets a visible date to be enabled or disabled. This is only set until the next time the DatePicker is refreshed.
Sets the DatePicker
's value.
newValue | the new value |
---|
Sets the DatePicker
's value.
newValue | the new value for this date picker |
---|---|
fireEvents | should events be fired. |
Gets the CalendarModel
associated with this date picker.
Gets the MonthSelector
associated with this date picker.
Gets the CalendarView
associated with this date picker.
Refreshes all components of this date picker.
Sets up the date picker.