typescript-closure-tools
Version:
Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files
61 lines (52 loc) • 2.79 kB
TypeScript
/// <reference path="../../../globals.d.ts" />
/// <reference path="./datepickerrenderer.d.ts" />
/// <reference path="../dom/dom.d.ts" />
declare module goog.ui {
class DefaultDatePickerRenderer extends DefaultDatePickerRenderer__Class { }
/** Fake class which should be extended to avoid inheriting static properties */
class DefaultDatePickerRenderer__Class implements goog.ui.DatePickerRenderer {
/**
* Default renderer for {@link goog.ui.DatePicker}. Renders the date picker's
* navigation header and footer.
*
* @param {string} baseCssClass Name of base CSS class of the date picker.
* @param {goog.dom.DomHelper=} opt_domHelper DOM helper.
* @constructor
* @implements {goog.ui.DatePickerRenderer}
*/
constructor(baseCssClass: string, opt_domHelper?: goog.dom.DomHelper);
/**
* Returns the dom helper that is being used on this component.
* @return {!goog.dom.DomHelper} The dom helper used on this component.
*/
getDomHelper(): goog.dom.DomHelper;
/**
* 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')
* @return {string} Base CSS class.
*/
getBaseCssClass(): string;
/**
* Render the navigation row.
*
* @param {!Element} row The parent element to render the component into.
* @param {boolean} simpleNavigation 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.
* @param {boolean} showWeekNum Whether week numbers should be shown.
* @param {string} fullDateFormat The full date format.
* {@see goog.i18n.DateTimeSymbols}.
*/
renderNavigationRow(row: Element, simpleNavigation: boolean, showWeekNum: boolean, fullDateFormat: string): void;
/**
* Render the footer row.
*
* @param {!Element} row The parent element to render the component into.
* @param {boolean} showWeekNum Whether week numbers should be shown.
*/
renderFooterRow(row: Element, showWeekNum: boolean): void;
}
}