|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
org.kuali.rice.krad.web.bind.UifDateEditor
public class UifDateEditor
PropertyEditor converts between date display strings and java.sql.Date objects
| Constructor Summary | |
|---|---|
UifDateEditor()
|
|
| Method Summary | |
|---|---|
protected Object |
convertToObject(String text)
Convert display text to java.sql.Date object using the
org.kuali.rice.core.api.datetime.DateTimeService. |
String |
getAsText()
This overridden method uses the org.kuali.rice.core.api.datetime.DateTimeService to convert
the date object to the display string. |
protected DateTimeService |
getDateTimeService()
Gets the date time service. |
void |
setAsText(String text)
This overridden method converts the display string to a java.sql.Date object using the
org.kuali.rice.core.api.datetime.DateTimeService. |
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UifDateEditor()
| Method Detail |
|---|
public String getAsText()
org.kuali.rice.core.api.datetime.DateTimeService to convert
the date object to the display string.
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportPropertyEditorSupport.getAsText()protected DateTimeService getDateTimeService()
public void setAsText(String text)
throws IllegalArgumentException
java.sql.Date object using the
org.kuali.rice.core.api.datetime.DateTimeService.
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionPropertyEditorSupport.setAsText(java.lang.String)
protected Object convertToObject(String text)
throws IllegalArgumentException
java.sql.Date object using the
org.kuali.rice.core.api.datetime.DateTimeService.
text - the display text
java.sql.Date object
IllegalArgumentException - the illegal argument exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||