Class LocalTimeFormElement
java.lang.Object
org.minimalj.frontend.form.element.AbstractFormElement<T>
org.minimalj.frontend.form.element.FormatFormElement<java.time.LocalTime>
org.minimalj.frontend.form.element.LocalTimeFormElement
- All Implemented Interfaces:
Enable
,FormElement<java.time.LocalTime>
,Mocking
public class LocalTimeFormElement extends FormatFormElement<java.time.LocalTime>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LocalTimeFormElement(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.LocalTime
parse(java.lang.String string)
java.lang.String
render(java.time.LocalTime 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.LocalTime>
-
getInputType
- Overrides:
getInputType
in classFormatFormElement<java.time.LocalTime>
-
getAllowedSize
- Specified by:
getAllowedSize
in classFormatFormElement<java.time.LocalTime>
-
parse
public java.time.LocalTime parse(java.lang.String string)- Specified by:
parse
in classFormatFormElement<java.time.LocalTime>
-
render
public java.lang.String render(java.time.LocalTime value)- Specified by:
render
in classFormatFormElement<java.time.LocalTime>
-
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.
-