org.kuali.student.common.ui.client.widgets.impl
Class KSDatePickerImpl
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.kuali.student.common.ui.client.widgets.KSDatePickerAbstract
org.kuali.student.common.ui.client.widgets.impl.KSDatePickerImpl
- All Implemented Interfaces:
- com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasValueChangeHandlers<Date>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.TakesValue<Date>, com.google.gwt.user.client.ui.HasValue<Date>, com.google.gwt.user.client.ui.IsWidget, HasWatermark
public class KSDatePickerImpl
- extends KSDatePickerAbstract
- implements com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.dom.client.HasBlurHandlers
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 |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, 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 interface com.google.gwt.event.shared.HasHandlers |
fireEvent |
picker
private com.google.gwt.user.datepicker.client.DatePicker picker
dateField
private KSTextBox dateField
popup
private com.google.gwt.user.client.ui.PopupPanel popup
selectedDate
private Date selectedDate
currentDate
private Date currentDate
df
private com.google.gwt.i18n.client.DateTimeFormat df
justPicked
private boolean justPicked
focus
private final FocusGroup focus
allowedKeyPress
private boolean allowedKeyPress
hasWatermark
private boolean hasWatermark
watermarkShowing
private boolean watermarkShowing
watermarkText
private String watermarkText
KSDatePickerImpl
public KSDatePickerImpl()
isDeleteOrBackspaceKey
private boolean isDeleteOrBackspaceKey(int code)
fireValueChangeEvent
private void fireValueChangeEvent()
getValue
public Date getValue()
- Specified by:
getValue
in interface com.google.gwt.user.client.TakesValue<Date>
- Specified by:
getValue
in interface com.google.gwt.user.client.ui.HasValue<Date>
- Specified by:
getValue
in class KSDatePickerAbstract
setValue
public void setValue(Date date)
- Specified by:
setValue
in interface com.google.gwt.user.client.TakesValue<Date>
- Specified by:
setValue
in interface com.google.gwt.user.client.ui.HasValue<Date>
- Specified by:
setValue
in class KSDatePickerAbstract
getDateTextField
public KSTextBox getDateTextField()
setValue
public void setValue(Date date,
boolean fireEvents)
- Specified by:
setValue
in interface com.google.gwt.user.client.ui.HasValue<Date>
addValueChangeHandler
public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Date> handler)
- Specified by:
addValueChangeHandler
in interface com.google.gwt.event.logical.shared.HasValueChangeHandlers<Date>
addFocusHandler
public com.google.gwt.event.shared.HandlerRegistration addFocusHandler(com.google.gwt.event.dom.client.FocusHandler handler)
- Specified by:
addFocusHandler
in interface com.google.gwt.event.dom.client.HasFocusHandlers
addBlurHandler
public com.google.gwt.event.shared.HandlerRegistration addBlurHandler(com.google.gwt.event.dom.client.BlurHandler handler)
- Specified by:
addBlurHandler
in interface com.google.gwt.event.dom.client.HasBlurHandlers
hasWatermark
public boolean hasWatermark()
- Specified by:
hasWatermark
in interface HasWatermark
setWatermarkText
public void setWatermarkText(String text)
- Specified by:
setWatermarkText
in interface HasWatermark
watermarkShowing
public boolean watermarkShowing()
- Specified by:
watermarkShowing
in interface HasWatermark
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.