// Path: src/main/java/com/tractionsoftware/gwt/user/client/ui/impl/UTCTimeBoxImpl.java
// public interface UTCTimeBoxImpl extends IsWidget, HasValue<Long>, HasValueChangeHandlers<Long>, HasText {
//     
//     /**
//      * Sets the DateTimeFormat for this UTCTimeBox. The HTML5
//      * implementation will ignore this.
//      */
//     public void setTimeFormat(DateTimeFormat timeFormat); 
//     
//     /**
//      * Sets the visible length of the time input. The HTML5
//      * implementation will ignore this.
//      */
//     public void setVisibleLength(int length);    
// 
//     /**
//      * Validates the value that has been typed into the text input.
//      * The HTML5 implementation will do nothing.
//      */
//     public void validate();
// 
//     /**
//      * Sets the tab index for the control. 
//      */
//     public void setTabIndex(int tabIndex);
//         
// }
// 
// Path: src/main/java/com/tractionsoftware/gwt/user/client/util/DomUtils.java
// public class DomUtils extends UIObject {
//     
//     /**
//      * This object is never created.
//      */
//     private DomUtils() {}
//     
//     /**
//      * It's enough to just set the disabled attribute on the
//      * element, but we want to also add a "disabled" class so that we can
//      * style it.
//      *
//      * At some point we'll just be able to use .button:disabled, 
//      * but that doesn't work in IE8-
//      */
//     public static void setEnabled(Element element, boolean enabled) {
//         element.setPropertyBoolean("disabled", !enabled);
// 	setStyleName(element, "disabled", !enabled);
//     }
// 
//     /**
//      * Returns true if the element has the disabled attribute.
//      */
//     public static boolean isEnabled(Element element) {
//         return element.getPropertyBoolean("disabled");        
//     }
//     
// }


import java.util.Date;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.logical.shared.HasValueChangeHandlers;
import com.google.gwt.event.logical.shared.ValueChangeHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.i18n.client.DateTimeFormat;
import com.google.gwt.i18n.client.DateTimeFormat.PredefinedFormat;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HasEnabled;
import com.google.gwt.user.client.ui.HasText;
import com.google.gwt.user.client.ui.HasValue;
import com.tractionsoftware.gwt.user.client.ui.impl.UTCTimeBoxImpl;
import com.tractionsoftware.gwt.user.client.util.DomUtils;
        return impl.addValueChangeHandler(handler);
    }

    @Override
    public Long getValue() {
        return impl.getValue();
    }

    @Override
    public void setValue(Long value) {
        impl.setValue(value);
    }

    @Override
    public void setValue(Long value, boolean fireEvents) {
        impl.setValue(value, fireEvents);
    }

    @Override
    public String getText() {
        return impl.getText();
    }

    @Override
    public void setText(String text) {
        impl.setText(text);
    }

    @Override
    public boolean isEnabled() {
// Path: src/main/java/com/tractionsoftware/gwt/user/client/ui/impl/UTCTimeBoxImpl.java
// public interface UTCTimeBoxImpl extends IsWidget, HasValue<Long>, HasValueChangeHandlers<Long>, HasText {
//     
//     /**
//      * Sets the DateTimeFormat for this UTCTimeBox. The HTML5
//      * implementation will ignore this.
//      */
//     public void setTimeFormat(DateTimeFormat timeFormat); 
//     
//     /**
//      * Sets the visible length of the time input. The HTML5
//      * implementation will ignore this.
//      */
//     public void setVisibleLength(int length);    
// 
//     /**
//      * Validates the value that has been typed into the text input.
//      * The HTML5 implementation will do nothing.
//      */
//     public void validate();
// 
//     /**
//      * Sets the tab index for the control. 
//      */
//     public void setTabIndex(int tabIndex);
//         
// }
// 
// Path: src/main/java/com/tractionsoftware/gwt/user/client/util/DomUtils.java
// public class DomUtils extends UIObject {
//     
//     /**
//      * This object is never created.
//      */
//     private DomUtils() {}
//     
//     /**
//      * It's enough to just set the disabled attribute on the
//      * element, but we want to also add a "disabled" class so that we can
//      * style it.
//      *
//      * At some point we'll just be able to use .button:disabled, 
//      * but that doesn't work in IE8-
//      */
//     public static void setEnabled(Element element, boolean enabled) {
//         element.setPropertyBoolean("disabled", !enabled);
// 	setStyleName(element, "disabled", !enabled);
//     }
// 
//     /**
//      * Returns true if the element has the disabled attribute.
//      */
//     public static boolean isEnabled(Element element) {
//         return element.getPropertyBoolean("disabled");        
//     }
//     
// }


// Path: src/main/java/com/tractionsoftware/gwt/user/client/ui/UTCTimeBox.java
import java.util.Date;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.logical.shared.HasValueChangeHandlers;
import com.google.gwt.event.logical.shared.ValueChangeHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.i18n.client.DateTimeFormat;
import com.google.gwt.i18n.client.DateTimeFormat.PredefinedFormat;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HasEnabled;
import com.google.gwt.user.client.ui.HasText;
import com.google.gwt.user.client.ui.HasValue;
import com.tractionsoftware.gwt.user.client.ui.impl.UTCTimeBoxImpl;
import com.tractionsoftware.gwt.user.client.util.DomUtils;

        return impl.addValueChangeHandler(handler);
    }

    @Override
    public Long getValue() {
        return impl.getValue();
    }

    @Override
    public void setValue(Long value) {
        impl.setValue(value);
    }

    @Override
    public void setValue(Long value, boolean fireEvents) {
        impl.setValue(value, fireEvents);
    }

    @Override
    public String getText() {
        return impl.getText();
    }

    @Override
    public void setText(String text) {
        impl.setText(text);
    }

    @Override
    public boolean isEnabled() {
        return DomUtils.isEnabled(getElement());