public interface LayoutBuilder
| Modifier and Type | Method and Description |
|---|---|
LayoutBuilder |
addSection(SectionViewBuilder section)
Add new section builder into layout.
|
LayoutBuilder |
addSections(SectionViewBuilder... sectionViewBuilders)
Add new section builders into layout.
|
String |
getDescription()
Get the description of the layout.
|
String |
getName()
Get the name of the layout.
|
List<SectionViewBuilder> |
getSections()
Get all section view builders
|
LayoutBuilder |
removeAllSections()
Remove all sections of the layout.
|
LayoutBuilder |
setDescription(String description)
Set the description of the layout.
|
LayoutBuilder |
setName(String name)
Set the name of the layout.
|
LayoutBuilder |
setSections(List<SectionViewBuilder> sections)
Set section builders into layout.
|
String getName()
LayoutBuilder setName(String name)
name - the name of the layoutString getDescription()
LayoutBuilder setDescription(String description)
description - the description of the layoutList<SectionViewBuilder> getSections()
LayoutBuilder addSection(SectionViewBuilder section)
section - section view builderLayoutBuilder addSections(SectionViewBuilder... sectionViewBuilders)
sectionViewBuilders - LayoutBuilder setSections(List<SectionViewBuilder> sections)
sections - list of section view builderLayoutBuilder removeAllSections()
Copyright © 2022 DEISER. All Rights Reserved.