001package com.github.gwtbootstrap.timepicker.client.ui.base; 002 003/** 004 * Define a element that will have the template property 005 * 006 * @author Carlos Alexandro Becker 007 * @author Joshua Godi 008 * @since 2.3.2.0 009 */ 010public interface HasTemplate { 011 012 public static enum Template {DROPDOWN, MODAL, FALSE} 013 014 /** 015 * Set the template of the timepicker. 016 * 017 * @param template: Template.{DROPDOWN, MODAL, FALSE} 018 */ 019 void setTemplate(Template template); 020 021 /** 022 * Set the template of the timepicker. 023 * 024 * @param template: DROPDOWN 025 * MODAL 026 * FALSE 027 */ 028 void setTemplate(String template); 029 030}