|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.widget.core.client.form.PropertyEditor<java.util.Date>
com.sencha.gxt.widget.core.client.form.DateTimePropertyEditor
public class DateTimePropertyEditor
| Field Summary |
|---|
| Fields inherited from class com.sencha.gxt.widget.core.client.form.PropertyEditor |
|---|
DEFAULT |
| Constructor Summary | |
|---|---|
DateTimePropertyEditor()
Creates a new date time property editor. |
|
DateTimePropertyEditor(DateTimeFormat format)
Creates a new date time property editor. |
|
DateTimePropertyEditor(java.lang.String pattern)
Creates a new date time property editor. |
|
| Method Summary | |
|---|---|
DateTimeFormat |
getFormat()
Returns the date time format. |
boolean |
isParseStrict()
Returns true if parsing strictly. |
java.util.Date |
parse(java.lang.CharSequence text)
|
java.lang.String |
render(java.util.Date value)
|
void |
setParseStrict(boolean parseStrict)
True to parse dates strictly (defaults to true). |
| Methods inherited from class com.sencha.gxt.widget.core.client.form.PropertyEditor |
|---|
render |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateTimePropertyEditor()
public DateTimePropertyEditor(DateTimeFormat format)
format - the date time formatpublic DateTimePropertyEditor(java.lang.String pattern)
pattern - the pattern used to create a new @link
DateTimeFormat.| Method Detail |
|---|
public DateTimeFormat getFormat()
public boolean isParseStrict()
public java.util.Date parse(java.lang.CharSequence text)
throws java.text.ParseException
java.text.ParseExceptionpublic java.lang.String render(java.util.Date value)
public void setParseStrict(boolean parseStrict)
DateTimeFormat.parseStrict(String).
parseStrict - true to parse strictly
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||