public class TimeField extends ComboBox<Date>
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledHasDirection.DirectionEditor.Ignore, Editor.PathDEBUG_ID_PREFIX| Constructor and Description |
|---|
TimeField() |
| Modifier and Type | Method and Description |
|---|---|
TimeFieldCell |
getCell()
Get the
Cell wrapped by this widget. |
DateTimeFormat |
getFormat()
Returns the date time format.
|
int |
getIncrement()
Returns the number of minutes between each time value.
|
Date |
getMaxValue()
Returns the field's max value.
|
Date |
getMinValue()
Returns the fields minimum value.
|
void |
setFormat(DateTimeFormat format)
Sets the date time format used to format each entry (defaults to
DateTimeFormat.PredefinedFormat.TIME_SHORT). |
void |
setIncrement(int increment)
Sets the number of minutes between each time value in the list (defaults to
15).
|
void |
setMaxValue(Date value)
Sets the field's max value.
|
void |
setMinValue(Date value)
The minimum allowed time (no default value).
|
addCollapseHandler, addExpandHandler, clear, clearSelections, collapse, doQuery, expand, getAllQuery, getLabelProvider, getListView, getLoader, getMinChars, getMinListWidth, getPageSize, getStore, getTriggerAction, getTypeAheadDelay, isExpanded, isForceSelection, isTypeAhead, select, select, setAllQuery, setExpanded, setForceSelection, setLoader, setMinChars, setMinListWidth, setPageSize, setStore, setTriggerAction, setTypeAhead, setTypeAheadDelayaddTriggerClickHandler, isEditable, isMonitorTab, setEditable, setHideTrigger, setMonitorTabaddChangeHandler, addKeyPressHandler, addKeyUpHandler, addParseErrorHandler, getCurrentValue, getCursorPos, getDirection, getDirectionEstimator, getEmptyText, getPropertyEditor, getSelectedText, getSelectionLength, getText, getValueOrThrow, isAllowBlank, isCurrentValid, isCurrentValid, isSelectOnFocus, redraw, select, selectAll, setAllowBlank, setCursorPos, setDirection, setDirectionEstimator, setDirectionEstimator, setEmptyText, setId, setPropertyEditor, setReadOnly, setSelectionRange, setSelectOnFocus, setText, setValueaddInvalidHandler, addValidator, addValidHandler, addValueChangeHandler, clearInvalid, finishEditing, forceInvalid, getErrorSupport, getName, getValidateOnBlur, getValidationDelay, getValidators, isAutoValidate, isEditing, isReadOnly, isValid, isValid, markInvalid, onBrowserEvent, removeValidator, reset, setAutoValidate, setDelegate, setErrorSupport, setName, setOriginalValue, setValidateOnBlur, setValidationDelay, setValue, showErrors, validate, validategetKeyProvider, getValue, setValueaddBeforeHideHandler, addBeforeShowContextMenuHandler, addBeforeShowHandler, addBlurHandler, addDisableHandler, addEnableHandler, addFocusHandler, addHideHandler, addMoveHandler, addResizeHandler, addShowContextMenuHandler, addShowHandler, addStyleOnOver, clearSizeCache, disable, disableEvents, enable, enableEvents, fireEvent, focus, getData, getElement, getFocusSupport, getHideMode, getId, getItemId, getOffsetHeight, getOffsetWidth, getShadow, getStateId, getToolTip, hide, hideToolTip, isAllowTextSelection, isAutoHeight, isAutoWidth, isDeferHeight, isEnabled, isRendered, isStateful, isVisible, isVisible, mask, mask, removeHandler, removeToolTip, setAllowTextSelection, setBorders, setBounds, setBounds, setContextMenu, setData, setDeferHeight, setEnabled, setHeight, setHeight, setHideMode, setItemId, setPagePosition, setPixelSize, setPosition, setShadow, setSize, setStateful, setStateId, setTabIndex, setToolTip, setToolTipConfig, setVisible, setWidth, setWidth, show, sync, syncSize, unmaskaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEventsequals, getClass, hashCode, notify, notifyAll, wait, wait, waitfireEventgetValuepublic TimeFieldCell getCell()
CellComponentCell wrapped by this widget.public DateTimeFormat getFormat()
public int getIncrement()
public Date getMaxValue()
public Date getMinValue()
public void setFormat(DateTimeFormat format)
DateTimeFormat.PredefinedFormat.TIME_SHORT).format - the date time formatpublic void setIncrement(int increment)
increment - the incrementpublic void setMaxValue(Date value)
value - the max valuepublic void setMinValue(Date value)
value - the minimum dateCopyright © 2012. All Rights Reserved.