public class UifCalendarEditor extends UifDateEditor implements Serializable
java.util.Calendar
objects using the
org.kuali.rice.core.api.datetime.DateTimeService
.Constructor and Description |
---|
UifCalendarEditor() |
Modifier and Type | Method and Description |
---|---|
protected Object |
convertToObject(String text)
Convert display text to
java.util.Calendar 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 calendar object to the display string. |
getDateTimeService, setAsText, verbatimYear
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
public UifCalendarEditor()
public String getAsText()
org.kuali.rice.core.api.datetime.DateTimeService
to convert
the calendar object to the display string.getAsText
in interface PropertyEditor
getAsText
in class UifDateEditor
PropertyEditorSupport.getAsText()
protected Object convertToObject(String text) throws IllegalArgumentException
java.util.Calendar
object using the
org.kuali.rice.core.api.datetime.DateTimeService
.convertToObject
in class UifDateEditor
text
- the display textjava.util.Calendar
objectIllegalArgumentException
- the illegal argument exceptionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.