-
public final class CallCompositeCustomButtonViewData
Call composite custom button view data.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
id
private int
drawableId
private String
title
private final CallCompositeEventHandler<CallCompositeCustomButtonClickEvent>
onClickHandler
private Boolean
isEnabled
private Boolean
isVisible
-
Constructor Summary
Constructors Constructor Description CallCompositeCustomButtonViewData(String id, int drawableId, String title, CallCompositeEventHandler<CallCompositeCustomButtonClickEvent> onClickHandler)
Create call composite custom button view data.
-
Method Summary
Modifier and Type Method Description String
getId()
Get button id. int
getDrawableId()
Get an icon for the button. CallCompositeCustomButtonViewData
setDrawableId(int drawableId)
Set drawableId property. String
getTitle()
Get an title for the button. CallCompositeCustomButtonViewData
setTitle(String title)
Set title property. CallCompositeEventHandler<CallCompositeCustomButtonClickEvent>
getOnClickHandler()
Get an on click handler for the button. Boolean
isEnabled()
Get isEnabled property. Boolean
isVisible()
Get isVisible property. CallCompositeCustomButtonViewData
setEnabled(Boolean isEnabled)
Set isEnabled property. CallCompositeCustomButtonViewData
setVisible(Boolean isVisible)
Set isVisible property. -
-
Constructor Detail
-
CallCompositeCustomButtonViewData
CallCompositeCustomButtonViewData(String id, int drawableId, String title, CallCompositeEventHandler<CallCompositeCustomButtonClickEvent> onClickHandler)
Create call composite custom button view data.- Parameters:
id
- button id.drawableId
- an icon for the button.title
- a text to be displayed on the button.onClickHandler
- button on click handler.
-
-
Method Detail
-
getDrawableId
int getDrawableId()
Get an icon for the button.
-
setDrawableId
CallCompositeCustomButtonViewData setDrawableId(int drawableId)
Set drawableId property.
-
setTitle
CallCompositeCustomButtonViewData setTitle(String title)
Set title property.
-
getOnClickHandler
CallCompositeEventHandler<CallCompositeCustomButtonClickEvent> getOnClickHandler()
Get an on click handler for the button.
-
setEnabled
CallCompositeCustomButtonViewData setEnabled(Boolean isEnabled)
Set isEnabled property.
-
setVisible
CallCompositeCustomButtonViewData setVisible(Boolean isVisible)
Set isVisible property.
-
-
-
-