Item

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Events
Link copied to clipboard
class PickedEvent(val source: Item)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var data: Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val handlesDoubleClick: Boolean = false
Link copied to clipboard
open val handlesKeyboardFocus: Boolean = false
Link copied to clipboard
open val heightHint: Double?
Link copied to clipboard
var id: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val screenArea: Rectangle
Link copied to clipboard
val screenPosition: Vector2
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val widthHint: Double?

Functions

Link copied to clipboard
Link copied to clipboard
open fun append(element: Element)
Link copied to clipboard
fun Element.button(vararg classes: String, label: String = "button", init: Button.() -> Unit): Button
Link copied to clipboard
fun Element.canvas(vararg classes: String, init: Canvas.() -> Unit): Canvas
Link copied to clipboard
fun childIndex(element: Element): Int?
Link copied to clipboard
fun Element.colorpicker(vararg classes: String, init: Colorpicker.() -> Unit): Colorpicker
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Element.div(vararg classes: String, init: Div.() -> Unit): Div
Link copied to clipboard
open fun draw(drawer: Drawer)
Link copied to clipboard
fun Element.dropdownButton(vararg classes: String, id: String? = null, label: String = "button", init: DropdownButton.() -> Unit): DropdownButton
Link copied to clipboard
inline fun <T> elementWithId(id: String): T?
Link copied to clipboard
Link copied to clipboard
fun Element.envelopeButton(vararg classes: String, init: EnvelopeButton.() -> Unit): EnvelopeButton
Link copied to clipboard
fun Element.envelopeEditor(vararg classes: String, init: EnvelopeEditor.() -> Unit): EnvelopeEditor
Link copied to clipboard
Link copied to clipboard
fun Element.findAll(predicate: (Element) -> Boolean): List<Element>
Link copied to clipboard
Link copied to clipboard
fun findFirst(element: Element, matches: (Element) -> Boolean): Element?
Link copied to clipboard
fun findNext(premise: (Element) -> Boolean): Element?
Link copied to clipboard
fun findPrevious(premise: (Element) -> Boolean): Element?
Link copied to clipboard
Link copied to clipboard
fun Element.h1(vararg classes: String, init: H1.() -> String): H1
Link copied to clipboard
fun Element.h2(vararg classes: String, init: H2.() -> String): H2
Link copied to clipboard
fun Element.h3(vararg classes: String, init: H3.() -> String): H3
Link copied to clipboard
fun <T : Element> Element.initElement(classes: Array<out String>, element: T, init: T.() -> Unit): T
Link copied to clipboard
Link copied to clipboard

Determines whether the current element, or any of its ancestors, has a display style of Display.NONE.

Link copied to clipboard
fun Element.layout(init: Element.() -> Unit)
Link copied to clipboard
fun move(steps: Int)
Link copied to clipboard
fun next(): Element?
Link copied to clipboard
fun Element.p(vararg classes: String, init: P.() -> String): P
Link copied to clipboard
fun picked()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun remove(element: Element)
Link copied to clipboard
Link copied to clipboard
fun root(): Element
Link copied to clipboard
fun Element.sequenceEditor(vararg classes: String, init: SequenceEditor.() -> Unit): SequenceEditor
Link copied to clipboard
fun Element.slider(vararg classes: String, init: Slider.() -> Unit): Slider
Link copied to clipboard
fun Element.slidersVector2(vararg classes: String, init: SlidersVector2.() -> Unit): SlidersVector2
Link copied to clipboard
fun Element.slidersVector3(vararg classes: String, init: SlidersVector3.() -> Unit): SlidersVector3
Link copied to clipboard
fun Element.slidersVector4(vararg classes: String, init: SlidersVector4.() -> Unit): SlidersVector4
Link copied to clipboard
inline fun <T : TextElement> Element.textElement(classes: Array<out String>, init: T.() -> String): T
Link copied to clipboard
fun Element.textfield(vararg classes: String, init: Textfield.() -> Unit): Textfield
Link copied to clipboard
fun Element.toggle(vararg classes: String, init: Toggle.() -> Unit): Toggle
Link copied to clipboard
fun Element.visit(function: Element.() -> Unit)
Link copied to clipboard
fun Element.visitVisible(function: Element.() -> Unit)
Link copied to clipboard
fun <T : Any> Element.watchListDiv(vararg classes: String, watchList: List<T>, builder: WatchListDiv<T>.(T) -> Unit)
Link copied to clipboard
fun <T : Any> Element.watchObjectDiv(vararg classes: String, watchObject: T, builder: WatchObjectDiv<T>.(T) -> Unit): WatchObjectDiv<T>
Link copied to clipboard
fun <T : Any> Element.watchPropertyDiv(vararg classes: String, watchProperty: KMutableProperty0<T>, builder: WatchPropertyDiv<T>.(T) -> Unit)
Link copied to clipboard
fun Element.xyPad(vararg classes: String, init: XYPad.() -> Unit): XYPad