| |
|
| java.lang.Object com.l2fprod.common.beans.editor.AbstractPropertyEditor com.l2fprod.common.beans.editor.JCalendarDatePropertyEditor
JCalendarDatePropertyEditor | public JCalendarDatePropertyEditor()(Code) | | Constructor for JCalendarDatePropertyEditor
|
JCalendarDatePropertyEditor | public JCalendarDatePropertyEditor(String dateFormatString, Locale locale)(Code) | | Constructor for JCalendarDatePropertyEditor
Parameters: dateFormatString - string used to format the Date object,see: java.text.SimpleDateFormat Parameters: locale - Locale used to display the Date object |
JCalendarDatePropertyEditor | public JCalendarDatePropertyEditor(Locale locale)(Code) | | Constructor for JCalendarDatePropertyEditor
Parameters: locale - Locale used to display the Date object |
getAsText | public String getAsText()(Code) | | Returns the Date formated with the locale and formatString set.
the choosen Date as String |
getDateFormatString | public String getDateFormatString()(Code) | | Gets the date format string.
Returns the dateFormatString. |
getLocale | public Locale getLocale()(Code) | | Returns the Locale used.
the Locale object |
getValue | public Object getValue()(Code) | | Returns the Date of the Calendar
the date choosed as a java.util.Date b> object ornull is the date is not set |
setDateFormatString | public void setDateFormatString(String dateFormatString)(Code) | | Sets the date format string. E.g "MMMMM d, yyyy" will result in
"July 21, 2004" if this is the selected date and locale is
English.
Parameters: dateFormatString - The dateFormatString to set. |
setLocale | public void setLocale(Locale l)(Code) | | Sets the locale.
Parameters: l - The new locale value |
setValue | public void setValue(Object value)(Code) | | Sets the Date of the Calendar
Parameters: value - the Date object |
|
|
|