|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.sencha.gxt.widget.core.client.Component
com.sencha.gxt.widget.core.client.DatePicker
public class DatePicker
A date picker that displays a calendar for the specified month and provides the user the ability to select the month, year and day.
| Nested Class Summary | |
|---|---|
static interface |
DatePicker.DatePickerAppearance
The appearance of the date picker. |
class |
DatePicker.DatePickerDefaultMessages
The translatable strings (e.g. |
static interface |
DatePicker.DatePickerMessages
The translatable strings (e.g. |
static class |
DatePicker.DateState
|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
DatePicker()
Creates a date picker with the default appearance. |
|
DatePicker(DatePicker.DatePickerAppearance appearance)
Creates a date picker with the specified appearance. |
|
| Method Summary | |
|---|---|
HandlerRegistration |
addValueChangeHandler(ValueChangeHandler<java.util.Date> handler)
|
java.util.Date |
getMaxDate()
Returns the field's maximum allowed date. |
DatePicker.DatePickerMessages |
getMessages()
Returns the date picker messages. |
java.util.Date |
getMinDate()
Returns the picker's minimum data. |
int |
getStartDay()
Returns the picker's start day. |
java.util.Date |
getValue()
|
void |
onBrowserEvent(Event event)
|
void |
setMaxDate(java.util.Date maxDate)
Sets the picker's maximum allowed date. |
void |
setMessages(DatePicker.DatePickerMessages messages)
Optionally, sets the date picker messages. |
void |
setMinDate(java.util.Date minDate)
Sets the picker's minimum allowed date. |
void |
setStartDay(int startDay)
Sets the picker's start day |
void |
setValue(java.util.Date date)
|
void |
setValue(java.util.Date date,
boolean fireEvents)
|
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public DatePicker()
public DatePicker(DatePicker.DatePickerAppearance appearance)
appearance - the appearance of the date picker| Method Detail |
|---|
public HandlerRegistration addValueChangeHandler(ValueChangeHandler<java.util.Date> handler)
addValueChangeHandler in interface HasValueChangeHandlers<java.util.Date>public java.util.Date getMaxDate()
public DatePicker.DatePickerMessages getMessages()
public java.util.Date getMinDate()
public int getStartDay()
public java.util.Date getValue()
getValue in interface TakesValue<java.util.Date>getValue in interface HasValue<java.util.Date>public void onBrowserEvent(Event event)
onBrowserEvent in interface EventListeneronBrowserEvent in class Componentpublic void setMaxDate(java.util.Date maxDate)
maxDate - the max datepublic void setMessages(DatePicker.DatePickerMessages messages)
messages - the messagespublic void setMinDate(java.util.Date minDate)
minDate - the minimum datepublic void setStartDay(int startDay)
startDay - the start daypublic void setValue(java.util.Date date)
setValue in interface TakesValue<java.util.Date>setValue in interface HasValue<java.util.Date>
public void setValue(java.util.Date date,
boolean fireEvents)
setValue in interface HasValue<java.util.Date>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||