jBPM Console NG - Generic Client 6.1.0-SNAPSHOT

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

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.UTCDateBoxImplHtml4
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 UTCDateBoxImplHtml4
extends UTCDateBoxImplShared


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
UTCDateBoxImplHtml4()
           
 
Method Summary
 com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Long> handler)
           
 com.google.gwt.user.client.ui.Widget asWidget()
           
 void fireEvent(com.google.gwt.event.shared.GwtEvent<?> event)
           
 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)
           
 void setVisibleLength(int length)
          Sets the visible length of the date input.
 
Methods inherited from class org.jbpm.console.ng.gc.client.util.UTCDateBoxImplShared
setValue
 
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, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, 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
 

Constructor Detail

UTCDateBoxImplHtml4

public UTCDateBoxImplHtml4()
Method Detail

asWidget

public com.google.gwt.user.client.ui.Widget asWidget()
Specified by:
asWidget in interface com.google.gwt.user.client.ui.IsWidget
Overrides:
asWidget in class com.google.gwt.user.client.ui.Widget

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)

fireEvent

public void fireEvent(com.google.gwt.event.shared.GwtEvent<?> event)
Specified by:
fireEvent in interface com.google.gwt.event.shared.HasHandlers
Overrides:
fireEvent in class com.google.gwt.user.client.ui.Widget

fireValueChangeEvent

public void fireValueChangeEvent(long value)

setDateFormat

public void setDateFormat(com.google.gwt.i18n.client.DateTimeFormat dateFormat)
Description copied from interface: UTCDateBoxImpl
Sets the DateTimeFormat for this UTCDateBox. The HTML5 implementation will ignore this.


setVisibleLength

public void setVisibleLength(int length)
Description copied from class: UTCDateBoxImplShared
Sets the visible length of the date input. The HTML5 implementation will ignore this.

Specified by:
setVisibleLength in interface UTCDateBoxImpl
Overrides:
setVisibleLength in class UTCDateBoxImplShared

setTabIndex

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


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.1.0-SNAPSHOT

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