SFXDelegate

object SFXDelegate
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def delegateOrNull[J <: Object](wrapper: SFXDelegate[J]): J

Return delegate contained in this wrapper or null. This is useful in situations when passing calling directly JavaFX API that accepts null arguments.

Return delegate contained in this wrapper or null. This is useful in situations when passing calling directly JavaFX API that accepts null arguments.

Call to

 delegateOrNull(wrapper)

is equivalent to

 if (wrapper != null) wrapper.delegate else null
Type Params
J

JavaFX type

Value Params
wrapper

ScalaFX wrapper