ui.DefaultDatePickerRenderer Extends
Default renderer for goog.ui.DatePicker. Renders the date picker's navigation header and footer.

Inheritance

Constructor

goog.ui.DefaultDatePickerRenderer(baseCssClassopt_domHelper)

Parameters

baseCssClass : string
Name of base CSS class of the date picker.
opt_domHelper : goog.dom.DomHelper=
DOM helper.

Instance Methods

Public Protected Private
createButton_(parentNodelabelopt_className) !Element
Support function for button creation.
Arguments:
parentNode : Element
Container the button should be added to.
label : string
Button label.
opt_className : string=
Class name for button, which will be used in addition to "goog-date-picker-btn".
Returns: !Element  The created button element.
code »
getBaseCssClass() string
Returns base CSS class. This getter is used to get base CSS class part. All CSS class names in component are created as: goog.getCssName(this.getBaseCssClass(), 'CLASS_NAME')
Returns: string  Base CSS class.
code »
getDomHelper() !goog.dom.DomHelper
Returns the dom helper that is being used on this component.
Returns: !goog.dom.DomHelper  The dom helper used on this component.
code »
renderFooterRow(rowshowWeekNum)
Render the footer row (with select buttons).
Arguments:
row : !Element
The parent element to render the component into.
showWeekNum : boolean
Whether week numbers should be shown.
code »
renderNavigationRow(rowsimpleNavigationshowWeekNumfullDateFormat)
Render the navigation row (navigating months and maybe years).
Arguments:
row : !Element
The parent element to render the component into.
simpleNavigation : boolean
Whether the picker should render a simple navigation menu that only contains controls for navigating to the next and previous month. The default navigation menu contains controls for navigating to the next/previous month, next/previous year, and menus for jumping to specific months and years.
showWeekNum : boolean
Whether week numbers should be shown.
fullDateFormat : string
The full date format. .
code »

Instance Properties

baseCssClass_ :
Name of base CSS class of datepicker
Code »
No description.
Code »

Package ui

Package Reference