Class LocalDateFormElement
java.lang.Object
org.minimalj.frontend.form.element.AbstractFormElement<T>
org.minimalj.frontend.form.element.FormatFormElement<java.time.LocalDate>
org.minimalj.frontend.form.element.LocalDateFormElement
- All Implemented Interfaces:
Enable
,FormElement<java.time.LocalDate>
,Mocking
public class LocalDateFormElement extends FormatFormElement<java.time.LocalDate>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LocalDateFormElement(PropertyInterface property, boolean editable)
-
Method Summary
Modifier and Type Method Description protected java.lang.String
getAllowedCharacters(PropertyInterface property)
protected int
getAllowedSize(PropertyInterface property)
protected Frontend.InputType
getInputType()
void
mock()
The object should have random data after this call.java.time.LocalDate
parse(java.lang.String string)
java.lang.String
render(java.time.LocalDate value)
Methods inherited from class org.minimalj.frontend.form.element.FormatFormElement
getComponent, getSearch, getValue, setEnabled, setValue
Methods inherited from class org.minimalj.frontend.form.element.AbstractFormElement
fireChange, getCaption, getConstraint, getProperty, height, height, listener, setChangeListener
-
Constructor Details
-
Method Details
-
getAllowedCharacters
- Specified by:
getAllowedCharacters
in classFormatFormElement<java.time.LocalDate>
-
getAllowedSize
- Specified by:
getAllowedSize
in classFormatFormElement<java.time.LocalDate>
-
getInputType
- Overrides:
getInputType
in classFormatFormElement<java.time.LocalDate>
-
parse
public java.time.LocalDate parse(java.lang.String string)- Specified by:
parse
in classFormatFormElement<java.time.LocalDate>
-
render
public java.lang.String render(java.time.LocalDate value)- Specified by:
render
in classFormatFormElement<java.time.LocalDate>
-
mock
public void mock()Description copied from interface:Mocking
The object should have random data after this call. And a possible validation should report no errors.
-