Package net.moewes.cloudui.ui5
Class Ui5Carousel
- java.lang.Object
-
- net.moewes.cloudui.UiComponent
-
- net.moewes.cloudui.ui5.Ui5Carousel
-
public class Ui5Carousel extends net.moewes.cloudui.UiComponentJava wrapper for UI5 web component ui5-carousel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUi5Carousel.ArrowsPlacementpossible values for arrowPlacement attribute
-
Constructor Summary
Constructors Constructor Description Ui5Carousel()default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.moewes.cloudui.UiElementrender()Overide for late binding of the boolean attributesvoidsetArrowsPlacement(Ui5Carousel.ArrowsPlacement placement)sets arrows-placement attribute of ui5-carouselvoidsetCyclic(boolean cyclic)sets cyclic attribute of ui5-carouselvoidsetItemPerPageL(int itemPerPage)Sets the number of items per page on large size (more than 1024px).voidsetItemPerPageM(int itemPerPage)Sets the number of items per page on medium size (from 640px to 1024px).voidsetItemPerPageS(int itemPerPage)Sets the number of items per page on small size (up to 640px).voidsetSelectedIndex(int index)sets the page with is shown when the page is loaded
-
-
-
Method Detail
-
setArrowsPlacement
public void setArrowsPlacement(Ui5Carousel.ArrowsPlacement placement)
sets arrows-placement attribute of ui5-carousel- Parameters:
placement- va
-
setCyclic
public void setCyclic(boolean cyclic)
sets cyclic attribute of ui5-carousel- Parameters:
cyclic- if true you can navigate from end to start
-
setSelectedIndex
public void setSelectedIndex(int index)
sets the page with is shown when the page is loaded- Parameters:
index- index of child-component starting with 0
-
setItemPerPageS
public void setItemPerPageS(int itemPerPage)
Sets the number of items per page on small size (up to 640px). One item per page shown by default.- Parameters:
itemPerPage- number of items
-
setItemPerPageM
public void setItemPerPageM(int itemPerPage)
Sets the number of items per page on medium size (from 640px to 1024px). One item per page shown by default.- Parameters:
itemPerPage- number of items
-
setItemPerPageL
public void setItemPerPageL(int itemPerPage)
Sets the number of items per page on large size (more than 1024px). One item per page shown by default.- Parameters:
itemPerPage- number of items
-
render
public net.moewes.cloudui.UiElement render()
Overide for late binding of the boolean attributes- Overrides:
renderin classnet.moewes.cloudui.UiComponent
-
-