Interface LayoutBuilder
public interface LayoutBuilder
Layout builder.
- 
Method SummaryModifier and TypeMethodDescriptionaddSection(SectionViewBuilder section) Add new section builder into layout.addSections(SectionViewBuilder... sectionViewBuilders) Add new section builders into layout.Get the description of the layout.getName()Get the name of the layout.Get all section view buildersRemove all sections of the layout.setDescription(String description) Set the description of the layout.Set the name of the layout.setSections(List<SectionViewBuilder> sections) Set section builders into layout.
- 
Method Details- 
getNameString getName()Get the name of the layout.- Returns:
- the name of the layout
 
- 
setNameSet the name of the layout.- Parameters:
- name- the name of the layout
- Returns:
- the layout builder itself
 
- 
getDescriptionString getDescription()Get the description of the layout.- Returns:
- the description of the layout
 
- 
setDescriptionSet the description of the layout.- Parameters:
- description- the description of the layout
- Returns:
- the layout builder itself
 
- 
getSectionsList<SectionViewBuilder> getSections()Get all section view builders- Returns:
- list of section view builder
 
- 
addSectionAdd new section builder into layout. Keeps the insertion order- Parameters:
- section- section view builder
- Returns:
- LayoutBuilder
 
- 
addSectionsAdd new section builders into layout. Keep the insert order- Parameters:
- sectionViewBuilders-
- Returns:
- LayoutBuilder
 
- 
setSectionsSet section builders into layout. Keeps the insertion order- Parameters:
- sections- list of section view builder
- Returns:
- LayoutBuilder
 
- 
removeAllSectionsLayoutBuilder removeAllSections()Remove all sections of the layout.- Returns:
- the layout builder itself
 
 
-