Package net.moewes.cloudui.ui5
Class Ui5Title
- java.lang.Object
-
- net.moewes.cloudui.UiComponent
-
- net.moewes.cloudui.ui5.Ui5Title
-
public class Ui5Title extends net.moewes.cloudui.UiComponent
Java wrapper for UI5 web component ui-title
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Ui5Title.Level
Defines the ui5-title level.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setLevel(Ui5Title.Level level)
sets the level attribute of ui5-titlevoid
setText(String text)
sets the text which is displayedvoid
setWrap(boolean wrap)
sets the wrap attribute of ui5-title
-
-
-
Constructor Detail
-
Ui5Title
public Ui5Title()
default constructor
-
Ui5Title
public Ui5Title(String text)
constructor- Parameters:
text
- text ui5-title displays
-
Ui5Title
public Ui5Title(String text, Ui5Title.Level level)
constructor- Parameters:
text
- text ui5-title displayslevel
- the ui5-title level
-
-
Method Detail
-
setText
public void setText(String text)
sets the text which is displayed- Parameters:
text
- text ui5-title displays
-
setLevel
public void setLevel(Ui5Title.Level level)
sets the level attribute of ui5-title- Parameters:
level
- the ui5-title level
-
setWrap
public void setWrap(boolean wrap)
sets the wrap attribute of ui5-title- Parameters:
wrap
- defines whether the ui5-title would wrap.
-
-