public final class SrnStandardTemplate extends SrnPrimaryTemplate
Modifier and Type | Class and Description |
---|---|
static class |
SrnStandardTemplate.HeaderSizeType
Indicates the size of the header of a standard primary template.
|
Constructor and Description |
---|
SrnStandardTemplate()
Creates a small header template instance with
SrnStandardTemplate.HeaderSizeType.SMALL . |
SrnStandardTemplate(SrnStandardTemplate.HeaderSizeType headerSize)
Creates a template with specific header size.
|
Modifier and Type | Method and Description |
---|---|
void |
setBody(String body)
Sets the body string in the template.
|
void |
setHeaderSize(SrnStandardTemplate.HeaderSizeType headerSize)
Sets the size of the header of the template.
|
void |
setSubHeader(String subHeader)
Sets the sub_header string in the template.
|
setBackgroundColor, setBackgroundImage
public SrnStandardTemplate()
SrnStandardTemplate.HeaderSizeType.SMALL
.public SrnStandardTemplate(SrnStandardTemplate.HeaderSizeType headerSize)
headerSize
- One of SrnStandardTemplate.HeaderSizeType
NullPointerException
- If headerSize is null.public void setSubHeader(String subHeader)
subHeader
- The String
for the sub_headerpublic void setBody(String body)
body
- The String
for the bodypublic void setHeaderSize(SrnStandardTemplate.HeaderSizeType headerSize)
headerSize
- One of SrnStandardTemplate.HeaderSizeType
NullPointerException
- If headerSize is null.Copyright © Samsung Electronics, Co., Ltd. All rights reserved.