org.cruxframework.crux.widgets.client.datebox
Class DateBox.CommonDateBox

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.cruxframework.crux.widgets.client.datebox.DateBox.CommonDateBox
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget
Enclosing class:
DateBox

protected abstract static class DateBox.CommonDateBox
extends com.google.gwt.user.client.ui.Composite


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
protected DateBox.CommonDateBox()
           
 
Method Summary
 String getBaseStyleName()
           
 DatePicker getDatePicker()
           
 DateBox.CruxFormat getFormat()
           
 com.google.gwt.user.client.ui.UIObject getPopup()
           
 int getTabIndex()
           
 MaskedTextBox getTextBox()
           
 Date getValue()
           
 void hideDatePicker()
           
 boolean isDatePickerShowing()
           
 boolean isEnabled()
           
 void setAccessKey(char key)
           
 void setEnabled(boolean enabled)
           
 void setFireNullValues(boolean fires)
           
 void setFocus(boolean focused)
           
 void setFormat(DateBox.CruxFormat format)
           
 void setReadOnly(boolean readOnly)
           
 void setValue(Date date)
           
 void showDatePicker()
           
 
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, unsinkEvents
 
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
 
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.user.client.ui.HasValue
setValue
 
Methods inherited from interface com.google.gwt.event.logical.shared.HasValueChangeHandlers
addValueChangeHandler
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.google.gwt.user.client.ui.Focusable
setTabIndex
 

Constructor Detail

DateBox.CommonDateBox

protected DateBox.CommonDateBox()
Method Detail

getBaseStyleName

public String getBaseStyleName()
Returns:
the default widget style name

getFormat

public DateBox.CruxFormat getFormat()

getPopup

public com.google.gwt.user.client.ui.UIObject getPopup()

getTabIndex

public int getTabIndex()
Specified by:
getTabIndex in interface com.google.gwt.user.client.ui.Focusable

getTextBox

public MaskedTextBox getTextBox()

getDatePicker

public DatePicker getDatePicker()

getValue

public Date getValue()
Specified by:
getValue in interface com.google.gwt.user.client.ui.HasValue<Date>
Specified by:
getValue in interface com.google.gwt.user.client.TakesValue<Date>

hideDatePicker

public void hideDatePicker()

isDatePickerShowing

public boolean isDatePickerShowing()

isEnabled

public boolean isEnabled()

setAccessKey

public void setAccessKey(char key)
Specified by:
setAccessKey in interface com.google.gwt.user.client.ui.Focusable

setEnabled

public void setEnabled(boolean enabled)

setReadOnly

public void setReadOnly(boolean readOnly)

setFocus

public void setFocus(boolean focused)
Specified by:
setFocus in interface com.google.gwt.user.client.ui.Focusable

setFormat

public void setFormat(DateBox.CruxFormat format)

setValue

public void setValue(Date date)
Specified by:
setValue in interface com.google.gwt.user.client.ui.HasValue<Date>
Specified by:
setValue in interface com.google.gwt.user.client.TakesValue<Date>

showDatePicker

public void showDatePicker()

setFireNullValues

public void setFireNullValues(boolean fires)


Copyright © 2015. All rights reserved.