Package-level declarations

Types

Link copied to clipboard
class ObservableProperty<T>(val name: String, val internalSet: (T) -> Unit, val internalGet: () -> T)
Link copied to clipboard
Link copied to clipboard
class ViewAction(val name: String, val action: Views.(instance: Any) -> Unit)

Used by the debugger to make a button to appear

Link copied to clipboard
class ViewActionList(val actions: List<ViewAction>)
Link copied to clipboard
annotation class ViewProperty(val min: Double = 0.0, val max: Double = 2000.0, val clampMin: Boolean = false, val clampMax: Boolean = false, val decimalPlaces: Int = 2, val groupName: String = "", val order: Int = 0, val name: String = "", val editable: Boolean = true)

Used by the debugger to make a property to appear in the debug panel.

Link copied to clipboard
annotation class ViewPropertyFileRef(val extensions: Array<String>)
Link copied to clipboard
annotation class ViewPropertyProvider(val provider: KClass<out ViewPropertyProvider.Impl<*, *>>)
Link copied to clipboard
annotation class ViewPropertySubTree

Functions

Link copied to clipboard
@JvmName(name = "ObservablePropertyRatio_toDouble")
fun ObservableProperty<Ratio>.toDouble(): ObservableProperty<Double>
@JvmName(name = "ObservablePropertyFloat_toDouble")
fun ObservableProperty<Float>.toDouble(): ObservableProperty<Double>
Link copied to clipboard
fun <T, R> ObservableProperty<T>.transform(convert: (T) -> R, rconvert: (R) -> T): ObservableProperty<R>