Text Box Builder
class TextBoxBuilder(initialContentWidth: Int, nextPosition: Position, components: MutableList<Component>) : BaseComponentBuilder<TextBox, TextBoxBuilder>
Content copied to clipboard
Types
Functions
addHeader
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
addInlineComponent
Link copied to clipboard
addInlineText
Link copied to clipboard
addListItem
Link copied to clipboard
addNewLine
Link copied to clipboard
addParagraph
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
@JvmOverloads()
Content copied to clipboard
@JvmOverloads()
Content copied to clipboard
commitInlineElements
Link copied to clipboard
createCopy
Link copied to clipboard
withAlignment
Link copied to clipboard
open override fun withAlignment(alignmentStrategy: AlignmentStrategy): TextBoxBuilder
Content copied to clipboard
withAlignmentAround
Link copied to clipboard
open fun withAlignmentAround(component: Component, alignment: ComponentAlignment): TextBoxBuilder
Content copied to clipboard
withAlignmentWithin
Link copied to clipboard
open fun withAlignmentWithin(container: Container, alignment: ComponentAlignment): TextBoxBuilder
Content copied to clipboard
open fun withAlignmentWithin(tileGrid: TileGrid, alignment: ComponentAlignment): TextBoxBuilder
Content copied to clipboard
withColorTheme
Link copied to clipboard
withComponentRenderer
Link copied to clipboard
open override fun withComponentRenderer(componentRenderer: ComponentRenderer<TextBox>): TextBoxBuilder
Content copied to clipboard
withComponentStyleSet
Link copied to clipboard
open override fun withComponentStyleSet(componentStyleSet: ComponentStyleSet): TextBoxBuilder
Content copied to clipboard
withDecorations
Link copied to clipboard
open override fun withDecorations(vararg renderers: ComponentDecorationRenderer): TextBoxBuilder
Content copied to clipboard
withPosition
Link copied to clipboard
withRendererFunction
Link copied to clipboard
open override fun withRendererFunction(fn: (TileGraphics, ComponentRenderContext<TextBox>) -> Unit): TextBoxBuilder
Content copied to clipboard
withTileset
Link copied to clipboard
withUpdateOnAttach
Link copied to clipboard
open override fun withUpdateOnAttach(updateOnAttach: Boolean): TextBoxBuilder
Content copied to clipboard
Sets if the Component should be updated when it is attached to a parent or not.
Properties
colorTheme
Link copied to clipboard
componentRenderer
Link copied to clipboard
componentStyleSet
Link copied to clipboard
decorationRenderers
Link copied to clipboard
tileset
Link copied to clipboard
updateOnAttach
Link copied to clipboard
Sources
(source)
Link copied to clipboard