SFXDelegate

scalafx.delegate.SFXDelegate
See theSFXDelegate companion trait
object SFXDelegate

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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 parameters

J

JavaFX type

Value parameters

wrapper

ScalaFX wrapper

Attributes