Package-level declarations

Types

Link copied to clipboard
class Body(var controlManager: ControlManager?) : Element
Link copied to clipboard
class Button : Element
Link copied to clipboard
class Canvas : Element
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class Div : TextElement
Link copied to clipboard
Link copied to clipboard
open class Element(val type: ElementType) : AutoCloseable
Link copied to clipboard
value class ElementClass(val name: String)
Link copied to clipboard
data class ElementPseudoClass(val name: String) : Record
Link copied to clipboard
data class ElementType(val name: String) : Record
Link copied to clipboard
class Envelope(constant: Double = 0.5) : AutoCloseable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class H1 : TextElement
Link copied to clipboard
class H2 : TextElement
Link copied to clipboard
class H3 : TextElement
Link copied to clipboard
class H4 : TextElement
Link copied to clipboard
class H5 : TextElement
Link copied to clipboard
class Image : Element
Link copied to clipboard
class Item : Element
Link copied to clipboard
Link copied to clipboard
class P : TextElement
Link copied to clipboard
data class Range(val min: Double, val max: Double) : Record
Link copied to clipboard
Link copied to clipboard
open class SequenceEditorBase(type: String = "sequence-editor-base") : Element
Link copied to clipboard
class SlideOut(val x: Double, val y: Double, val width: Double, val height: Double) : Element
Link copied to clipboard
class Slider : Element
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class TextElement(et: ElementType) : Element
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class TextNode(var text: String) : Element
Link copied to clipboard
class Toggle : Element
Link copied to clipboard
class ViewBoxElement(val viewBox: ViewBox) : Element
Link copied to clipboard
class WatchListDiv<T : Any>(watchList: List<T>, builder: WatchListDiv<T>.(T) -> Unit) : Div
Link copied to clipboard
class WatchObjectDiv<T : Any>(val watchObject: T, builder: WatchObjectDiv<T>.(T) -> Unit) : Div
Link copied to clipboard
class WatchPropertyDiv<T : Any>(watchProperty: KMutableProperty0<T>, builder: WatchPropertyDiv<T>.(T) -> Unit) : Div
Link copied to clipboard
class XYPad : Element

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun Colorpicker.bind(property: KMutableProperty0<ColorRGBa>, program: Program? = null): Binding0<Colorpicker.ColorChangedEvent, ColorRGBa>
fun ColorpickerButton.bind(property: KMutableProperty0<ColorRGBa>, program: Program? = null)
fun <E : Enum<E>> DropdownButton.bind(property: KMutableProperty0<E>, map: Map<E, String>)
fun Slider.bind(property: KMutableProperty0<Double>, program: Program? = null): Binding0<Slider.ValueChangedEvent, Double>
@JvmName(name = "bindInt")
fun Slider.bind(property: KMutableProperty0<Int>, program: Program? = null): Binding0<Slider.ValueChangedEvent, Int>
fun SlidersVector2.bind(property: KMutableProperty0<Vector2>, program: Program? = null): Binding0<SlidersVector2.ValueChangedEvent, Vector2>
fun SlidersVector3.bind(property: KMutableProperty0<Vector3>, program: Program? = null): Binding0<SlidersVector3.ValueChangedEvent, Vector3>
fun SlidersVector4.bind(property: KMutableProperty0<Vector4>, program: Program? = null): Binding0<SlidersVector4.ValueChangedEvent, Vector4>
fun TextElement.bind(property: KMutableProperty0<String>, program: Program? = null): Binding0<Unit, String>
fun TextInput.bind(property: KMutableProperty0<String>, program: Program? = null)
fun Textfield.bind(property: KMutableProperty0<String>, program: Program? = null)
fun Toggle.bind(property: KMutableProperty0<Boolean>, program: Program? = null)
fun XYPad.bind(property: KMutableProperty0<Vector2>, program: Program? = null): Binding0<XYPad.ValueChangedEvent, Vector2>
fun Colorpicker.bind(container: Any, property: KMutableProperty1<Any, ColorRGBa>, program: Program? = null): Binding1<Colorpicker.ColorChangedEvent, ColorRGBa>
fun ColorpickerButton.bind(container: Any, property: KMutableProperty1<Any, ColorRGBa>, program: Program? = null)
fun SequenceEditor.bind(container: Any, property: KMutableProperty1<Any, List<Double>>, program: Program? = null): Binding1<SequenceEditor.ValueChangedEvent, List<Double>>
fun Slider.bind(container: Any, property: KMutableProperty1<Any, Double>, program: Program? = null): Binding1<Slider.ValueChangedEvent, Double>
@JvmName(name = "bindInt")
fun Slider.bind(container: Any, property: KMutableProperty1<Any, Int>, program: Program? = null): Binding1<Slider.ValueChangedEvent, Int>
fun SlidersVector2.bind(container: Any, property: KMutableProperty1<Any, Vector2>, program: Program? = null): Binding1<SlidersVector2.ValueChangedEvent, Vector2>
fun SlidersVector3.bind(container: Any, property: KMutableProperty1<Any, Vector3>, program: Program? = null): Binding1<SlidersVector3.ValueChangedEvent, Vector3>
fun SlidersVector4.bind(container: Any, property: KMutableProperty1<Any, Vector4>, program: Program? = null): Binding1<SlidersVector4.ValueChangedEvent, Vector4>
fun TextInput.bind(container: Any, property: KMutableProperty1<Any, String>, program: Program? = null)
fun Textfield.bind(container: Any, property: KMutableProperty1<Any, String>, program: Program? = null)
fun Toggle.bind(container: Any, property: KMutableProperty1<Any, Boolean>, program: Program? = null)
fun XYPad.bind(container: Any, property: KMutableProperty1<Any, Vector2>, program: Program? = null): Binding1<XYPad.ValueChangedEvent, Vector2>
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
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
fun Canvas.draw(f: (Drawer) -> Unit)
Link copied to clipboard
fun Element.dropdownButton(vararg classes: String, id: String? = null, label: String = "button", init: DropdownButton.() -> Unit): DropdownButton
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
fun Element.findAll(predicate: (Element) -> Boolean): List<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
fun DropdownButton.item(init: Item.() -> Unit): Item
Link copied to clipboard
fun Element.label(vararg classes: String, init: Label.() -> String): Label
Link copied to clipboard
fun layout(controlManager: ControlManager, init: Body.() -> Unit): Body
Link copied to clipboard
fun Element.layout(init: Element.() -> Unit)
Link copied to clipboard
fun Element.p(vararg classes: String, init: P.() -> String): P
Link copied to clipboard
Link copied to clipboard
fun Double.round(decimals: Int): Double
Link copied to clipboard
fun Element.sequenceEditor(vararg classes: String, init: SequenceEditor.() -> Unit): SequenceEditor
Link copied to clipboard
fun Element.slideOut(x: Double, y: Double, width: Double, height: Double, vararg classes: String, init: SlideOut.() -> Unit): SlideOut
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
fun Element.style(function: StyleSheet.() -> Unit): StyleSheet

Applies the provided styling function to the element's stylesheet. If the element does not already have a stylesheet, a new one is created and the function is applied to it.

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.textInput(vararg classes: String, init: TextInput.() -> Unit): TextInput
Link copied to clipboard
fun Element.toggle(vararg classes: String, init: Toggle.() -> Unit): Toggle
Link copied to clipboard
fun Element.viewBox(viewBox: ViewBox)
fun Element.viewBox(program: Program, f: ViewBox.() -> Unit): ViewBoxElement
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