ContentBuilder

papyrus.DSL.builders.ContentBuilder
See theContentBuilder companion object
case class ContentBuilder(var title: Option[Title], layerElements: ListBuffer[LayerElement]) extends Builder[Content]

Builds the content section with an optional title and a list of elements

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Builder[Content]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addLayerElement(element: LayerElement): Unit

Adds a content element (title, image, table, etc.)

Adds a content element (title, image, table, etc.)

Attributes

override def build: Content

Builds the final Content object

Builds the final Content object

Attributes

Definition Classes
def setTitle(newTitle: Title): Unit

Sets title

Sets title

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product