public class DateInputSelectCompound extends AbstractInput<DateInputSelectCompound> implements FormCheckerElement
| Modifier and Type | Class and Description |
|---|---|
static class |
DateInputSelectCompound.YearRange
a range of years - that can be shown in the year-dropdown
Use the static convenience methods
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DAY |
static int |
MONTH |
static int |
YEAR |
desc, inputAttributes, name, preSetValue, size, value| Constructor and Description |
|---|
DateInputSelectCompound() |
| Modifier and Type | Method and Description |
|---|---|
static DateInputSelectCompound |
build(String name,
DateInputSelectCompound.YearRange yearRange) |
static DateInputSelectCompound |
build(String name,
int yearStart,
int yearEnd) |
String |
getDatePartTag(int field,
Map<String,String> attributes) |
java.time.LocalDate |
getDateValue() |
String |
getInputTag(Map<String,String> attributes) |
int |
getLastTabIndex() |
Date |
getLegacyDateValue()
Get internal Date as Date (Please avoid this, because LocalDate is far better.)
|
String |
getType() |
String |
getValue() |
void |
init(Request request,
boolean firstRun,
Validator validator) |
DateInputSelectCompound |
presetValue(java.time.LocalDate t)
Deprecated.
|
DateInputSelectCompound |
setPresetValue(java.time.LocalDate t) |
addCriteria, buildAllAttributes, buildAllAttributes, buildMaxLen, buildRequiredAttribute, changeDescription, getCompleteInput, getCriteria, getDescription, getElementId, getHelpText, getInputTag, getLabel, getName, getPreSetValue, getTabIndex, getTabIndexTag, getTabIndexTagIncreaseBy, getValidationResult, getValueHtmlEncoded, isRequired, isValid, setCriterias, setDescription, setFormChecker, setHelpText, setInputAttributes, setInvalid, setName, setPreSetValue, setRequired, setSize, setTabIndex, setValidationResult, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeDescription, getCompleteInput, getCriteria, getDescription, getHelpText, getInputTag, getLabel, getName, getPreSetValue, getTabIndex, getValidationResult, getValueHtmlEncoded, isRequired, isValid, setDescription, setFormChecker, setInvalid, setName, setPreSetValue, setRequired, setSize, setTabIndex, setValidationResult, setValuepublic static final int MONTH
public static final int DAY
public static final int YEAR
public static DateInputSelectCompound build(String name, int yearStart, int yearEnd)
public static DateInputSelectCompound build(String name, DateInputSelectCompound.YearRange yearRange)
public String getInputTag(Map<String,String> attributes)
getInputTag in interface FormCheckerElement@Deprecated public DateInputSelectCompound presetValue(java.time.LocalDate t)
public DateInputSelectCompound setPresetValue(java.time.LocalDate t)
public void init(Request request, boolean firstRun, Validator validator)
init in interface FormCheckerElementinit in class AbstractInput<DateInputSelectCompound>public int getLastTabIndex()
getLastTabIndex in interface FormCheckerElementgetLastTabIndex in class AbstractInput<DateInputSelectCompound>public String getValue()
getValue in interface FormCheckerElementgetValue in class AbstractInput<DateInputSelectCompound>public java.time.LocalDate getDateValue()
public Date getLegacyDateValue()
public String getType()
getType in interface FormCheckerElementCopyright © 2017. All rights reserved.