|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.DatePickerComponent com.google.gwt.user.datepicker.client.MonthSelector com.google.gwt.user.datepicker.client.DefaultMonthSelector
public final class DefaultMonthSelector
A simple MonthSelector
used for the default date picker. It allows to select months and
years but the name is not changed for backward compatibility. Also not extensible as we wish to
evolve it freely over time.
Nested Class Summary |
---|
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 | |
---|---|
DefaultMonthSelector()
|
Method Summary | |
---|---|
Element |
getBackwardButtonElement()
Returns the button for moving to the previous month. |
Element |
getForwardButtonElement()
Returns the button for moving to the next month. |
ListBox |
getMonthSelectListBox()
Returns the ListBox for selecting the month |
Element |
getYearBackwardButtonElement()
Returns the button for moving to the previous year. |
Element |
getYearForwardButtonElement()
Returns the button for moving to the next year. |
ListBox |
getYearSelectListBox()
Returns the ListBox for selecting the year |
protected void |
refresh()
Refresh the component. |
protected void |
setup()
Set up the component. |
Methods inherited from class com.google.gwt.user.datepicker.client.DatePickerComponent |
---|
addMonths, css, getDatePicker, getModel, refreshAll, setDatePicker |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, 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, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultMonthSelector()
Method Detail |
---|
public Element getBackwardButtonElement()
public Element getForwardButtonElement()
public Element getYearBackwardButtonElement()
public Element getYearForwardButtonElement()
public ListBox getMonthSelectListBox()
public ListBox getYearSelectListBox()
protected void refresh()
DatePickerComponent
DatePicker
. Use
refreshAll() if you need to refresh all components.
refresh
in class DatePickerComponent
protected void setup()
DatePickerComponent
setup
in class DatePickerComponent
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |