org.jminor.common.ui.input
Class DateInputProvider
java.lang.Object
org.jminor.common.ui.input.AbstractInputProvider<Date,DateInputPanel>
org.jminor.common.ui.input.DateInputProvider
- All Implemented Interfaces:
- InputProvider<Date,DateInputPanel>
public final class DateInputProvider
- extends AbstractInputProvider<Date,DateInputPanel>
A InputProvider implementation for date values.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateInputProvider
public DateInputProvider(Date initialValue,
SimpleDateFormat dateFormat)
- Instantiates a new DateInputProvider.
- Parameters:
initialValue
- the initial valuedateFormat
- the date format
getValue
public Date getValue()
-
- Specified by:
getValue
in interface InputProvider<Date,DateInputPanel>
- Specified by:
getValue
in class AbstractInputProvider<Date,DateInputPanel>
- Returns:
- the value according to the input component