Package net.moewes.cloudui.ui5
Class Ui5Link
- java.lang.Object
-
- net.moewes.cloudui.UiComponent
-
- net.moewes.cloudui.ui5.Ui5Link
-
public class Ui5Link extends net.moewes.cloudui.UiComponent
Java wrapper for UI5 web component ui5-link
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Ui5Link.Design
possible values for the design attribute of ui5-linkstatic class
Ui5Link.Target
possible values for target attribute of ui5-link
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setDesign(Ui5Link.Design design)
sets the design attribute of ui5-linkvoid
setDisabled(boolean disabled)
void
setHref(String url)
sets the href attribute of ui5-linkvoid
setTarget(Ui5Link.Target taget)
sets the target attribute of ui5-linkvoid
setText(String text)
sets the link textvoid
setWrap(boolean wrap)
sets the wrap attribute of ui5-link
-
-
-
Method Detail
-
setText
public void setText(String text)
sets the link text- Parameters:
text
- the text to display
-
setHref
public void setHref(String url)
sets the href attribute of ui5-link- Parameters:
url
- url to open when the link is clicked
-
setTarget
public void setTarget(Ui5Link.Target taget)
sets the target attribute of ui5-link- Parameters:
taget
- taget of link - see HTML docs for meaning
-
setDisabled
public void setDisabled(boolean disabled)
-
setDesign
public void setDesign(Ui5Link.Design design)
sets the design attribute of ui5-link- Parameters:
design
- design
-
setWrap
public void setWrap(boolean wrap)
sets the wrap attribute of ui5-link- Parameters:
wrap
- true when the link text should wrap if there is not enough space
-
-