public class BaseInformationBuilder extends Object implements InformationBuilder
Modifier and Type | Class and Description |
---|---|
protected class |
BaseInformationBuilder.BasePropertyElement |
protected class |
BaseInformationBuilder.BaseRawElement |
protected class |
BaseInformationBuilder.BaseTextElement |
protected class |
BaseInformationBuilder.BaseTitleElement |
InformationBuilder.Element, InformationBuilder.PropertyElement, InformationBuilder.RawElement, InformationBuilder.TextElement, InformationBuilder.TitleElement
Modifier and Type | Field and Description |
---|---|
protected List<InformationBuilder.Element> |
elements |
protected int |
propertyCount |
Constructor and Description |
---|
BaseInformationBuilder() |
Modifier and Type | Method and Description |
---|---|
InformationBuilder |
backgroundColor(String color) |
InformationBuilder |
backgroundColorPropertyLabel(String color) |
InformationBuilder |
backgroundColorPropertyValue1(String color) |
InformationBuilder |
backgroundColorPropertyValue2(String color) |
InformationBuilder |
backgroundColorTitle(String color) |
String |
build() |
InformationBuilder.PropertyElement |
property() |
InformationBuilder.RawElement |
raw() |
InformationBuilder.TextElement |
text() |
InformationBuilder.TitleElement |
title() |
String |
toString() |
protected int propertyCount
protected final List<InformationBuilder.Element> elements
public InformationBuilder backgroundColor(String color)
backgroundColor
in interface InformationBuilder
public InformationBuilder backgroundColorTitle(String color)
backgroundColorTitle
in interface InformationBuilder
public InformationBuilder backgroundColorPropertyLabel(String color)
backgroundColorPropertyLabel
in interface InformationBuilder
public InformationBuilder backgroundColorPropertyValue1(String color)
backgroundColorPropertyValue1
in interface InformationBuilder
public InformationBuilder backgroundColorPropertyValue2(String color)
backgroundColorPropertyValue2
in interface InformationBuilder
public InformationBuilder.TitleElement title()
title
in interface InformationBuilder
public InformationBuilder.PropertyElement property()
property
in interface InformationBuilder
public InformationBuilder.TextElement text()
text
in interface InformationBuilder
public InformationBuilder.RawElement raw()
raw
in interface InformationBuilder
public String build()
build
in interface InformationBuilder