jBPM Console NG - Generic Client 6.2.1-SNAPSHOT

org.jbpm.console.ng.gc.client.util
Class UTCDateBoxImplHtml5

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.jbpm.console.ng.gc.client.util.UTCDateBoxImplShared
                  extended by org.jbpm.console.ng.gc.client.util.UTCDateBoxImplHtml5
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasValueChangeHandlers<Long>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.TakesValue<Long>, com.google.gwt.user.client.ui.HasEnabled, com.google.gwt.user.client.ui.HasText, com.google.gwt.user.client.ui.HasValue<Long>, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, UTCDateBoxImpl

public class UTCDateBoxImplHtml5
extends UTCDateBoxImplShared

Uses an HTML5 input type=date control to implement the UTCDateBox


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
UTCDateBoxImplHtml5()
           
 
Method Summary
 com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Long> handler)
           
protected  void fireValueChangeEvent(Long value)
           
 com.google.gwt.user.datepicker.client.DateBox getDateBox()
          Returns the DateBox (if any) that this implementation uses.
 String getText()
           
 Long getValue()
           
 boolean isEnabled()
           
 void setDateFormat(com.google.gwt.i18n.client.DateTimeFormat dateFormat)
          Sets the DateTimeFormat for this UTCDateBox.
 void setEnabled(boolean enabled)
           
 void setTabIndex(int tabIndex)
          Sets the tab index for the control.
 void setText(String text)
           
 void setValue(Long value, boolean fireEvents)
           
 
Methods inherited from class org.jbpm.console.ng.gc.client.util.UTCDateBoxImplShared
setValue, setVisibleLength
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

UTCDateBoxImplHtml5

public UTCDateBoxImplHtml5()
Method Detail

setDateFormat

public void setDateFormat(com.google.gwt.i18n.client.DateTimeFormat dateFormat)
Sets the DateTimeFormat for this UTCDateBox. The HTML5 implementation will ignore this.


setTabIndex

public void setTabIndex(int tabIndex)
Description copied from interface: UTCDateBoxImpl
Sets the tab index for the control.


getValue

public Long getValue()

setValue

public void setValue(Long value,
                     boolean fireEvents)

getText

public String getText()

setText

public void setText(String text)

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean enabled)

addValueChangeHandler

public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Long> handler)

fireValueChangeEvent

protected void fireValueChangeEvent(Long value)

getDateBox

public com.google.gwt.user.datepicker.client.DateBox getDateBox()
Description copied from interface: UTCDateBoxImpl
Returns the DateBox (if any) that this implementation uses. For HTML5, this will return null. This was only added to make my r52 tree compile and I don't intend to check it in.


jBPM Console NG - Generic Client 6.2.1-SNAPSHOT

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.