com.extjs.gxt.ui.client.widget.form
クラス DateTimePropertyEditor
java.lang.Object
com.extjs.gxt.ui.client.widget.form.DateTimePropertyEditor
- すべての実装インターフェース:
- PropertyEditor<java.util.Date>
public class DateTimePropertyEditor
- extends java.lang.Object
- implements PropertyEditor<java.util.Date>
|
メソッド 概要 |
java.util.Date |
convertStringValue(java.lang.String value)
Converts a string to the typed value. |
com.google.gwt.i18n.client.DateTimeFormat |
getFormat()
|
java.lang.String |
getStringValue(java.util.Date value)
Returns the data as a string. |
void |
setFormat(com.google.gwt.i18n.client.DateTimeFormat format)
|
| クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTimePropertyEditor
public DateTimePropertyEditor()
DateTimePropertyEditor
public DateTimePropertyEditor(com.google.gwt.i18n.client.DateTimeFormat format)
DateTimePropertyEditor
public DateTimePropertyEditor(java.lang.String pattern)
getFormat
public com.google.gwt.i18n.client.DateTimeFormat getFormat()
setFormat
public void setFormat(com.google.gwt.i18n.client.DateTimeFormat format)
convertStringValue
public java.util.Date convertStringValue(java.lang.String value)
- Description copied from interface:
PropertyEditor
- Converts a string to the typed value.
- Specified by:
convertStringValue in interface PropertyEditor<java.util.Date>
- パラメータ:
value - the string value
- 戻り値:
- the type value or null if value cannot be converted
getStringValue
public java.lang.String getStringValue(java.util.Date value)
- Description copied from interface:
PropertyEditor
- Returns the data as a string.
- Specified by:
getStringValue in interface PropertyEditor<java.util.Date>
- パラメータ:
value - the typed value
- 戻り値:
- the value as a string