@Beta public class CardContent extends Object
Constructor and Description |
---|
CardContent() |
Modifier and Type | Method and Description |
---|---|
List<Button> |
getButtons()
returns the buttons which are displayed in this card
|
String |
getImageUrl()
This function returns the URL to the image which is displayed in this card.
|
String |
getSubtitle()
This function returns the current subtitle of the card.
|
String |
getTitle()
This function returns the title of the card
|
void |
setButtons(List<Button> buttons)
This function allows to set a button collection to be displayed in this card.
|
void |
setImageUrl(String imageUrl)
This function lets the user specify the url of an image to be displayed
|
void |
setSubtitle(String subtitle)
This function sets the value of the subtitle to the specified String.
|
void |
setTitle(String title)
Function sets the title to the specified String.
|
@Nullable public String getTitle()
public void setTitle(@Nullable String title)
title
- sets title of the card@Nullable public String getSubtitle()
public void setSubtitle(@Nullable String subtitle)
subtitle
- subtitle of the card@Nullable public String getImageUrl()
public void setImageUrl(@Nullable String imageUrl)
imageUrl
- the url to the image@Nullable public List<Button> getButtons()
Copyright © 2020 SAP SE. All rights reserved.