CSListItemValuePresetProperty
open class CSListItemValuePresetProperty<T>(parent: CSHasDestruct, preset: CSPreset<*, *>, key: String, val getValues: () -> Collection<T>, val getDefault: () -> T, onChange: (value: T) -> Unit? = null) : CSValuePresetProperty<T> , CSListValuesProperty<T>
Constructors
Link copied to clipboard
constructor(parent: CSHasDestruct, preset: CSPreset<*, *>, key: String, getValues: () -> Collection<T>, getDefault: () -> T, onChange: (value: T) -> Unit? = null)
constructor(parent: CSHasDestruct, preset: CSPreset<*, *>, key: String, values: Collection<T>, default: T, onChange: (value: T) -> Unit? = null)
Properties
Functions
Link copied to clipboard
fun <T> CSHasChangeValue<T>.actionPausedBy(preset: CSPreset<*, *>, function: (T) -> Unit): CSRegistration
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T> CSHasChangeValue<T>.onChangePausedBy(preset: CSPreset<*, *>, function: (T) -> Unit): CSRegistration
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard