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.UiComponent
Java wrapper for UI5 web component ui5-carousel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Ui5Carousel.ArrowsPlacement
possible 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.UiElement
render()
Overide for late binding of the boolean attributesvoid
setArrowsPlacement(Ui5Carousel.ArrowsPlacement placement)
sets arrows-placement attribute of ui5-carouselvoid
setCyclic(boolean cyclic)
sets cyclic attribute of ui5-carouselvoid
setItemPerPageL(int itemPerPage)
Sets the number of items per page on large size (more than 1024px).void
setItemPerPageM(int itemPerPage)
Sets the number of items per page on medium size (from 640px to 1024px).void
setItemPerPageS(int itemPerPage)
Sets the number of items per page on small size (up to 640px).void
setSelectedIndex(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:
render
in classnet.moewes.cloudui.UiComponent
-
-