Class StartEndTimePopup
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Panel
-
- com.google.gwt.user.client.ui.SimplePanel
-
- com.google.gwt.user.client.ui.PopupPanel
-
- com.google.gwt.user.client.ui.DecoratedPopupPanel
-
- com.google.gwt.user.client.ui.DialogBox
-
- uk.ac.rdg.resc.godiva.client.widgets.DialogBoxWithCloseButton
-
- uk.ac.rdg.resc.godiva.client.widgets.StartEndTimePopup
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.safehtml.client.HasSafeHtml
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.EventPreview
,com.google.gwt.user.client.ui.AcceptsOneWidget
,com.google.gwt.user.client.ui.HasAnimation
,com.google.gwt.user.client.ui.HasHTML
,com.google.gwt.user.client.ui.HasOneWidget
,com.google.gwt.user.client.ui.HasText
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.HasWidgets
,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
,com.google.gwt.user.client.ui.IsWidget
,com.google.gwt.user.client.ui.MouseListener
,com.google.gwt.user.client.ui.SourcesPopupEvents
,Iterable<com.google.gwt.user.client.ui.Widget>
,EventListener
public class StartEndTimePopup extends DialogBoxWithCloseButton
A popup which allows a user to select start and end times. The start time is guaranteed to be earlier or in some exceptional cases, equal to, the end time. Clients should use thesetTimeSelectionHandler(StartEndTimeHandler)
method to set a callback for when the times have been selected- Author:
- Guy Griffiths
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class uk.ac.rdg.resc.godiva.client.widgets.DialogBoxWithCloseButton
DialogBoxWithCloseButton.CentrePosIF
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.DialogBox
com.google.gwt.user.client.ui.DialogBox.Caption, com.google.gwt.user.client.ui.DialogBox.CaptionImpl
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback
-
-
Constructor Summary
Constructors Constructor Description StartEndTimePopup(String layer, String baseUrl, TimeSelectorIF currentTimeSelector, DialogBoxWithCloseButton.CentrePosIF centrePos, int defaultDateStepsBetweenStartAndEnd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setButtonLabel(String buttonLabel)
void
setErrorMessage(String errorMessage)
void
setTimeSelectionHandler(StartEndTimeHandler timesHandler)
-
Methods inherited from class uk.ac.rdg.resc.godiva.client.widgets.DialogBoxWithCloseButton
center, isHeaderCloseControlEvent, isWidgetEvent, onBrowserEvent, setHTML, setHTML
-
Methods inherited from class com.google.gwt.user.client.ui.DialogBox
beginDragging, continueDragging, doAttachChildren, doDetachChildren, endDragging, getCaption, getHTML, getText, hide, onEnsureDebugId, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, onPreviewNativeEvent, setText, show
-
Methods inherited from class com.google.gwt.user.client.ui.DecoratedPopupPanel
clear, getCellElement, getWidget, iterator, remove, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, addCloseHandler, addPopupListener, getAnimationType, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAnimationType, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidth, showRelativeTo
-
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, onDetach, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
StartEndTimePopup
public StartEndTimePopup(String layer, String baseUrl, TimeSelectorIF currentTimeSelector, DialogBoxWithCloseButton.CentrePosIF centrePos, int defaultDateStepsBetweenStartAndEnd)
-
-
Method Detail
-
setButtonLabel
public void setButtonLabel(String buttonLabel)
-
setErrorMessage
public void setErrorMessage(String errorMessage)
-
setTimeSelectionHandler
public void setTimeSelectionHandler(StartEndTimeHandler timesHandler)
-
-