org.sphix

package org.sphix

Members list

Type members

Classlikes

class ChangeObserver[A, U](observableValues: Seq[ObservableValue[A]], f: (ObservableValue[_ <: A], A, A) => U) extends ChangeObserverLike[A]

Attributes

Supertypes
trait Observer
trait ChangeListener[A]
class Object
trait Matchable
class Any
Show all
abstract class ChangeObserverLike[A](observableValues: Seq[ObservableValue[A]]) extends ChangeListener[A], Observer

Attributes

Supertypes
trait Observer
trait ChangeListener[A]
class Object
trait Matchable
class Any
Known subtypes
class ChangeObserver[A, U]
abstract class Filter[A](val observables: Observable*) extends ObjectBinding[A => Boolean]

Attributes

Supertypes
class ObjectBinding[A => Boolean]
trait Binding[A => Boolean]
class ObjectExpression[A => Boolean]
trait ObservableObjectValue[A => Boolean]
trait ObservableValue[A => Boolean]
trait Observable
class Object
trait Matchable
class Any
Show all
Self type
Filter[A]
abstract class Func[A](dependencies0: Observable*) extends ObjectBinding[A]

Attributes

Supertypes
class ObjectBinding[A]
trait Binding[A]
class ObjectExpression[A]
trait ObservableObjectValue[A]
trait ObservableValue[A]
trait Observable
class Object
trait Matchable
class Any
Show all
case class FutureVal[A](future: Future[A])(implicit ec: ExecutionContext) extends FirableVal[Option[Try[A]]]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait FirableVal[Option[Try[A]]]
trait ValImpl[Option[Try[A]]]
trait ObservableValue[Option[Try[A]]]
trait Observable
class Object
trait Matchable
class Any
Show all
trait InvalidReason(val defaultText: String)

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object InvalidReason

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
class InvalidationObserver[U](observables: Seq[Observable], f: Observable => U) extends InvalidationObserverBase

Attributes

Supertypes
trait Observer
trait InvalidationListener
class Object
trait Matchable
class Any
Show all
abstract class InvalidationObserverBase(observables: Seq[Observable]) extends InvalidationListener, Observer

Attributes

Supertypes
trait Observer
trait InvalidationListener
class Object
trait Matchable
class Any
Known subtypes
class Observables(observables: Iterable[Observable]) extends Observable

Attributes

Supertypes
trait Observable
class Object
trait Matchable
class Any
trait Observer

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
abstract class SimpleApp(title: Option[String]) extends Application

Attributes

Supertypes
class Application
class Object
trait Matchable
class Any
abstract class SimpleApp2(title: Option[String]) extends Application

Attributes

Supertypes
class Application
class Object
trait Matchable
class Any
enum Status

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Status

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Status.type
opaque object Val

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Val.type
enum Value[+A]

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Valid[A]
class Invalid
object Value

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Value.type
object Var

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Var.type

Types

type Val[A] = ObservableValue[A]
type Var[A] = Property[A]

Extensions

Extensions

extension (observable: Observable)
def observe[U](f: => U): Unit
def onInvalidation[U](f: Observable => U): Unit
extension (observables: Iterable[Observable])
def observe[U](f: => U): Unit
def onInvalidation[U](f: Observable => U): Unit
extension [A](ol: ObservableList[A])
def asVal: ObservableValue[List[A]]
extension [Tup <: Tuple](tup: Tup)(using Union[Tup] <:< Observable)
def applyN[B](f: Tup => B): ObservableValue[B]
def observeN[U](f: => U): Unit
def onInvalidationN[U](f: Observable => U): Unit
extension [Tup <: Tuple](tup: Tup)(using Union[Tup] <:< ObservableValue[_])
def flatMapN[B](f: (InverseMap[Tup, Val]) => ObservableValue[B]): ObservableValue[B]
def mapN[B](f: (InverseMap[Tup, Val]) => B): ObservableValue[B]
def onValueN[U](f: (InverseMap[Tup, Val]) => U): Unit
def tupled: ObservableValue[InverseMap[Tup, Val]]
extension [A](v: Property[A])
def <==(that: ObservableValue[A]): Unit
def <==>[B](that: Property[B])(using bidir: BidirectionalFunction[A, B]): BidirectionalConverterBinding[A, B]
def <=~=>[B](that: Property[B])(using converter: Converter[A, B]): BidirectionalConverterBinding[A, B]
def update(x: A): Unit
extension [A](x: A)
def toVal: ObservableValue[A]
extension [A](x: ObservableValue[A])
def apply(): A
def as[B](using f: A => B): ObservableValue[B]
def delayed(using delayTime: DelayTime): ObservableValue[A]

Delays propagation of the observable value for the given duration.

Delays propagation of the observable value for the given duration.

Attributes

def flatten[B](implicit ev: A <:< ObservableValue[B]): ObservableValue[B]
def mapOption: ObservableValue[Option[A]]
def on[U](value: A)(f: => U): Observer
def onChange[U](f: (ObservableValue[_ <: A], A, A) => U): Observer
def onValue[U](f: A => U): Observer
extension [A](xs: Iterable[ObservableValue[A]])
def mapSeq[B](f: (Iterable[A]) => B): ObservableValue[B]