Package net.moewes.cloudui.ui5
Class Ui5DateInputFieldBase
- java.lang.Object
-
- net.moewes.cloudui.UiComponent
-
- net.moewes.cloudui.ui5.Ui5InputBase
-
- net.moewes.cloudui.ui5.Ui5InputFieldBase
-
- net.moewes.cloudui.ui5.Ui5DateInputFieldBase
-
- Direct Known Subclasses:
Ui5DatePicker
,Ui5DateRangePicker
,Ui5DateTimePicker
public class Ui5DateInputFieldBase extends Ui5InputFieldBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.moewes.cloudui.ui5.Ui5InputBase
Ui5InputBase.ValueState
-
-
Field Summary
Fields Modifier and Type Field Description protected DateTimeFormatter
formatter
protected String
pattern
-
Fields inherited from class net.moewes.cloudui.ui5.Ui5InputFieldBase
required
-
Fields inherited from class net.moewes.cloudui.ui5.Ui5InputBase
disabled, readOnly
-
-
Constructor Summary
Constructors Constructor Description Ui5DateInputFieldBase(String tag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DateTimeFormatter
getFormatter()
void
hideWeekNumbers()
hides the week number in ui5-calendarnet.moewes.cloudui.UiElement
render()
void
setFormatPattern(String pattern)
sets a time pattern string for display and conversion of LocalTime valuesvoid
setMaxDate(LocalDate date)
sets max-date attribute of ui5-calendarvoid
setMinDate(LocalDate date)
sets min-date attribute of ui5-calendar-
Methods inherited from class net.moewes.cloudui.ui5.Ui5InputFieldBase
addValueStateMessage, addValueStateMessage, setPlaceholder, setRequired
-
Methods inherited from class net.moewes.cloudui.ui5.Ui5InputBase
setDisabled, setReadOnly, setValueState
-
-
-
-
Field Detail
-
formatter
protected DateTimeFormatter formatter
-
pattern
protected String pattern
-
-
Constructor Detail
-
Ui5DateInputFieldBase
public Ui5DateInputFieldBase(String tag)
-
-
Method Detail
-
setFormatPattern
public void setFormatPattern(String pattern)
sets a time pattern string for display and conversion of LocalTime values- Parameters:
pattern
- pattern string
-
getFormatter
public DateTimeFormatter getFormatter()
- Returns:
- the current formatter
-
render
public net.moewes.cloudui.UiElement render()
- Overrides:
render
in classUi5InputFieldBase
-
hideWeekNumbers
public void hideWeekNumbers()
hides the week number in ui5-calendar
-
setMinDate
public void setMinDate(LocalDate date)
sets min-date attribute of ui5-calendar- Parameters:
date
- the earliest valid date to select (and scroll)
-
setMaxDate
public void setMaxDate(LocalDate date)
sets max-date attribute of ui5-calendar- Parameters:
date
- the latest valid date to select (and scroll)
-
-