com.github.gwtbootstrap.datepicker.client.ui
Class DateBoxAppended

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.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by com.google.gwt.user.client.ui.FlowPanel
                      extended by com.github.gwtbootstrap.client.ui.base.DivWidget
                          extended by com.github.gwtbootstrap.client.ui.AppendButton
                              extended by com.github.gwtbootstrap.datepicker.client.ui.DateBoxAppended
All Implemented Interfaces:
HasStyle, IsResponsive, HasDateFormat, HasAttachHandlers, HasValueChangeHandlers<Date>, HasHandlers, EventListener, TakesValue<Date>, HasValue<Date>, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IndexedPanel, IndexedPanel.ForIsWidget, InsertPanel, InsertPanel.ForIsWidget, IsWidget, Iterable<Widget>

public class DateBoxAppended
extends AppendButton
implements HasValue<Date>, HasDateFormat

DateBoxAppended component.

Since:
2.0.4.0
Author:
Carlos Alexandro Becker

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel
InsertPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
DateBoxAppended()
           
 
Method Summary
 HandlerRegistration addValueChangeHandler(ValueChangeHandler<Date> dateValueChangeHandler)
          
 Date getValue()
          
 void setFormat(String format)
          Set the format in the component.
 void setValue(Date value)
          
 void setValue(Date value, boolean fireEvents)
          
 
Methods inherited from class com.github.gwtbootstrap.client.ui.base.DivWidget
addStyle, pullRight, removeStyle, setHideOn, setShowOn, setStyle
 
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel
add, clear, insert, insert
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, resolvePotentialElement, 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.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
add
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndex
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
 

Constructor Detail

DateBoxAppended

public DateBoxAppended()
Method Detail

getValue

public Date getValue()

Specified by:
getValue in interface TakesValue<Date>
Specified by:
getValue in interface HasValue<Date>

setValue

public void setValue(Date value)

Specified by:
setValue in interface TakesValue<Date>
Specified by:
setValue in interface HasValue<Date>

setValue

public void setValue(Date value,
                     boolean fireEvents)

Specified by:
setValue in interface HasValue<Date>

addValueChangeHandler

public HandlerRegistration addValueChangeHandler(ValueChangeHandler<Date> dateValueChangeHandler)

Specified by:
addValueChangeHandler in interface HasValueChangeHandlers<Date>

setFormat

public void setFormat(String format)
Set the format in the component.

Specified by:
setFormat in interface HasDateFormat


Copyright © 2012 gwtbootstrap. All Rights Reserved.