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