|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.l2fprod.common.beans.editor.AbstractPropertyEditor
com.l2fprod.common.beans.editor.JCalendarDatePropertyEditor
public class JCalendarDatePropertyEditor
Date Property Editor based on toedter
JCalendar component.
Field Summary |
---|
Fields inherited from class com.l2fprod.common.beans.editor.AbstractPropertyEditor |
---|
editor |
Constructor Summary | |
---|---|
JCalendarDatePropertyEditor()
Constructor for JCalendarDatePropertyEditor |
|
JCalendarDatePropertyEditor(java.util.Locale locale)
Constructor for JCalendarDatePropertyEditor |
|
JCalendarDatePropertyEditor(java.lang.String dateFormatString,
java.util.Locale locale)
Constructor for JCalendarDatePropertyEditor |
Method Summary | |
---|---|
java.lang.String |
getAsText()
Returns the Date formated with the locale and formatString set. |
java.lang.String |
getDateFormatString()
Gets the date format string. |
java.util.Locale |
getLocale()
Returns the Locale used. |
java.lang.Object |
getValue()
Returns the Date of the Calendar |
void |
setDateFormatString(java.lang.String dateFormatString)
Sets the date format string. |
void |
setLocale(java.util.Locale l)
Sets the locale. |
void |
setValue(java.lang.Object value)
Sets the Date of the Calendar |
Methods inherited from class com.l2fprod.common.beans.editor.AbstractPropertyEditor |
---|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, setAsText, supportsCustomEditor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JCalendarDatePropertyEditor()
public JCalendarDatePropertyEditor(java.lang.String dateFormatString, java.util.Locale locale)
dateFormatString
- string used to format the Date object,
see: java.text.SimpleDateFormat locale
- Locale used to display the Date objectpublic JCalendarDatePropertyEditor(java.util.Locale locale)
locale
- Locale used to display the Date objectMethod Detail |
---|
public java.lang.Object getValue()
getValue
in interface java.beans.PropertyEditor
getValue
in class AbstractPropertyEditor
public void setValue(java.lang.Object value)
setValue
in interface java.beans.PropertyEditor
setValue
in class AbstractPropertyEditor
value
- the Date objectpublic java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class AbstractPropertyEditor
public void setDateFormatString(java.lang.String dateFormatString)
dateFormatString
- The dateFormatString to set.public java.lang.String getDateFormatString()
public void setLocale(java.util.Locale l)
l
- The new locale valuepublic java.util.Locale getLocale()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |