public class BodyTemplate2 extends Template
For layout specifics, please refer to our template documentation.
| Modifier and Type | Class and Description |
|---|---|
static class |
BodyTemplate2.TextContent |
Template.BackButtonBehavior| Constructor and Description |
|---|
BodyTemplate2() |
| Modifier and Type | Method and Description |
|---|---|
Image |
getBackgroundImage()
Returns the background image.
|
Image |
getImage()
Returns the image.
|
BodyTemplate2.TextContent |
getTextContent()
Returns the text content.
|
String |
getTitle()
Returns the title.
|
void |
setBackgroundImage(Image backgroundImage)
Sets the background image.
|
void |
setImage(Image image)
Sets the image.
|
void |
setTextContent(BodyTemplate2.TextContent textContent)
Sets the text content for the template.
|
void |
setTitle(String title)
Sets the title.
|
getBackButtonBehavior, getToken, setBackButtonBehavior, setTokenpublic Image getBackgroundImage()
public void setBackgroundImage(Image backgroundImage)
backgroundImage - the background imagepublic String getTitle()
public void setTitle(String title)
title - the titlepublic Image getImage()
public void setImage(Image image)
image - the imagepublic BodyTemplate2.TextContent getTextContent()
public void setTextContent(BodyTemplate2.TextContent textContent)
textContent - the text contentCopyright © 2017. All rights reserved.