public final class DefaultMonthSelector extends MonthSelector
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.UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
DEBUG_ID_PREFIX
Constructor and Description |
---|
DefaultMonthSelector() |
Modifier and Type | Method and Description |
---|---|
protected void |
addMonths(int numMonths) |
Element |
getBackwardButtonElement()
Returns the button for moving to the previous month.
|
protected DatePicker |
getDatePicker() |
Element |
getForwardButtonElement()
Returns the button for moving to the next month.
|
CalendarModel |
getModel() |
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 |
refreshAll()
|
protected void |
setup()
Set up the component.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
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
public Element getBackwardButtonElement()
public Element getForwardButtonElement()
public Element getYearBackwardButtonElement()
public Element getYearForwardButtonElement()
public ListBox getMonthSelectListBox()
public ListBox getYearSelectListBox()
protected void refresh()
DatePicker
. Use
refreshAll() if you need to refresh all components.protected void setup()
public CalendarModel getModel()
protected void addMonths(int numMonths)
protected DatePicker getDatePicker()
protected void refreshAll()
Copyright © 2018. All rights reserved.