Package net.moewes.cloudui.ui5
Class Ui5TimelineItem
- java.lang.Object
-
- net.moewes.cloudui.UiComponent
-
- net.moewes.cloudui.ui5.Ui5TimelineItem
-
public class Ui5TimelineItem extends net.moewes.cloudui.UiComponent
Java wrapper for UI5 web component ui5-timeline-item used as children elements in Ui5Timeline
-
-
Constructor Summary
Constructors Constructor Description Ui5TimelineItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setIcon(String icon)
sets icon attribute of ui5-timeline-itemvoid
setName(String name, boolean clickable)
sets the item-name attribute of ui5-timeline-itemvoid
setSubtitle(String text)
sets subtitle-text attribute of ui5-timeline-itemvoid
setTitle(String text)
sets title-text attribute of ui5-timeline-item
-
-
-
Method Detail
-
setTitle
public void setTitle(String text)
sets title-text attribute of ui5-timeline-item- Parameters:
text
- the text to display as title
-
setSubtitle
public void setSubtitle(String text)
sets subtitle-text attribute of ui5-timeline-item- Parameters:
text
- the text to display as subtitle
-
setIcon
public void setIcon(String icon)
sets icon attribute of ui5-timeline-item- Parameters:
icon
- icon name - see ui5 icon explorer
-
setName
public void setName(String name, boolean clickable)
sets the item-name attribute of ui5-timeline-itemregister event handler for event item-name-click
- Parameters:
name
- text that is diplayed as first element in item headerclickable
- defines if it is displayed as link
-
-