|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.gwtext.client.widgets.Component
com.gwtext.client.widgets.BoxComponent
com.gwtext.client.widgets.form.Field
com.gwtext.client.widgets.form.TextField
com.gwtext.client.widgets.form.ComboBox
com.gwtext.client.widgets.form.TimeField
public class TimeField
Basic text field.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.gwtext.client.widgets.form.ComboBox |
|---|
ComboBox.Mode, ComboBox.Trigger |
| 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.gwtext.client.widgets.form.ComboBox |
|---|
ALL, LOCAL, QUERY, REMOTE |
| Fields inherited from class com.gwtext.client.widgets.Component |
|---|
config, id |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
TimeField()
|
|
TimeField(com.google.gwt.core.client.JavaScriptObject jsObj)
|
|
TimeField(java.lang.String fieldLabel)
|
|
TimeField(java.lang.String fieldLabel,
java.lang.String name)
|
|
TimeField(java.lang.String fieldLabel,
java.lang.String name,
int width)
|
|
| Method Summary | |
|---|---|
protected com.google.gwt.core.client.JavaScriptObject |
create(com.google.gwt.core.client.JavaScriptObject jsObj)
|
protected com.google.gwt.core.client.JavaScriptObject |
getConfigPrototype()
|
java.lang.String |
getXType()
Gets the xtype for this component as registered with ComponentMgr. |
void |
setAltFormats(java.lang.String altFormats)
Multiple date formats separated by "|" to try when parsing a user input value and it doesn't match the defined format (defaults to 'm/d/Y|m-d-y|m-d-Y|m/d|m-d|d'). |
void |
setFormat(java.lang.String format)
The default date format string which can be overriden for localization support. |
void |
setIncrement(int increment)
The number of minutes between each time value in the list (defaults to 15). |
void |
setInvalidText(java.lang.String invalidtext)
The error text to display when the time in the field is invalid (defaults to '{value} is not a valid time - it must be in the format {format}'). |
void |
setMaxText(java.lang.String maxText)
The error text to display when the time is after maxValue (defaults to 'The time in this field must be equal to or before {0}'). |
void |
setMaxValue(java.util.Date maxValue)
The maximum allowed time. |
void |
setMaxValue(java.lang.String maxValue)
The maximum allowed time in valid date format. |
void |
setMinText(java.lang.String minText)
The error text to display when the date in the cell is before minValue (defaults to 'The time in this field must be equal to or after {0}'). |
void |
setMinValue(java.util.Date minValue)
The minimum allowed time. |
void |
setMinValue(java.lang.String minValue)
The minimum allowed time in valid date format. |
| Methods inherited from class com.gwtext.client.widgets.form.ComboBox |
|---|
addListener, clearValue, collapse, doQuery, expand, getElement, getMinHeight, getStore, getValue, isExpanded, onDestroy, select, selectByValue, setAllQuery, setDisplayField, setEditable, setForceSelection, setHandleHeight, setHiddenName, setHideTrigger, setItemSelector, setLazyRender, setLinked, setListAlign, setListClass, setListWidth, setLoadingText, setMaxHeight, setMinChars, setMinHeight, setMinListWidth, setMode, setPageSize, setQueryDelay, setQueryParam, setResizable, setSelectedClass, setShadow, setShadow, setStore, setTitle, setTpl, setTpl, setTriggerAction, setTriggerClass, setTypeAhead, setTypeAheadDelay, setValue, setValueField, setValueNotFoundText |
| Methods inherited from class com.gwtext.client.widgets.form.TextField |
|---|
addKeyListener, addKeyListener, addKeyListener, addKeyPressListener, addKeyPressListener, addListener, autoSize, getCaretPosition, getText, getValidator, insertAtCaret, selectText, selectText, setAllowBlank, setBlankText, setCaretPosition, setDisableKeyFilter, setEmptyClass, setEmptyText, setGrow, setGrowMax, setGrowMin, setMaskRe, setMaxLength, setMaxLengthText, setMinLength, setMinLengthText, setPassword, setRegex, setRegexText, setSelectOnFocus, setValidator, setVtype, setVtypeText, validateValue |
| Methods inherited from class com.gwtext.client.widgets.form.Field |
|---|
addListener, applyTo, applyTo, clearInvalid, getClearCls, getCls, getFieldLabel, getFocusClass, getInputType, getInvalidClass, getInvalidText, getLabelSeparator, getLabelStyle, getName, getRawValue, getTabindex, getValidationDelay, getValueAsString, hide, isAutoCreate, isDirty, isHideLabel, isReadOnly, isValid, isValid, isValidateOnBlur, markInvalid, reset, setAutoCreate, setAutoCreate, setClearCls, setCls, setDisabled, setFieldClass, setFieldLabel, setFieldMsgTarget, setFocusClass, setHideLabel, setInputType, setInvalidClass, setLabel, setLabelSeparator, setLabelStyle, setMsgFx, setMsgTarget, setName, setRawValue, setReadOnly, setTabIndex, setValidateOnBlur, setValidationDelay, setValidationEvent, setValidationEvent, show, validate |
| Methods inherited from class com.gwtext.client.widgets.BoxComponent |
|---|
addListener, doOnRender, doOnRender, getAutoHeight, getAutoWidth, getBox, getBox, getHeight, getPosition, getPosition, getSize, getWidth, setAutoHeight, setAutoWidth, setHeight, setHeight, setPagePosition, setPosition, setSize, setSize, setWidth, setWidth, syncSize, updateBox |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
doAttachChildren, doDetachChildren, getParent, isAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, setElement, setPixelSize, setStyleName, setStyleName, setStylePrimaryName, setVisible, sinkEvents, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TimeField()
public TimeField(java.lang.String fieldLabel)
public TimeField(java.lang.String fieldLabel,
java.lang.String name)
public TimeField(java.lang.String fieldLabel,
java.lang.String name,
int width)
public TimeField(com.google.gwt.core.client.JavaScriptObject jsObj)
| Method Detail |
|---|
protected com.google.gwt.core.client.JavaScriptObject getConfigPrototype()
getConfigPrototype in class ComboBoxpublic java.lang.String getXType()
Component
TextField field = new TextField();
field.getXType() returns "textfield"
getXType in class ComboBoxprotected com.google.gwt.core.client.JavaScriptObject create(com.google.gwt.core.client.JavaScriptObject jsObj)
create in class ComboBox
public void setAltFormats(java.lang.String altFormats)
throws java.lang.IllegalStateException
altFormats - the alt formats
java.lang.IllegalStateException - this property cannot be changed after the Component has been rendered
public void setFormat(java.lang.String format)
throws java.lang.IllegalStateException
format - the date format string
java.lang.IllegalStateException - this property cannot be changed after the Component has been rendered
public void setIncrement(int increment)
throws java.lang.IllegalStateException
increment - the number of minutes between each time value in the list (defaults to 15).
java.lang.IllegalStateException - this property cannot be changed after the Component has been renderedpublic void setInvalidText(java.lang.String invalidtext)
setInvalidText in class Fieldinvalidtext - the error text to display when the time in the field is invalidTextField.setValidator(Validator)public void setMaxText(java.lang.String maxText)
maxText - The error text to display when the time is after maxValue
public void setMaxValue(java.util.Date maxValue)
throws java.lang.IllegalStateException
maxValue - the max value
java.lang.IllegalStateException - this property cannot be changed after the Component has been rendered
public void setMaxValue(java.lang.String maxValue)
throws java.lang.IllegalStateException
maxValue - The maximum allowed time.
java.lang.IllegalStateException - this property cannot be changed after the Component has been renderedpublic void setMinText(java.lang.String minText)
minText - The error text to display when the date in the cell is before minValue
public void setMinValue(java.util.Date minValue)
throws java.lang.IllegalStateException
minValue - The minimum allowed time.
java.lang.IllegalStateException - this property cannot be changed after the Component has been rendered
public void setMinValue(java.lang.String minValue)
throws java.lang.IllegalStateException
minValue - The minimum allowed time.
java.lang.IllegalStateException - this property cannot be changed after the Component has been rendered
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||