TableOfContents

case class TableOfContents(title: String, id: String, level: Int, parent: Option[TableOfContents], children: ListBuffer[TableOfContents])
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addChild(heading: Heading): TableOfContents
def addChild(childTitle: String, childId: String, level: Int): TableOfContents
def toHTML(fromLevel: Int, toLevel: Int, indent: String): String

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product