Package net.moewes.cloudui.ui5
Class Ui5Calendar
- java.lang.Object
-
- net.moewes.cloudui.UiComponent
-
- net.moewes.cloudui.ui5.Ui5Calendar
-
public class Ui5Calendar extends net.moewes.cloudui.UiComponentJava wrapper for UI5 web component ui5-calendar
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUi5Calendar.CalendarSelectionpossible values for attribute selection
-
Constructor Summary
Constructors Constructor Description Ui5Calendar()default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhideWeekNumbers()hides the week number in ui5-calendarvoidsetMaxDate(LocalDate date)sets max-date attribute of ui5-calendarvoidsetMinDate(LocalDate date)sets min-date attribute of ui5-calendarvoidsetSelection(Ui5Calendar.CalendarSelection selection)sets the selection type of calendar
-
-
-
Method Detail
-
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)
-
setSelection
public void setSelection(Ui5Calendar.CalendarSelection selection)
sets the selection type of calendarHint: As of UI5 Web Components 1.0.0.rc11 there are issues with CloudUi eventing and selection modes other then single
- Parameters:
selection- value
-
-