Content Text
data class ContentText(text: String, dci: DCI, sourceSets: Set<DisplaySourceSet>, style: Set<Style>, extra: PropertyContainer<ContentNode>) : ContentNode
Content copied to clipboard
Simple text
Constructors
ContentText
Link copied to clipboard
fun ContentText(text: String, dci: DCI, sourceSets: Set<DisplaySourceSet>, style: Set<Style> = emptySet(), extra: PropertyContainer<ContentNode> = PropertyContainer.empty())
Content copied to clipboard
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
copy
Link copied to clipboard
fun copy(text: String, dci: DCI, sourceSets: Set<DisplaySourceSet>, style: Set<Style> = emptySet(), extra: PropertyContainer<ContentNode> = PropertyContainer.empty()): ContentText
Content copied to clipboard
hasAnyContent
Link copied to clipboard
withNewExtras
Link copied to clipboard
open override fun withNewExtras(newExtras: PropertyContainer<ContentNode>): ContentText
Content copied to clipboard
withSourceSets
Link copied to clipboard
open override fun withSourceSets(sourceSets: Set<DisplaySourceSet>): ContentText
Content copied to clipboard
Properties
children
Link copied to clipboard
extra
Link copied to clipboard
sourceSets
Link copied to clipboard