Class

io.udash.properties

TransformedSeqProperty

Related Doc: package properties

Permalink

class TransformedSeqProperty[A, B] extends TransformedReadableSeqProperty[A, B, Property[B], Property[A]] with SeqProperty[B, Property[B]]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransformedSeqProperty
  2. SeqProperty
  3. Property
  4. TransformedReadableSeqProperty
  5. ReadableSeqProperty
  6. ReadableProperty
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TransformedSeqProperty(origin: SeqProperty[A, 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[Seq[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
    Property
  5. def append(values: B*): Unit

    Permalink

    Adds values at the end of the sequence.

    Adds values at the end of the sequence.

    Definition Classes
    SeqProperty
  6. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    ReadableProperty
  9. def elemProperties: Seq[Property[B]]

    Permalink

    returns

    Sequence of child properties.

    Definition Classes
    TransformedReadableSeqPropertyReadableSeqProperty
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    TransformedReadableSeqPropertyReadableProperty
  13. def filter(matcher: (B) ⇒ Boolean): ReadableSeqProperty[B, _ <: Property[B]]

    Permalink

    Filters ReadableSeqProperty[A].

    Filters ReadableSeqProperty[A].

    returns

    New ReadableSeqProperty[A] with matched elements, which will be synchronised with original ReadableSeqProperty[A].

    Definition Classes
    ReadableSeqProperty
  14. def finalize(): Unit

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

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    TransformedReadableSeqPropertyReadableProperty
  16. def get: Seq[B]

    Permalink

    returns

    Current property value.

    Definition Classes
    TransformedReadableSeqPropertyReadableProperty
  17. final def getClass(): Class[_]

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

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

    Permalink

    Unique property ID.

    Unique property ID.

    Definition Classes
    TransformedSeqPropertyTransformedReadableSeqPropertyReadableProperty
  20. def insert(idx: Int, values: B*): Unit

    Permalink

    Inserts values on index idx.

    Inserts values on index idx.

    Definition Classes
    SeqProperty
  21. def isEmpty: Boolean

    Permalink

    Tests whether this traversable collection is empty.

    Tests whether this traversable collection is empty.

    Definition Classes
    ReadableSeqProperty
  22. final def isInstanceOf[T0]: Boolean

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

    Permalink

    SeqProperty is valid if all validators return io.udash.properties.Valid and all subproperties are valid.

    SeqProperty is valid if all validators return io.udash.properties.Valid and all subproperties are valid.

    returns

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

    Definition Classes
    ReadableSeqPropertyReadableProperty
  24. def length: Int

    Permalink

    The size of this sequence.

    The size of this sequence.

    Definition Classes
    ReadableSeqProperty
  25. def listen(l: (Seq[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
    TransformedReadableSeqPropertyReadableProperty
  26. def listenStructure(l: (Patch[Property[B]]) ⇒ Any): utils.Registration

    Permalink

    Registers listener, which will be called on every property structure change.

    Registers listener, which will be called on every property structure change.

    Definition Classes
    TransformedReadableSeqPropertyReadableSeqProperty
  27. val listeners: Set[(Seq[B]) ⇒ Any]

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

    Permalink
    Definition Classes
    AnyRef
  29. def nonEmpty: Boolean

    Permalink

    Tests whether this traversable collection is not empty.

    Tests whether this traversable collection is not empty.

    Definition Classes
    ReadableSeqProperty
  30. final def notify(): Unit

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

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

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    TransformedReadableSeqPropertyReadableProperty
  33. def prepend(values: B*): Unit

    Permalink

    Adds values at the begging of the sequence.

    Adds values at the begging of the sequence.

    Definition Classes
    SeqProperty
  34. def remove(value: B): Unit

    Permalink

    Removes first occurrence of value.

    Removes first occurrence of value.

    Definition Classes
    SeqProperty
  35. def remove(idx: Int, amount: Int): Unit

    Permalink

    Removes amount elements starting from index idx.

    Removes amount elements starting from index idx.

    Definition Classes
    SeqProperty
  36. def replace(idx: Int, amount: Int, values: B*): Unit

    Permalink

    Replaces amount elements from index idx with provided values.

    Replaces amount elements from index idx with provided values.

    Definition Classes
    TransformedSeqPropertySeqProperty
  37. def set(t: Seq[B]): Unit

    Permalink

    Changes current property value.

    Changes current property value. Fires value change listeners.

    Definition Classes
    TransformedSeqPropertyProperty
  38. def setInitValue(t: Seq[B]): Unit

    Permalink

    Changes current property value.

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

    Definition Classes
    TransformedSeqPropertyProperty
  39. def size: Int

    Permalink

    The size of this sequence, equivalent to length.

    The size of this sequence, equivalent to length.

    Definition Classes
    ReadableSeqProperty
  40. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink

    Transforms SeqProperty[A] into SeqProperty[B].

    Transforms SeqProperty[A] into SeqProperty[B].

    returns

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

    Definition Classes
    SeqProperty
  43. def transform[B](transformer: (Seq[B]) ⇒ B, revert: (B) ⇒ Seq[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
  44. def transform[B](transformer: (B) ⇒ B): ReadableSeqProperty[B, ReadableProperty[B]]

    Permalink

    Transforms ReadableSeqProperty[A] into ReadableSeqProperty[B].

    Transforms ReadableSeqProperty[A] into ReadableSeqProperty[B].

    returns

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

    Definition Classes
    ReadableSeqProperty
  45. def transform[B](transformer: (Seq[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
  46. def transformElement(el: Property[A]): Property[B]

    Permalink
    Attributes
    protected
    Definition Classes
    TransformedSeqPropertyTransformedReadableSeqProperty
  47. def validate(): Unit

    Permalink
  48. var validationResult: Future[ValidationResult]

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

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

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

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

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

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

Inherited from SeqProperty[B, Property[B]]

Inherited from Property[Seq[B]]

Inherited from TransformedReadableSeqProperty[A, B, Property[B], Property[A]]

Inherited from ReadableSeqProperty[B, Property[B]]

Inherited from ReadableProperty[Seq[B]]

Inherited from AnyRef

Inherited from Any

Ungrouped