StylableOptionalContentDisplayProperty

Boilerplate which avoids having to use generics.

A subclass of SimpleOptionalContentDisplayProperty, which also stores the pre-styled value, so that if the style is removed, then the pre-styled value can be reinstated.

Constructors

Link copied to clipboard
constructor(initialValue: ContentDisplay?, bean: Any? = null, beanName: String? = null)

Properties

Link copied to clipboard
open override val bean: Any?
Link copied to clipboard
open override val beanName: String?
Link copied to clipboard
open override var value: ContentDisplay?

Functions

Link copied to clipboard
open override fun addBindListener(listener: InvalidationListener)
Link copied to clipboard
open override fun addListener(listener: InvalidationListener)
Link copied to clipboard
Link copied to clipboard

Returns a read-only view of this mutable OptionalContentDisplayProperty. Typical usage :

Link copied to clipboard
open override fun <B> bidirectionalBind(other: Property<B>, converter: Converter<ContentDisplay?, B>): BidirectionalBind
Link copied to clipboard
open override fun bidirectionalUnbind(other: Property<*>?)
Link copied to clipboard
open fun <T : ContentDisplay?> bindCastTo(bindTo: ObservableValue<T>)
Link copied to clipboard
open override fun bindTo(to: ObservableValue<ContentDisplay?>)
Link copied to clipboard
Link copied to clipboard
open operator fun getValue(thisRef: Any, kProperty: KProperty<*>): ContentDisplay?
Link copied to clipboard
open override fun isBound(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun kclass(): KClass<*>

Returns the Class for this Property's value, or null if bean or beanName have not been specified.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun removeListener(listener: InvalidationListener)
Link copied to clipboard
open override fun revert()
Link copied to clipboard
open operator fun setValue(thisRef: Any, kProperty: KProperty<*>, newValue: ContentDisplay?)
Link copied to clipboard
open override fun style(newValue: Any)

A type UNSAFE way to set the value by te Theme. If newValue is the wrong type, an ClassCastException will be thrown.

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun unbind()