Class

io.udash.properties

TransformedProperty

Related Doc: package properties

Permalink

class TransformedProperty[A, B] extends TransformedReadableProperty[A, B] with Property[B]

Represents Property[A] transformed to Property[B].

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransformedProperty
  2. Property
  3. TransformedReadableProperty
  4. ReadableProperty
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TransformedProperty(origin: Property[A], transformer: (A) ⇒ B, revert: (B) ⇒ A, id: UUID)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addValidator(v: Validator[B]): utils.Registration

    Permalink

    Adds new validator and clears current validation result.

    Adds new validator and clears current validation result. It does not fire validation process.

    Definition Classes
    TransformedPropertyProperty
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def combine[B, O](property: Property[B])(combiner: (B, B) ⇒ O)(implicit arg0: ModelValue[O]): Property[O]

    Permalink
    Definition Classes
    ReadableProperty
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. implicit def executionContext: ExecutionContext

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    TransformedReadablePropertyReadableProperty
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def fireValueListeners(): Unit

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    TransformedReadablePropertyReadableProperty
  13. def get: B

    Permalink

    returns

    Current property value.

    Definition Classes
    TransformedReadablePropertyReadableProperty
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. val id: UUID

    Permalink

    Unique property ID.

    Unique property ID.

    Definition Classes
    TransformedPropertyTransformedReadablePropertyReadableProperty
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def isValid: Future[ValidationResult]

    Permalink

    returns

    validation result as Future, which will be completed on the validation process ending. It can fire validation process if needed.

    Definition Classes
    ReadableProperty
  19. def listen(l: (B) ⇒ Any): utils.Registration

    Permalink

    Registers listener which will be called on value change.

    Registers listener which will be called on value change.

    Definition Classes
    TransformedReadablePropertyReadableProperty
  20. val listeners: Set[(B) ⇒ Any]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ReadableProperty
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def parent: Property[_]

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    TransformedReadablePropertyReadableProperty
  25. def set(t: B): Unit

    Permalink

    Changes current property value.

    Changes current property value. Fires value change listeners.

    Definition Classes
    TransformedPropertyProperty
  26. def setInitValue(t: B): Unit

    Permalink

    Changes current property value.

    Changes current property value. Does not fire value change listeners.

    Definition Classes
    TransformedPropertyProperty
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. def transform[B](transformer: (B) ⇒ B, revert: (B) ⇒ B): Property[B]

    Permalink

    Creates Property[B] linked to this.

    Creates Property[B] linked to this. Changes will be bidirectionally synchronized between this and new property.

    B

    Type of new Property.

    transformer

    Method transforming type A of existing Property to type B of new Property.

    revert

    Method transforming type B of new Property to type A of existing Property.

    returns

    New Property[B], which will be synchronised with original Property[A].

    Definition Classes
    Property
  30. def transform[B](transformer: (B) ⇒ B): ReadableProperty[B]

    Permalink

    Creates ReadableProperty[B] linked to this.

    Creates ReadableProperty[B] linked to this. Changes will be bidirectionally synchronized between this and new property.

    B

    Type of new Property.

    transformer

    Method transforming type A of existing Property to type B of new Property.

    returns

    New ReadableProperty[B], which will be synchronised with original ReadableProperty[A].

    Definition Classes
    ReadableProperty
  31. def validate(): Unit

    Permalink
  32. var validationResult: Future[ValidationResult]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ReadableProperty
  33. val validators: Set[Validator[B]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ReadableProperty
  34. def valueChanged(): Unit

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    TransformedReadablePropertyReadableProperty
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Property[B]

Inherited from TransformedReadableProperty[A, B]

Inherited from ReadableProperty[B]

Inherited from AnyRef

Inherited from Any

Ungrouped