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.CalendarView | ||||
↳ | com.google.gwt.user.datepicker.client.DefaultCalendarView |
Simple calendar view. Not extensible as we wish to evolve it freely over time.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.UIObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a style name to the cell of the supplied date.
| |||||||||||
Returns the first date that is currently shown by the calendar.
| |||||||||||
Returns the last date that is currently shown by the calendar.
| |||||||||||
Is the cell representing the given date enabled?
| |||||||||||
Refresh the component.
| |||||||||||
Removes a visible style name from the cell of the supplied date.
| |||||||||||
Enables or Disables a particular date.
| |||||||||||
Set up the component.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.datepicker.client.CalendarView
| |||||||||||
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.event.logical.shared.HasAttachHandlers | |||||||||||
From interface com.google.gwt.event.shared.HasHandlers | |||||||||||
From interface
com.google.gwt.user.client.EventListener
| |||||||||||
From interface
com.google.gwt.user.client.ui.IsWidget
|
Constructor.
Adds a style name to the cell of the supplied date. This style is only set
until the next time the CalendarView
is refreshed.
styleName | style name to add |
---|---|
date | date that will have the supplied style added |
Returns the first date that is currently shown by the calendar.
Returns the last date that is currently shown by the calendar.
Is the cell representing the given date enabled?
d | the date |
---|
Refresh the component. Usually called because the model's current date has
changed. In general, only should be called by DatePicker
. Use
refreshAll() if you need to refresh all components.
Removes a visible style name from the cell of the supplied date.
styleName | style name to remove |
---|---|
date | date that will have the supplied style added |
Enables or Disables a particular date. by default all valid dates are enabled after a rendering event. Disabled dates cannot be selected.
enabled | true for enabled, false for disabled |
---|---|
date | date to enable or disable |
Set up the component.