public class CallToActionNested extends Button implements Serializable
| Constructor and Description |
|---|
CallToActionNested(String title)
Instantiates a new call to action.
|
CallToActionNested(String title,
ButtonType type)
Instantiates a new call to action.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCallToActionButton(Button postBackButton)
Adds the call to action button.
|
List<Button> |
getCallToActions()
Gets the call to actions.
|
String |
getTitle()
Gets the title.
|
ButtonType |
getType()
Gets the type.
|
void |
setCallToActionButtons(List<Button> callToActions)
Sets the call to action buttons.
|
void |
setCallToActions(List<Button> callToActions)
Sets the call to actions.
|
void |
setTitle(String title)
Sets the title.
|
void |
setType(ButtonType type)
Sets the type.
|
public CallToActionNested(String title)
title - the titlepublic CallToActionNested(String title, ButtonType type)
title - the titletype - the typepublic String getTitle()
public void setTitle(String title)
title - the new titlepublic void setType(ButtonType type)
Buttonpublic ButtonType getType()
Buttonpublic List<Button> getCallToActions()
public void setCallToActions(List<Button> callToActions)
callToActions - the new call to actionspublic void setCallToActionButtons(List<Button> callToActions)
callToActions - the new call to action buttonspublic void addCallToActionButton(Button postBackButton)
postBackButton - the post back buttonCopyright © 2017 BotMill. All rights reserved.