Trait/Object

io.udash.properties.seq

SeqProperty

Related Docs: object SeqProperty | package seq

Permalink

trait SeqProperty[A, +ElemType <: single.Property[A]] extends ReadableSeqProperty[A, ElemType] with single.Property[Seq[A]]

Linear Supertypes
single.Property[Seq[A]], ReadableSeqProperty[A, ElemType], single.ReadableProperty[Seq[A]], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SeqProperty
  2. Property
  3. ReadableSeqProperty
  4. ReadableProperty
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def elemProperties: Seq[ElemType]

    Permalink

    returns

    Sequence of child properties.

    Definition Classes
    ReadableSeqProperty
  2. implicit abstract def executionContext: ExecutionContext

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty
  3. abstract def get: Seq[A]

    Permalink

    returns

    Current property value.

    Definition Classes
    ReadableProperty
  4. abstract val id: UUID

    Permalink

    Unique property ID.

    Unique property ID.

    Definition Classes
    ReadableProperty
  5. abstract def listenStructure(l: (Patch[ElemType]) ⇒ 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
    ReadableSeqProperty
  6. abstract def parent: single.ReadableProperty[_]

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty
  7. abstract def replace(idx: Int, amount: Int, values: A*): Unit

    Permalink

    Replaces amount elements from index idx with provided values.

  8. abstract def set(t: Seq[A]): Unit

    Permalink

    Changes current property value.

    Changes current property value. Fires value change listeners.

    t

    Should not be null!

    Definition Classes
    Property
  9. abstract def setInitValue(t: Seq[A]): Unit

    Permalink

    Changes current property value.

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

    Definition Classes
    Property
  10. abstract def touch(): Unit

    Permalink

    Fires value change listeners with current value and clears validation result.

    Fires value change listeners with current value and clears validation result.

    Definition Classes
    Property

Concrete 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(f: (Seq[A]) ⇒ ValidationResult): 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 addValidator(v: Validator[Seq[A]]): 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
  6. def append(values: A*): Unit

    Permalink

    Adds values at the end of the sequence.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clear(): Unit

    Permalink

    Removes all elements from this SeqProperty.

  9. def clearValidators(): Unit

    Permalink

    Removes all validators from property and clears current validation result.

    Removes all validators from property and clears current validation result. It does not fire validation process.

    Definition Classes
    Property
  10. def clone(): AnyRef

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

    Permalink

    Combines every element of this SeqProperty with provided Property creating new ReadableSeqProperty as the result.

    Combines every element of this SeqProperty with provided Property creating new ReadableSeqProperty as the result.

    Definition Classes
    ReadableSeqProperty
  12. def combine[B, O](property: single.ReadableProperty[B], combinedParent: single.ReadableProperty[_] = null)(combiner: (Seq[A], B) ⇒ O)(implicit arg0: ModelValue[O]): single.ReadableProperty[O]

    Permalink

    Combines two properties into a new one.

    Combines two properties into a new one. Created property will be updated after any change in the origin ones.

    B

    Type of elements in provided property.

    O

    Output property elements type.

    property

    Property[B] to combine with this.

    combinedParent

    Parent of combined property, null by default.

    combiner

    Method combining values A and B into O.

    returns

    Property[O] updated on any change in this or property.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def filter(matcher: (A) ⇒ Boolean): ReadableSeqProperty[A, _ <: ElemType]

    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
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def fireElementsListeners[ItemType <: single.ReadableProperty[A]](patch: Patch[ItemType], structureListeners: Iterable[(Patch[ItemType]) ⇒ Any]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ReadableSeqProperty
  18. def fireValueListeners(): Unit

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty
  19. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def insert(idx: Int, values: A*): Unit

    Permalink

    Inserts values on index idx.

  22. def isEmpty: Boolean

    Permalink

    Tests whether this traversable collection is empty.

    Tests whether this traversable collection is empty.

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

    Permalink
    Definition Classes
    Any
  24. 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
  25. def length: Int

    Permalink

    The size of this sequence.

    The size of this sequence.

    Definition Classes
    ReadableSeqProperty
  26. def listen(l: (Seq[A]) ⇒ Any): utils.Registration

    Permalink

    Registers listener which will be called on value change.

    Registers listener which will be called on value change.

    Definition Classes
    ReadableProperty
  27. val listeners: Set[(Seq[A]) ⇒ 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 prepend(values: A*): Unit

    Permalink

    Adds values at the begging of the sequence.

  33. def remove(value: A): Unit

    Permalink

    Removes first occurrence of value.

  34. def remove(idx: Int, amount: Int): Unit

    Permalink

    Removes amount elements starting from index idx.

  35. def reversed(): SeqProperty[A, single.Property[A]]

    Permalink

    Creates SeqProperty[A] providing reversed order of elements from this.

    Creates SeqProperty[A] providing reversed order of elements from this.

    Definition Classes
    SeqPropertyReadableSeqProperty
  36. def size: Int

    Permalink

    The size of this sequence, equivalent to length.

    The size of this sequence, equivalent to length.

    Definition Classes
    ReadableSeqProperty
  37. def streamTo[B](target: single.Property[B], initUpdate: Boolean = true)(transformer: (Seq[A]) ⇒ B): utils.Registration

    Permalink

    Streams value changes to the target property.

    Streams value changes to the target property. It is not as strong relation as transform, because target can change value independently.

    Definition Classes
    ReadableProperty
  38. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  40. def transform[B](transformer: (A) ⇒ B, revert: (B) ⇒ A): SeqProperty[B, single.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].

  41. def transform[B](transformer: (Seq[A]) ⇒ B, revert: (B) ⇒ Seq[A]): single.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
  42. def transform[B](transformer: (A) ⇒ B): ReadableSeqProperty[B, single.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
  43. def transform[B](transformer: (Seq[A]) ⇒ B): single.ReadableProperty[B]

    Permalink

    Creates ReadableProperty[B] linked to this.

    Creates ReadableProperty[B] linked to this. Changes will be synchronized with this.

    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
  44. def transformToSeq[B](transformer: (Seq[A]) ⇒ Seq[B], revert: (Seq[B]) ⇒ Seq[A])(implicit arg0: ModelValue[B]): SeqProperty[B, single.Property[B]]

    Permalink

    Creates SeqProperty[B] linked to this.

    Creates SeqProperty[B] linked to this. Changes will be synchronized with this in both directions.

    B

    Type of elements in new SeqProperty.

    transformer

    Method transforming type A of existing Property to type Seq[B] of new Property.

    revert

    Method transforming type Seq[B] to A.

    returns

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

    Definition Classes
    Property
  45. def transformToSeq[B](transformer: (Seq[A]) ⇒ Seq[B])(implicit arg0: ModelValue[B]): ReadableSeqProperty[B, single.ReadableProperty[B]]

    Permalink

    Creates ReadableSeqProperty[B] linked to this.

    Creates ReadableSeqProperty[B] linked to this. Changes will be synchronized with this.

    B

    Type of elements in new SeqProperty.

    transformer

    Method transforming type A of existing Property to type Seq[B] of new Property.

    returns

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

    Definition Classes
    ReadableProperty
  46. lazy val valid: single.ReadableProperty[ValidationResult]

    Permalink

    Property containing validation result.

    Property containing validation result.

    Definition Classes
    ReadableProperty
  47. def validate(): Unit

    Permalink
    Attributes
    protected[io.udash.properties]
    Definition Classes
    ReadableProperty
  48. lazy val validationProperty: ValidationProperty[Seq[A]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ReadableProperty
  49. var validationResult: Future[ValidationResult]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. def zip[B, O](property: ReadableSeqProperty[B, single.ReadableProperty[B]])(combiner: (A, B) ⇒ O)(implicit arg0: ModelValue[O]): ReadableSeqProperty[O, single.ReadableProperty[O]]

    Permalink

    Zips elements from this and provided property by combining every pair using provided combiner.

    Zips elements from this and provided property by combining every pair using provided combiner.

    Definition Classes
    ReadableSeqProperty
  56. def zipAll[B, O](property: ReadableSeqProperty[B, single.ReadableProperty[B]])(combiner: (A, B) ⇒ O, defaultA: single.ReadableProperty[A], defaultB: single.ReadableProperty[B])(implicit arg0: ModelValue[O]): ReadableSeqProperty[O, single.ReadableProperty[O]]

    Permalink

    Zips elements from this and provided property by combining every pair using provided combiner.

    Zips elements from this and provided property by combining every pair using provided combiner. Uses defaultA and defaultB to fill smaller sequence.

    Definition Classes
    ReadableSeqProperty
  57. lazy val zipWithIndex: ReadableSeqProperty[(A, Int), single.ReadableProperty[(A, Int)]]

    Permalink

    Zips elements from this SeqProperty with their indexes.

    Zips elements from this SeqProperty with their indexes.

    Definition Classes
    ReadableSeqProperty

Inherited from single.Property[Seq[A]]

Inherited from ReadableSeqProperty[A, ElemType]

Inherited from single.ReadableProperty[Seq[A]]

Inherited from AnyRef

Inherited from Any

Ungrouped